diff --git a/api.go b/api.go index 1ffbc7df6..c97c5c2a6 100644 --- a/api.go +++ b/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)) diff --git a/holder.go b/holder.go index 655182a74..c763df71b 100644 --- a/holder.go +++ b/holder.go @@ -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