@@ -70,65 +70,100 @@ var (
7070//
7171// The input files use the following DSL:
7272//
73- // run [ok|trace|stats|error|log-ops]
73+ // run [ok|trace|stats|error|log-ops]
7474//
75- // txn_begin t=<name> [ts=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]]
76- // txn_remove t=<name>
77- // txn_restart t=<name> [epoch=<int>]
78- // txn_update t=<name> t2=<name>
79- // txn_step t=<name> [n=<int>] [seq=<int>]
80- // txn_advance t=<name> ts=<int>[,<int>]
81- // txn_status t=<name> status=<txnstatus>
82- // txn_ignore_seqs t=<name> seqs=[<int>-<int>[,<int>-<int>...]]
75+ // txn_begin t=<name> [ts=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]]
76+ // txn_remove t=<name>
77+ // txn_restart t=<name> [epoch=<int>]
78+ // txn_update t=<name> t2=<name>
79+ // txn_step t=<name> [n=<int>] [seq=<int>]
80+ // txn_advance t=<name> ts=<int>[,<int>]
81+ // txn_status t=<name> status=<txnstatus>
82+ // txn_ignore_seqs t=<name> seqs=[<int>-<int>[,<int>-<int>...]]
8383//
84- // resolve_intent t=<name> k=<key> [status=<txnstatus>] [clockWhilePending=<int>[,<int>]] [targetBytes=<int>]
85- // resolve_intent_range t=<name> k=<key> end=<key> [status=<txnstatus>] [maxKeys=<int>] [targetBytes=<int>]
86- // check_intent k=<key> [none]
87- // add_unreplicated_lock t=<name> k=<key>
88- // check_for_acquire_lock t=<name> k=<key> str=<strength> [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
89- // acquire_lock t=<name> k=<key> str=<strength> [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
84+ // resolve_intent t=<name> k=<key> [status=<txnstatus>] [clockWhilePending=<int>[,<int>]] [targetBytes=<int>]
85+ // resolve_intent_range t=<name> k=<key> end=<key> [status=<txnstatus>] [maxKeys=<int>] [targetBytes=<int>]
86+ // check_intent k=<key> [none]
87+ // add_unreplicated_lock t=<name> k=<key>
88+ // check_for_acquire_lock t=<name> k=<key> str=<strength> [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
89+ // acquire_lock t=<name> k=<key> str=<strength> [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
9090//
91- // cput [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> v=<string> [raw] [cond=<string>]
92- // del [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key>
93- // del_range [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> end=<key> [max=<max>] [returnKeys]
94- // del_range_ts [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> end=<key> [idempotent] [noCoveredStats]
95- // del_range_pred [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> end=<key> [startTime=<int>,max=<int>,maxBytes=<int>,rangeThreshold=<int>]
96- // increment [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> [inc=<val>]
97- // put [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay] [maxLockConflicts=<int>] k=<key> v=<string> [raw]
98- // put_rangekey ts=<int>[,<int>] [localTs=<int>[,<int>]] k=<key> end=<key> [syntheticBit]
99- // put_blind_inline k=<key> v=<string> [prev=<string>]
100- // get [t=<name>] [ts=<int>[,<int>]] [resolve [status=<txnstatus>]] k=<key> [inconsistent] [skipLocked] [tombstones] [failOnMoreRecent] [localUncertaintyLimit=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]] [maxKeys=<int>] [targetBytes=<int>] [allowEmpty]
101- // scan [t=<name>] [ts=<int>[,<int>]] [resolve [status=<txnstatus>]] k=<key> [end=<key>] [inconsistent] [skipLocked] [tombstones] [reverse] [failOnMoreRecent] [localUncertaintyLimit=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]] [max=<max>] [targetbytes=<target>] [wholeRows[=<int>]] [allowEmpty]
102- // export [k=<key>] [end=<key>] [ts=<int>[,<int>]] [kTs=<int>[,<int>]] [startTs=<int>[,<int>]] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] [allRevisions] [targetSize=<int>] [maxSize=<int>] [stopMidKey] [fingerprint]
91+ // cput [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]]
92+ // [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
93+ // k=<key> v=<string> [raw] [cond=<string>]
10394//
104- // iter_new [k=<key>] [end=<key>] [prefix] [kind=key|keyAndIntents] [types=pointsOnly|pointsWithRanges|pointsAndRanges|rangesOnly] [maskBelow=<int>[,<int>]] [minTimestamp=<int>[,<int>]] [maxTimestamp=<int>[,<int>]]
105- // iter_new_incremental [k=<key>] [end=<key>] [startTs=<int>[,<int>]] [endTs=<int>[,<int>]] [types=pointsOnly|pointsWithRanges|pointsAndRanges|rangesOnly] [maskBelow=<int>[,<int>]] [intents=error|aggregate|emit]
106- // iter_seek_ge k=<key> [ts=<int>[,<int>]]
107- // iter_seek_lt k=<key> [ts=<int>[,<int>]]
108- // iter_next
109- // iter_next_ignoring_time
110- // iter_next_key_ignoring_time
111- // iter_next_key
112- // iter_prev
113- // iter_scan [reverse]
95+ // del [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]]
96+ // [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key>
11497//
115- // merge [ts=<int>[,<int>]] k=<key> v=<string> [raw]
98+ // del_range [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]]
99+ // [ambiguousReplay] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
100+ // k=<key> end=<key> [max=<max>] [returnKeys]
116101//
117- // clear k=<key> [ts=<int>[,<int>]]
118- // clear_range k=<key> end=<key>
119- // clear_rangekey k=<key> end=<key> ts=<int>[,<int>]
120- // clear_time_range k=<key> end=<key> ts=<int>[,<int>] targetTs=<int>[,<int>] [clearRangeThreshold=<int>] [maxBatchSize=<int>] [maxBatchByteSize=<int>]
102+ // del_range_ts [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
103+ // k=<key> end=<key> [idempotent] [noCoveredStats]
121104//
122- // gc_clear_range k=<key> end=<key> startTs=<int>[,<int>] ts=<int>[,<int>]
123- // gc_points_clear_range k=<key> end=<key> startTs=<int>[,<int>] ts=<int>[,<int>]
124- // replace_point_tombstones_with_range_tombstones k=<key> [end=<key>]
105+ // del_range_pred [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
106+ // k=<key> end=<key> [startTime=<int>,max=<int>,maxBytes=<int>,rangeThreshold=<int>]
125107//
126- // sst_put [ts=<int>[,<int>]] [localTs=<int>[,<int>]] k=<key> [v=<string>]
127- // sst_put_rangekey ts=<int>[,<int>] [localTS=<int>[,<int>]] k=<key> end=<key>
128- // sst_clear_range k=<key> end=<key>
129- // sst_clear_rangekey k=<key> end=<key> ts=<int>[,<int>]
130- // sst_finish
131- // sst_iter_new
108+ // increment [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay]
109+ // [maxLockConflicts=<int>] [targetLockConflictBytes=<int>] k=<key> [inc=<val>]
110+ //
111+ // put [t=<name>] [ts=<int>[,<int>]] [localTs=<int>[,<int>]] [resolve [status=<txnstatus>]] [ambiguousReplay]
112+ // [maxLockConflicts=<int>] k=<key> v=<string> [raw]
113+ //
114+ // put_rangekey ts=<int>[,<int>] [localTs=<int>[,<int>]] k=<key> end=<key> [syntheticBit]
115+ //
116+ // put_blind_inline k=<key> v=<string> [prev=<string>]
117+ //
118+ // get [t=<name>] [ts=<int>[,<int>]] [resolve [status=<txnstatus>]] k=<key> [inconsistent] [skipLocked]
119+ // [tombstones] [failOnMoreRecent] [localUncertaintyLimit=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]]
120+ // [maxKeys=<int>] [targetBytes=<int>] [allowEmpty]
121+ //
122+ // scan [t=<name>] [ts=<int>[,<int>]] [resolve [status=<txnstatus>]] k=<key> [end=<key>]
123+ // [inconsistent] [skipLocked] [tombstones] [reverse] [failOnMoreRecent]
124+ // [localUncertaintyLimit=<int>[,<int>]] [globalUncertaintyLimit=<int>[,<int>]] [max=<max>]
125+ // [targetbytes=<target>] [wholeRows[=<int>]] [allowEmpty]
126+ //
127+ // export [k=<key>] [end=<key>] [ts=<int>[,<int>]] [kTs=<int>[,<int>]] [startTs=<int>[,<int>]]
128+ // [maxLockConflicts=<int>] [targetLockConflictBytes=<int>]
129+ // [allRevisions] [targetSize=<int>] [maxSize=<int>] [stopMidKey] [fingerprint]
130+ //
131+ // iter_new [k=<key>] [end=<key>] [prefix] [kind=key|keyAndIntents]
132+ // [types=pointsOnly|pointsWithRanges|pointsAndRanges|rangesOnly]
133+ // [maskBelow=<int>[,<int>]] [minTimestamp=<int>[,<int>]] [maxTimestamp=<int>[,<int>]]
134+ //
135+ // iter_new_incremental [k=<key>] [end=<key>] [startTs=<int>[,<int>]] [endTs=<int>[,<int>]]
136+ // [types=pointsOnly|pointsWithRanges|pointsAndRanges|rangesOnly]
137+ // [maskBelow=<int>[,<int>]] [intents=error|aggregate|emit]
138+ //
139+ // iter_seek_ge k=<key> [ts=<int>[,<int>]]
140+ // iter_seek_lt k=<key> [ts=<int>[,<int>]]
141+ // iter_next
142+ // iter_next_ignoring_time
143+ // iter_next_key_ignoring_time
144+ // iter_next_key
145+ // iter_prev
146+ // iter_scan [reverse]
147+ //
148+ // merge [ts=<int>[,<int>]] k=<key> v=<string> [raw]
149+ //
150+ // clear k=<key> [ts=<int>[,<int>]]
151+ // clear_range k=<key> end=<key>
152+ // clear_rangekey k=<key> end=<key> ts=<int>[,<int>]
153+ // clear_time_range k=<key> end=<key> ts=<int>[,<int>] targetTs=<int>[,<int>]
154+ // [clearRangeThreshold=<int>] [maxBatchSize=<int>] [maxBatchByteSize=<int>]
155+ //
156+ // gc_clear_range k=<key> end=<key> startTs=<int>[,<int>] ts=<int>[,<int>]
157+ // gc_points_clear_range k=<key> end=<key> startTs=<int>[,<int>] ts=<int>[,<int>]
158+ //
159+ // replace_point_tombstones_with_range_tombstones k=<key> [end=<key>]
160+ //
161+ // sst_put [ts=<int>[,<int>]] [localTs=<int>[,<int>]] k=<key> [v=<string>]
162+ // sst_put_rangekey ts=<int>[,<int>] [localTS=<int>[,<int>]] k=<key> end=<key>
163+ // sst_clear_range k=<key> end=<key>
164+ // sst_clear_rangekey k=<key> end=<key> ts=<int>[,<int>]
165+ // sst_finish
166+ // sst_iter_new
132167//
133168// Where `<key>` can be a simple string, or a string
134169// prefixed by the following characters:
0 commit comments