表较多时,catalog.pb写满1M超过zk节点限制,导致无法写入
Open
- Dominant language
- C++
- Stars
- 1.8k
- Forks
- 352
- PR merge metrics
- No merged PRs in 30d
Description
catalog.pb会因为超过1M导致无法写入,一直在累加版本,却没有清除,代码中没有看到历史版本有何作用,使用的始终是最新的snapshot,看到updateCatalogStatus可以把catalog状态改为PUBLISHED,此时才会清除历史catalog,但是没有看到调用这个接口位置,是否是代码缺失?请问什么时机调用updateCatalogStatus接口,或者有什么方案可以解决catalog.pb写满的问题
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing catalog.pb version accumulation and the updateCatalogStatus entry point, especially the transition to PUBLISHED and its history-cleanup behavior. Determine where that interface should be invoked or how catalog history should be bounded, then verify that catalogs remain writable below the 1M ZooKeeper node limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100