fix: combined indexer should use key instead of index (#87)

Co-authored-by: yinzefeng.yzf <yinzefeng.yzf@alibaba-inc.com>
This commit is contained in:
lichen2015
2026-02-12 10:38:05 +08:00
committed by GitHub
co-authored by yinzefeng.yzf
parent dc088a4446
commit e7ad7cc31e
6 changed files with 128 additions and 33 deletions
@@ -847,8 +847,8 @@ TEST_F(FlatStreamerTest, TestMaxIndexSize) {
writeCnt1 * 128 * 4 + writeCnt1 * 8 + writeCnt1 * 28 / 32;
LOG_INFO("increment1: %lu, expect_size: %lu", increment1, expect_size);
ASSERT_GT(expect_size, increment1 * 0.8f);
ASSERT_LT(expect_size, increment1 * 1.2f);
ASSERT_GT(expect_size, increment1 * 0.75f);
ASSERT_LT(expect_size, increment1 * 1.25f);
streamer->flush(0UL);
streamer.reset();