Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow callers to provide current value to WriteUpdateWithXattr #2563
When importing, we leverage the standard WriteUpdateWithXattr processing used for an SG write. In import scenarios, we already have the current doc, xattr and CAS, and usually would like to skip the initial get done by WriteUpdateWithXattr.
If the document has been modified since the import trigger (more likely for DCP-triggered imports), it will be caught by the CAS check on write.