-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: ARSN-278 handle getting versionId when object is versioning s…
…uspended When replicating a versioning suspended object, we need to specify 'null' as the encoded versionId as the versionId contained within the object's metadata is strictly internal In the replication processor we use getVersionId() when putting/deleting a tag. It's used by the mongoClient to fetch the object from MongoDB, here again we need to specify 'null' to get the versioning suspended object (cloudserver already knows how to handle 'null' versionId and transforms it to undefined before giving it to the mongoClient) (cherry picked from commit d1cd7e8)
- Loading branch information
1 parent
a643a3e
commit f13a5d7
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ export const VersioningConstants = { | |
v1mig: 'v1mig', | ||
v1: 'v1', | ||
}, | ||
ExternalNullVersionId: 'null', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters