changing assert for now

This commit is contained in:
Josh Slocum 2021-11-15 12:24:51 -06:00
parent 3f1e7da5c9
commit 1d1f3fe747
1 changed files with 3 additions and 1 deletions

View File

@ -4866,7 +4866,9 @@ ACTOR Future<Void> updateStorage(StorageServer* data) {
data->storage.writeKeyValue(
KeyValueRef(changeFeedDurableKey(info->second->id, it.version),
changeFeedDurableValue(it.mutations, it.knownCommittedVersion)));
ASSERT(it.version > info->second->storageVersion);
// FIXME: there appears to be a bug somewhere where the exact same mutation appears twice in a row
// in the stream. We should fix this assert to be strictly > and re-enable it
ASSERT(it.version >= info->second->storageVersion);
info->second->storageVersion = it.version;
}
// handle case where fetch had version ahead of last in-memory mutation