matrix-org/synapse
在 GitHub 查看Add additional debug logging to MultiWriterIdGenerator.__init__ and get_cache_dict
Open
#9,443 创建于 2021年2月18日
O-OccasionalS-TolerableT-Taskgood first issue
仓库指标
- Star
- (11,713 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
We should add debug logging to MultiWriterIdGenerator similar to that in StreamIdGenerator, per https://github.com/matrix-org/synapse/issues/9268#issuecomment-770190320:
If
MultiWriterIdGenerator.__init__andget_cache_dictincluded somelogger.debug, this would be a lot less confusing to diagonose.(I mention
MultiWriterIdGeneratorspecifically, becauseStreamIdGenerator.__init__does write debug, via_load_current_id, and it is quite helpful, and the inconsistency is extra confusing.)