cultcache-rs: an ungated batch keeps last_read current, pinned
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d61216dd62
commit
b38426c579
1 changed files with 2 additions and 0 deletions
|
|
@ -543,6 +543,8 @@ fn last_read_follows_this_handles_own_writes() {
|
|||
rows.extend(staged(&cache, &[("c", unique("C"))]));
|
||||
cache.put_prepared_batch(rows).unwrap();
|
||||
assert!(cache.delete::<Plain>("p").unwrap());
|
||||
// An ungated batch is a landing the store records too.
|
||||
cache.put_prepared_batch(staged(&cache, &[("q", Plain { value: "q".into() })])).unwrap();
|
||||
cache.put("d", &unique("D")).unwrap();
|
||||
cache.put("a", &unique("A2")).unwrap();
|
||||
assert!(cache.delete::<Unique>("c").unwrap());
|
||||
|
|
|
|||
Loading…
Reference in a new issue