@@ -712,21 +712,21 @@ func IsInConflict(ctx context.Context, localHLV, incomingHLV *HybridLogicalVecto
712712 }
713713
714714 // standard no conflict case. In the simple case, this happens when:
715- // - Client A writes document 1@cbs1
716- // - Client B pulls document 1@cbs1 from Client A
717- // - Client A writes document 2@cbs1
718- // - Client B pulls document 2@cbs1 from Client A
715+ // - Client A writes document 1@srcA
716+ // - Client B pulls document 1@srcA from Client A
717+ // - Client A writes document 2@srcA
718+ // - Client B pulls document 2@srcA from Client A
719719 if incomingHLV .DominatesSource (* localCV ) {
720720 return false , nil
721721 }
722722
723723 // local revision is newer than incoming revision. Common case:
724- // - Client A writes document 1@cbl1
725- // - Client A pushes to Client B as 1@cbl1
726- // - Client A pulls document 1@cbl1 from Client B
724+ // - Client A writes document 1@srcA
725+ // - Client A pushes to Client B as 1@srcA
726+ // - Client A pulls document 1@srcA from Client B
727727 //
728- // NOTE: without P2P replication, this should not be the case and we would not get this revision, since CBL
729- // would respond to a SG changes message that CBL does not need this revision
728+ // NOTE: without P2P replication, this should not be the case and we would not get this revision, since Client A
729+ // would respond to a Client B changes message that Client A does not need this revision
730730 if localHLV .DominatesSource (* incomingCV ) {
731731 return false , ErrNoNewVersionsToAdd
732732 }
0 commit comments