Index: filter/featureBreaker/rds.go |
diff --git a/filter/featureBreaker/rds.go b/filter/featureBreaker/rds.go |
index 8a007869e5a10bed25d3a3d0dba10b691ec22311..2ff6c82231c8f71477cdb3719cdcf0feb508adda 100644 |
--- a/filter/featureBreaker/rds.go |
+++ b/filter/featureBreaker/rds.go |
@@ -16,6 +16,15 @@ type dsState struct { |
rds ds.RawInterface |
} |
+func (r *dsState) AllocateIDs(incomplete *ds.Key, n int) (int64, error) { |
+ start := int64(0) |
+ err := r.run(func() (err error) { |
+ start, err = r.rds.AllocateIDs(incomplete, n) |
+ return |
+ }) |
+ return start, err |
+} |
+ |
func (r *dsState) DecodeCursor(s string) (ds.Cursor, error) { |
curs := ds.Cursor(nil) |
err := r.run(func() (err error) { |