mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
Remove not needed translationSyncer from holder. (#152)
This commit is contained in:
parent
78327904ff
commit
53c486fce0
2 changed files with 2 additions and 4 deletions
2
api.go
2
api.go
|
|
@ -1434,7 +1434,7 @@ func (api *API) GetTranslateEntryReader(ctx context.Context, offsets TranslateOf
|
|||
for fieldName, offset := range indexMap.Fields {
|
||||
field := index.Field(fieldName)
|
||||
if field == nil {
|
||||
return nil, ErrIndexNotFound
|
||||
return nil, ErrFieldNotFound
|
||||
}
|
||||
|
||||
r, err := field.TranslateStore().EntryReader(ctx, uint64(offset))
|
||||
|
|
|
|||
|
|
@ -233,9 +233,7 @@ func (h *Holder) Open() error {
|
|||
|
||||
h.opened.Close()
|
||||
|
||||
// Since the holder is just opening, this is not so much a reset,
|
||||
// as it is an initial setting of the transation sync process.
|
||||
return h.translationSyncer.Reset()
|
||||
return nil
|
||||
}
|
||||
|
||||
// checkForeignIndex is a check before applying a foreign
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue