motcha mot@mastodon.motcha.tech

まぁ、現象はさておき…内部のログに潜らないとなんとも…

motcha motcha reblogged at 7 years ago

黒糖の欠片 〜それは名前を盗まれた街の物語〜 BrownSugar@mstdn.maud.io

再試行がtimeoutで溜まり続ける
フォローしようとすると503が出るユーザーが居る
取得できるユーザーは普通に取得できるけど取得できないユーザーは確定でtimeoutする
外部からもフォローに失敗することがあるらしい

motcha mot@mastodon.motcha.tech

本音を言うとすごく寂しい。朝起きたとき、孤独を思い出す。話しかけるべき相手、愛するべき相手のいないことに毎朝空虚な気持ちにさせられる

motcha mot@mastodon.motcha.tech

流石にDCやんな……?

motcha mot@mastodon.motcha.tech

まぁ電源冗長化をしてないとは思えないので、ほんとにヤベェ障害起きたのかね

motcha mot@mastodon.motcha.tech

やはり旗艦サーバはちがった(普通でっかいとこは皆やってると思うけど)

motcha mot@mastodon.motcha.tech

デッタベースちゃんとレプリケーションしてるだけ私の5000000000000000倍えらい

motcha mot@mastodon.motcha.tech

ぽすぐれのActive - Passive切り替えに詳しいニキが求められてますね、これは

motcha mot@mastodon.motcha.tech

Redisは差分が出ちゃったから、なんとか元のデータとがっちゃんこしてなるべく復旧したいけどマージというかなんちゅーかをするメカニズムが効率的に作れてないから時間がかかりそうで…ほうほう…

motcha mot@mastodon.motcha.tech

ぽすぐれについても元のマスタに戻したいようね ふむふむ

motcha motcha reblogged at 7 years ago

Eugen Gargron@mastodon.social

What I still need to do is reconfigure the old, now stale postgres master to be a failover replica. But I might have to go a step further and switch them around again after that because I am seeing non-zero iowait on the current master which makes me suspect the SSD is faulty.

motcha motcha reblogged at 7 years ago

Eugen Gargron@mastodon.social

I previously only used feed building in my development environment on super small test data. That procedure is not optimized, it took 10 hours to complete.

motcha mot@mastodon.motcha.tech

ほー。電源障害でぽすぐれとRedisがダウン、レプリカにフェールオーバーしてそっちがマスタに昇格したからDBは問題ないけど、Redisはレプリケーションしてなかったからゼロから再生成されて…元のサーバが復帰したからRedisを元に戻そうと思ったが…?ってとこね

motcha motcha reblogged at 7 years ago

Eugen Gargron@mastodon.social

Okay, so when I left, Hetzner had a power failure and the postgres and redis master server went down. A failover replica was available and was promoted to new master. Redis was not replicated so was started from scratch and home feeds were regenerated.

When the original server went back online, I had to switch the redis server back over, but now had divergent data. I decided to opt for the older, more full data, and just regenerate up-to-date home feeds on top of it.

motcha mot@mastodon.motcha.tech

新しいスティックを買ったので叩きに行くしかなかろうもんよ

motcha mot@mastodon.motcha.tech

いうたかて時間500円ちょいやから、2時間で1000円やしそれほどね

motcha mot@mastodon.motcha.tech

なお金はどんどんなくなる模様

motcha mot@mastodon.motcha.tech

いい傾向

motcha mot@mastodon.motcha.tech

最近毎週スタジオ行ってる気がして来た

motcha mot@mastodon.motcha.tech

2時5時とかいう半端な時間スタ練とったった