diff --git a/ee/indexeddb/indexeddb.go b/ee/indexeddb/indexeddb.go index 97fe8da61..6a7006d21 100644 --- a/ee/indexeddb/indexeddb.go +++ b/ee/indexeddb/indexeddb.go @@ -43,8 +43,8 @@ func QueryIndexeddbObjectStore(dbLocation string, dbName string, objectStoreName opts := &opt.Options{ Comparer: indexeddbComparer, - DisableSeeksCompaction: true, // no need to perform compaction - Strict: opt.StrictAll, + DisableSeeksCompaction: true, // no need to perform compaction + Strict: opt.StrictRecovery, // we prefer to drop corrupted data rather than fail to open the db altogether } db, err := leveldb.OpenFile(tempDbCopyLocation, opts) if err != nil {