You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a case, if bookie transits to readonly mode for a long time, during readonly, lots of ledgers would be deleted, but because writeCacge.isEmpty(), the index would remain.
After we make the bookie writable, a lot of indexes gathered that need be deleted. put heavy load on RocksDB database
The text was updated successfully, but these errors were encountered:
I have a question about db-storage-cleanup executor, Why indexes and ledgers metadata are cleaned Only when
writeCacge.isEmpty()
bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/ldb/SingleDirectoryDbLedgerStorage.java
Lines 742 to 816 in 4ca4b4e
There is a case, if bookie transits to readonly mode for a long time, during readonly, lots of ledgers would be deleted, but because
writeCacge.isEmpty()
, the index would remain.After we make the bookie writable, a lot of indexes gathered that need be deleted. put heavy load on RocksDB database
The text was updated successfully, but these errors were encountered: