downgrade bgs
issue: 3b6d7f3e6708b5f4343fe80c4c6b958f6b6617fc , e1034c679349116ae826e0e24b6ca7a7e5d09d00
1080-indigo-fedmgr-reconnect-pds-cmd
There was an error in the consistency of the bgs data, so it was reset.
Therefore, the following steps are required.
- new_pds_per_day_limit:
0 -> Rate limiter immediately rejects.
- trusted_domains: Not in the trusted domain list.
- new_subs_disabled:
false, so no problem.
TLに投稿が表示されない場合
原因
bskyサービスがBGSのFirehoseを購読する際、BGSがsince: ""(空文字列)を送信することがある。atprotoのバリデーションはsinceがnullまたは有効なTID形式を要求するため、空文字列でFirehoseValidationErrorが発生し、bskyのRepoSubscriptionが停止する。
RepoSubscriptionが停止すると、BGSからbskyへデータが流れなくなり、TLに投稿が表示されなくなる。
恒久的な修正
210-bgs-since-empty-fix.patchを適用してBGSを再ビルド。このパッチはindexer/indexer.goで空文字列のsinceをnullに正規化する。
一時的な回避策
パッチを適用できない場合、bskyのsubscriptionテーブルにカーソルを挿入して問題のあるseq=1をスキップする