fix: when max not set, dump size negative
This commit is contained in:
1 parent
beb2ca4cf4
commit
ebb4365135
8 files changed
+27
-26
No files matched your search
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type DumpIO interface {
|
||||
ReadData(ctx context.Context, size int, query map[string]any, includeFields []string, sort []string) (<-chan []*model.ESSource, <-chan error)
|
||||
ReadData(ctx context.Context, size uint64, query map[string]any, includeFields []string, sort []string) (<-chan []*model.ESSource, <-chan error)
|
||||
WriteData(ctx context.Context, docsCh <-chan []*model.ESSource) error
|
||||
|
||||
ReadMapping(context.Context) (map[string]any, error)
|
||||
|
||||
Reference in new issue
Block a user