Handle edge case where index version is > than desired (should still consider the initial index to be completed)
This commit is contained in:
@@ -186,7 +186,7 @@ export class ObjectIndex {
|
||||
}
|
||||
|
||||
public async hasInitialIndexCompleted() {
|
||||
return (await this.ds.get(indexVersionKey)) === desiredIndexVersion;
|
||||
return (await this.ds.get(indexVersionKey)) >= desiredIndexVersion;
|
||||
}
|
||||
|
||||
private getCurrentIndexVersion() {
|
||||
|
||||
Reference in New Issue
Block a user