LindaSummer commented on PR #2826: URL: https://github.com/apache/kvrocks/pull/2826#issuecomment-2726175418
> @PragmaTwice I updated the Reset function so that it resets the metadata fields and writes the new metadata back. > > > > From what I understand, this should only clear the high-level info, removing references to the centroids without actually deleting them. The centroids should still exist until compaction eventually cleans them up. > > > > But when I run ``TDIGEST.RESET``, it gets stuck in an infinite loop. Iām not sure why any ideas on what might be causing this? Hi @SharonIV0x86 , Thanks very much for your effort!š If I understand correctly, the compaction is handled by rocksdb and we should delete related keys to free the reference of related keys. In my subkey design, I use a flag prefix for centroid keys. It could be deleted by some method like deletebyprefix. I'm now without a computer by my side, I would provide the function link of prefix deletion today after back home.š Best Regards, Edward -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
