@@ -1206,10 +1206,10 @@ func (o *newIterOp) run(t *Test, h historyRecorder) {
12061206}
12071207
12081208func (o * newIterOp ) formattedString (kf KeyFormat ) string {
1209- return fmt .Sprintf ("%s = %s.NewIter(%q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */)" ,
1209+ return fmt .Sprintf ("%s = %s.NewIter(%q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */, %q /* maximum suffix property */ )" ,
12101210 o .iterID , o .readerID , kf .FormatKey (o .lower ), kf .FormatKey (o .upper ),
12111211 o .keyTypes , kf .FormatKeySuffix (o .filterMax ), kf .FormatKeySuffix (o .filterMin ),
1212- o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ))
1212+ o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ), kf . FormatMaximumSuffixProperty ( o . maximumSuffixProperty ) )
12131213}
12141214
12151215func (o * newIterOp ) receiver () objID { return o .readerID }
@@ -1273,10 +1273,10 @@ func (o *newIterUsingCloneOp) run(t *Test, h historyRecorder) {
12731273}
12741274
12751275func (o * newIterUsingCloneOp ) formattedString (kf KeyFormat ) string {
1276- return fmt .Sprintf ("%s = %s.Clone(%t, %q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */)" ,
1276+ return fmt .Sprintf ("%s = %s.Clone(%t, %q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */, %q /* maximum suffix property */ )" ,
12771277 o .iterID , o .existingIterID , o .refreshBatch , kf .FormatKey (o .lower ),
12781278 kf .FormatKey (o .upper ), o .keyTypes , kf .FormatKeySuffix (o .filterMax ),
1279- kf .FormatKeySuffix (o .filterMin ), o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ))
1279+ kf .FormatKeySuffix (o .filterMin ), o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ), kf . FormatMaximumSuffixProperty ( o . maximumSuffixProperty ) )
12801280}
12811281
12821282func (o * newIterUsingCloneOp ) receiver () objID { return o .existingIterID }
@@ -1370,10 +1370,10 @@ func (o *iterSetOptionsOp) run(t *Test, h historyRecorder) {
13701370}
13711371
13721372func (o * iterSetOptionsOp ) formattedString (kf KeyFormat ) string {
1373- return fmt .Sprintf ("%s.SetOptions(%q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */)" ,
1373+ return fmt .Sprintf ("%s.SetOptions(%q, %q, %d /* key types */, %q, %q, %t /* use L6 filters */, %q /* masking suffix */, %q /* maximum suffix property */ )" ,
13741374 o .iterID , kf .FormatKey (o .lower ), kf .FormatKey (o .upper ),
13751375 o .keyTypes , kf .FormatKeySuffix (o .filterMax ), kf .FormatKeySuffix (o .filterMin ),
1376- o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ))
1376+ o .useL6Filters , kf .FormatKeySuffix (o .maskSuffix ), kf . FormatMaximumSuffixProperty ( o . maximumSuffixProperty ) )
13771377}
13781378
13791379func iterOptions (kf KeyFormat , o iterOpts ) * pebble.IterOptions {
@@ -1394,8 +1394,9 @@ func iterOptions(kf KeyFormat, o iterOpts) *pebble.IterOptions {
13941394 RangeKeyMasking : pebble.RangeKeyMasking {
13951395 Suffix : o .maskSuffix ,
13961396 },
1397- UseL6Filters : o .useL6Filters ,
1398- DebugRangeKeyStack : debugIterators ,
1397+ UseL6Filters : o .useL6Filters ,
1398+ DebugRangeKeyStack : debugIterators ,
1399+ MaximumSuffixProperty : o .maximumSuffixProperty ,
13991400 }
14001401 if opts .RangeKeyMasking .Suffix != nil {
14011402 opts .RangeKeyMasking .Filter = kf .NewSuffixFilterMask
0 commit comments