You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- update CBG ticket names
- remove all changes in rest package, create DocMetadata in topology
test to include extended version information
- created log key VV for testing
// DocVersion represents a specific version of a document in an revID/HLV agnostic manner.
2450
2450
typeDocVersionstruct {
2451
-
RevTreeIDstring// RevTreeID is the rev treee ID of a document, may be empty not present
2452
-
HLV*db.HybridLogicalVector// HLV is the hybrid logical vector of the document, may not be present
2453
-
Mou*db.MetadataOnlyUpdate// Mou is the metadata only update of the document, may not be present
2454
-
Casuint64// Cas is the cas value of the document
2455
-
HasImplicitCVbool// If true, the HLV was constructed from cas@sourceID instead of from _vv, used for documents written to Couchbase Server without Sync Gateway
ifsubProtocol>=db.CBMobileReplicationV4 { // history could be empty a lot of the time in HLV messages as updates from the same source won't populate previous versions
// this isn't yet collection aware, using single default collection
48
-
returnrest.EmptyDocVersion(), nil
48
+
returnDocMetadata{}, nil
49
49
}
50
50
51
51
// getSingleBlipClient returns the single blip client for the peer. If there are multiple clients, or not clients it will fail the test. This is temporary to stub support for multiple Sync Gateway peers.
// WaitForTombstoneVersion waits for a document to reach a specific version, this must be a tombstone. The test will fail if the document does not reach the expected version in 20s.
0 commit comments