Files
seaweedfs/weed/query
Chris LuandClaude Opus 5.5 97cac5f5e5 test: fix mq tests broken by separately merged changes (#13285)
* mq/logstore: rename the tiered copy of a duplicated test name

TestTimeReadWithNothingNewKeepsItsPosition was added in both
merged_read_test.go and merged_read_table_test.go by changes that
merged separately, so the package's tests stopped compiling. The
table-backed one becomes TestTieredTimeReadWithNothingNewKeepsItsPosition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* query engine: make the topic table test's control entry a close marker

The test's offset 5 had no key but kept its value, which was a control
entry before keyless messages became data. Now only an entry with
neither key nor value is skipped, so the baseline scanned that message
in both partitions and counted 22 rows instead of 20. Offset 5 drops its
value too, so it is the close marker the test means.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 04:07:51 -08:00
..