github.com/cockroachdb/pebble@v1.1.2/testdata/iter_histories/merge (about)

     1  # Test semantics of reading merge keys through the database and through a batch,
     2  # both with an iterator and with Get.
     3  
     4  reset merger=appender
     5  ----
     6  
     7  batch name=bar
     8  merge k bar
     9  ----
    10  wrote 1 keys to batch "bar"
    11  
    12  batch commit
    13  merge k foo
    14  ----
    15  committed 1 keys
    16  
    17  combined-iter
    18  seek-ge k
    19  ----
    20  k: (foo, .)
    21  
    22  get
    23  k
    24  ----
    25  k: foo
    26  
    27  combined-iter reader=bar
    28  seek-ge k
    29  seek-prefix-ge k
    30  ----
    31  k: (foobar, .)
    32  k: (foobar, .)
    33  
    34  get reader=bar
    35  k
    36  ----
    37  k: foobar