maomeng8344
04/07/2025, 6:10 PMcriccomini
04/07/2025, 11:52 PMcriccomini
04/07/2025, 11:52 PMcriccomini
04/07/2025, 11:54 PMreader.rs implementation. I agree with you that it's complex, however most of it is a copy/paste of the get_with_options method with a couple of tweaks to make it work for multiple keys.
The part that really does concern me is the sorted run part at the bottom of the multi_get_with_options method. That logic is net-new and does indeed look quite complex. I confess I don't fully follow it without comments. I am hoping @maomeng8344 can simplify just that part. I left an idea that might work (not 100% sure, since I don't fully understand the code).criccomini
04/08/2025, 1:20 AMcriccomini
04/08/2025, 1:21 AMflaneur233
04/08/2025, 2:40 AMget_l0 and get_compacted unified in something like a get_sstflaneur233
04/08/2025, 3:09 AMget() in place in the earlier code with some other modifications, which is what i worried the complexity most, now it's a stand-alone mget() code path. i think it will be easier to reason about the correctness of implementation with get_l0 get_compacted extracted, to change them into a multi-key implmentation in local places.maomeng8344
04/08/2025, 3:15 AMflaneur233
04/08/2025, 3:22 AMflaneur233
04/08/2025, 3:24 AMmaomeng8344
04/08/2025, 3:27 AMflaneur233
04/08/2025, 3:28 AMget() has bugs on handling expiration, #537 contains a fix for it. so i'm afraid that making multiple get based on the earlier codebase, may risks to replicate the expiration handling bugmaomeng8344
04/08/2025, 3:52 AMmaomeng8344
04/08/2025, 3:54 AMcriccomini
04/08/2025, 6:01 AMcriccomini
04/08/2025, 6:02 AMflaneur233
04/08/2025, 6:33 AMmaomeng8344
04/09/2025, 2:45 AMflaneur233
04/09/2025, 3:09 AM