Re: Manual call RocksDB compactRange operation causes CPU to spike to 100%

2022-03-15 Thread Andrey Yegorov
I am on the same page as Enrico: I don't have much experience with RocksDB; as you can see from discussion on the PR https://github.com/apache/bookkeeper/pull/2686#discussion_r613468033 the perf impact was a concern, OTOH the PR is fixing a perf issue a seek time. I searched and found this guide:

Re: Manual call RocksDB compactRange operation causes CPU to spike to 100%

2022-03-15 Thread Enrico Olivelli
Hang, Il giorno mar 15 mar 2022 alle ore 02:47 Hang Chen ha scritto: > > Hi BookKeeper Community, > > For BookKeeper 4.14.0+, I have noticed that index deletion is > sometimes taking around 60 seconds which cause the CPU to spike to > 100% > ``` > [2022-02-28T07:25:42.531Z] INFO db-storage-clea

Manual call RocksDB compactRange operation causes CPU to spike to 100%

2022-03-14 Thread Hang Chen
Hi BookKeeper Community, For BookKeeper 4.14.0+, I have noticed that index deletion is sometimes taking around 60 seconds which cause the CPU to spike to 100% ``` [2022-02-28T07:25:42.531Z] INFO db-storage-cleanup-10-1 EntryLocationIndex:191 Deleting indexes for ledgers: [3385184, 3385239, 33851