Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manually drop snapshot without running its destructor
this fixes the panic in debug build: thread 'tokio-runtime-worker' panicked at crates/corro-types/src/agent.rs:1306:9: max value was not applied steps to reproduce: - schema CREATE TABLE todos ( id INTEGER NOT NULL PRIMARY KEY, title TEXT NOT NULL DEFAULT '' ); - node A ./corrosion -c corro.toml exec 'INSERT INTO todos (id, title) VALUES (1, "test todo")' - node B ./corrosion -c corro.toml query 'SELECT * FROM todos' ./corrosion -c corro.toml exec 'DELETE FROM todos WHERE id == 1' now node A crashes with assert message `max value was not applied` Signed-off-by: runsisi <runsisi@hust.edu.cn>
- Loading branch information