github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/storage/testdata/mvcc_histories/deletes (about)

     1  ## A simple txn that deletes.
     2  ## The delete tombstone is placed alongside the previous value, at the newer timestamp.
     3  
     4  run ok
     5  with t=A
     6    txn_begin  ts=44
     7    del   k=a resolve
     8    txn_remove
     9  ----
    10  >> at end:
    11  data: "a"/0.000000044,0 -> /<empty>
    12  
    13  # Show the value disappears from gets.
    14  
    15  run ok
    16  with t=A
    17    txn_begin ts=45
    18    get k=a
    19    txn_remove
    20  ----
    21  get: "a" -> <no data>
    22  >> at end:
    23  
    24  # Show the tombstone.
    25  
    26  run ok
    27  with t=A
    28    txn_begin ts=45
    29    get k=a tombstones
    30    txn_remove
    31  ----
    32  get: "a" -> /<empty> @0.000000044,0
    33  >> at end: