ceremonyclient/pebble/testdata/iter_histories/merge

38 lines
438 B
Plaintext
Raw Normal View History

2024-01-03 07:31:42 +00:00
# Test semantics of reading merge keys through the database and through a batch,
# both with an iterator and with Get.
reset merger=appender
----
batch name=bar
merge k bar
----
wrote 1 keys to batch "bar"
batch commit
merge k foo
----
committed 1 keys
combined-iter
seek-ge k
----
k: (foo, .)
get
k
----
k: foo
combined-iter reader=bar
seek-ge k
seek-prefix-ge k
----
k: (foobar, .)
k: (foobar, .)
get reader=bar
k
----
k: foobar