badger icon indicating copy to clipboard operation
badger copied to clipboard

when iterate file at GC,not lock logfile file?

Open laohanlinux opened this issue 1 year ago • 4 comments

Question.

Hi,When run GC and the GC's file is FileA, but FileA not lock at GC iterte。If now,some GetRequest hit key also At FileA that changed FileA's file cursor and Interrupt `FileA' iterte file cusort. Is that okay?

laohanlinux avatar Mar 02 '23 03:03 laohanlinux

WeChatWorkScreenshot_8c3fe698-89e1-454c-b54e-68792fe862c4 image

not see any lock

laohanlinux avatar Mar 02 '23 04:03 laohanlinux

Hi there, thanks for filing the issue. Something seems off here to me too. Would it be possible for you to write a test that shows this problem?

mangalaman93 avatar Mar 04 '23 06:03 mangalaman93

Unfortunately, I haven't built the corresponding test scene yet, which is a bit troublesome. However, I'm adapting a Rust Badger implementation and I'm testing this scenario。 https://github.com/laohanlinux/badger-rs

laohanlinux avatar Mar 05 '23 01:03 laohanlinux

@mangalaman93 Hi, The first version have release,implements all the features of badger-go 0.80. https://github.com/laohanlinux/badger-rs

laohanlinux avatar Oct 11 '23 07:10 laohanlinux

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

github-actions[bot] avatar Jul 19 '24 02:07 github-actions[bot]