criccomini
11/15/2025, 1:01 AMalmog
11/15/2025, 1:02 AMcriccomini
11/15/2025, 1:02 AMcriccomini
11/15/2025, 1:04 AMcriccomini
11/15/2025, 1:18 AMcriccomini
11/15/2025, 1:18 AMrunning 1 test
2025-11-15T01:17:52.960752Z INFO slatedb::db::builder: opening SlateDB database [path=tmp/test_sequence_tracker_flush_race, settings={"flush_interval":null,"wal_enabled":true,"manifest_poll_interval":"100ms","manifest_update_timeout":"300s","min_filter_keys":0,"filter_bits_per_key":10,"l0_sst_size_bytes":512,"l0_max_ssts":8,"max_unflushed_bytes":134217728,"compactor_options":null,"compression_codec":null,"object_store_cache_options":{"root_folder":null,"max_cache_size_bytes":17179869184,"part_size_bytes":4194304,"cache_puts":false,"preload_disk_cache_on_startup":null,"scan_interval":"3600s"},"garbage_collector_options":null,"default_ttl":null}]
thread 'db::tests::test_sequence_tracker_not_ahead_of_last_l0_seq_when_flush_races_with_writes' (33092687) panicked at slatedb/src/db.rs:3318:9:
memtable was not frozen before flush
note: run with `RUST_BACKTRACE=1` environment variable to display a backtracecriccomini
11/15/2025, 1:21 AMalmog
11/15/2025, 2:49 AMalmog
11/15/2025, 3:01 AMflush_and_record from PollManifest it works - so I think the race is that a poll manifest causes us to flush immutable memetables.
That does seem a little weird to me, why do we want to flush tables whenever we poll a manifest? Anyway I'll work on fixing that racealmog
11/15/2025, 3:14 AM