ceremonyclient/pebble/replay/testdata/collect/copy_before_clean
Cassandra Heart 2e2a1e4789
v1.2.0 (#31)
2024-01-03 01:31:42 -06:00

52 lines
661 B
Plaintext

start
----
create-manifest filenum=000001
----
flush
000002
----
created src/000002.sst
[JOB 0] flushed 1 memtable (100B) to L0 [000002] (10KB), in 0.1s (0.1s total), output rate 100KB/s
# Wait for 000002.sst to be copied.
wait
----
dst:
000002.sst
MANIFEST-000001
# The file 000002.sst should exist in both src and dst.
ls src dst
----
src:
000002.sst
MANIFEST-000001
dst:
000002.sst
MANIFEST-000001
cmp-files src/000002.sst dst/000002.sst
----
equal
# Now that the file has been copied, a clean should immediately delete it.
clean
src/000002.sst
----
ls src dst
----
src:
MANIFEST-000001
dst:
000002.sst
MANIFEST-000001
stop
----