github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/internal/rangekey/testdata/iter (about) 1 define 2 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL) (#8,RANGEKEYUNSET,@1) (#4,RANGEKEYSET,@3,bananas) (#4,RANGEKEYSET,@2,oranges)} 3 c-d:{(#4,RANGEKEYSET,@3,coconut)} 4 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 5 h-j:{(#22,RANGEKEYDEL) (#21,RANGEKEYSET,@5,peaches) (#21,RANGEKEYSET,@3,starfruit)} 6 l-m:{(#2,RANGEKEYUNSET,@9) (#2,RANGEKEYUNSET,@5)} 7 q-z:{(#14,RANGEKEYSET,@9,mangos)} 8 ---- 9 OK 10 11 iter 12 first 13 next 14 next 15 next 16 next 17 next 18 next 19 ---- 20 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 21 c-d:{(#4,RANGEKEYSET,@3,coconut)} 22 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 23 h-j:{(#22,RANGEKEYDEL)} 24 l-m:{(#2,RANGEKEYUNSET,@9) (#2,RANGEKEYUNSET,@5)} 25 q-z:{(#14,RANGEKEYSET,@9,mangos)} 26 <nil> 27 28 iter 29 last 30 prev 31 prev 32 prev 33 prev 34 prev 35 prev 36 ---- 37 q-z:{(#14,RANGEKEYSET,@9,mangos)} 38 l-m:{(#2,RANGEKEYUNSET,@9) (#2,RANGEKEYUNSET,@5)} 39 h-j:{(#22,RANGEKEYDEL)} 40 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 41 c-d:{(#4,RANGEKEYSET,@3,coconut)} 42 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 43 <nil> 44 45 iter 46 seek-ge cat 47 prev 48 next 49 next 50 next 51 ---- 52 c-d:{(#4,RANGEKEYSET,@3,coconut)} 53 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 54 c-d:{(#4,RANGEKEYSET,@3,coconut)} 55 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 56 h-j:{(#22,RANGEKEYDEL)} 57 58 iter 59 seek-ge c 60 prev 61 next 62 next 63 next 64 ---- 65 c-d:{(#4,RANGEKEYSET,@3,coconut)} 66 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 67 c-d:{(#4,RANGEKEYSET,@3,coconut)} 68 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 69 h-j:{(#22,RANGEKEYDEL)} 70 71 iter 72 seek-ge cat 73 seek-ge c 74 prev 75 prev 76 next 77 next 78 next 79 ---- 80 c-d:{(#4,RANGEKEYSET,@3,coconut)} 81 c-d:{(#4,RANGEKEYSET,@3,coconut)} 82 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 83 <nil> 84 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 85 c-d:{(#4,RANGEKEYSET,@3,coconut)} 86 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 87 88 iter 89 seek-ge dog 90 next 91 prev 92 next 93 next 94 next 95 next 96 ---- 97 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 98 h-j:{(#22,RANGEKEYDEL)} 99 e-f:{(#20,RANGEKEYSET,@5,pineapple) (#20,RANGEKEYSET,@3,guava)} 100 h-j:{(#22,RANGEKEYDEL)} 101 l-m:{(#2,RANGEKEYUNSET,@9) (#2,RANGEKEYUNSET,@5)} 102 q-z:{(#14,RANGEKEYSET,@9,mangos)} 103 <nil> 104 105 iter 106 seek-ge a 107 seek-ge ace 108 seek-ge bat 109 seek-ge c 110 ---- 111 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 112 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 113 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 114 c-d:{(#4,RANGEKEYSET,@3,coconut)} 115 116 iter 117 seek-ge 1 118 seek-ge c1 119 ---- 120 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 121 c-d:{(#4,RANGEKEYSET,@3,coconut)} 122 123 iter 124 seek-ge zoo 125 prev 126 seek-ge z 127 prev 128 seek-ge yeti 129 ---- 130 <nil> 131 q-z:{(#14,RANGEKEYSET,@9,mangos)} 132 <nil> 133 q-z:{(#14,RANGEKEYSET,@9,mangos)} 134 q-z:{(#14,RANGEKEYSET,@9,mangos)} 135 136 iter 137 seek-ge h 138 seek-ge j 139 ---- 140 h-j:{(#22,RANGEKEYDEL)} 141 l-m:{(#2,RANGEKEYUNSET,@9) (#2,RANGEKEYUNSET,@5)} 142 143 iter 144 first 145 prev 146 next 147 ---- 148 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 149 <nil> 150 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 151 152 iter 153 last 154 next 155 prev 156 ---- 157 q-z:{(#14,RANGEKEYSET,@9,mangos)} 158 <nil> 159 q-z:{(#14,RANGEKEYSET,@9,mangos)} 160 161 iter 162 seek-lt a 163 seek-lt 0 164 seek-lt aa 165 seek-lt z 166 seek-lt zoo 167 next 168 prev 169 ---- 170 <nil> 171 <nil> 172 a-c:{(#10,RANGEKEYSET,@5,apples) (#10,RANGEKEYDEL)} 173 q-z:{(#14,RANGEKEYSET,@9,mangos)} 174 q-z:{(#14,RANGEKEYSET,@9,mangos)} 175 <nil> 176 q-z:{(#14,RANGEKEYSET,@9,mangos)} 177 178 define visible-seq-num=10 179 a-c:{(#8,RANGEKEYSET,@5,apples) (#7,RANGEKEYSET,@3,bananas) (#4,RANGEKEYSET,@2,oranges)} 180 c-d:{(#12,RANGEKEYSET,@3,coconut) (#5,RANGEKEYSET,@1,coconut)} 181 d-f:{(#15,RANGEKEYSET,@2,oranges) (#5,RANGEKEYSET,@1,coconut)} 182 ---- 183 OK 184 185 iter 186 first 187 next 188 next 189 ---- 190 a-c:{(#8,RANGEKEYSET,@5,apples) (#7,RANGEKEYSET,@3,bananas) (#4,RANGEKEYSET,@2,oranges)} 191 c-d:{(#5,RANGEKEYSET,@1,coconut)} 192 d-f:{(#5,RANGEKEYSET,@1,coconut)} 193 194 iter 195 last 196 prev 197 prev 198 ---- 199 d-f:{(#5,RANGEKEYSET,@1,coconut)} 200 c-d:{(#5,RANGEKEYSET,@1,coconut)} 201 a-c:{(#8,RANGEKEYSET,@5,apples) (#7,RANGEKEYSET,@3,bananas) (#4,RANGEKEYSET,@2,oranges)}