300
},
301
}
303
>
if attr.HighPriorityState != nil || attr.LowPriorityState != nil {
304
return NewStreamError("streamSender encountered unsupported SyncReplicationState", nil)
305
}
307
>
Scopes: []*persistencespb.QueueSliceScope{
308
>
// in single stack, index 0 is for overall low watermark
309
>
{
310
>
Range: &persistencespb.QueueSliceRange{
311
>
InclusiveMin: shard.ConvertToPersistenceTaskKey(
312
>
tasks.NewImmediateKey(attr.GetInclusiveLowWatermark()),
313
>
),
314
>
ExclusiveMax: shard.ConvertToPersistenceTaskKey(
315
>
tasks.NewImmediateKey(math.MaxInt64),
316
>
),
317
>
},
318
>
Predicate: &persistencespb.Predicate{
319
>
PredicateType: enumsspb.PREDICATE_TYPE_UNIVERSAL,
320
>
Attributes: &persistencespb.Predicate_UniversalPredicateAttributes{},
321
>
},
322
>
},
323
>
},
324
>
}
325
}
326