Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1716

norev message sequence has wrong property name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 84
    • 3

    Description

      The norev message expects sequence to be included as a "sequence", but we're actually writing it with the "seq" property name.

      This has implications for ISGR checkpointing that use this field, so the following changes will have to be made:

      • If protocol version 2 and client type ISGR - read and write value as "seq"
      • Otherwise use "sequence"

      If this is being backported to 2.x, we can't do the protocol version check, and should just do a client type check.

      https://github.com/couchbase/couchbase-lite-core/blob/71cb99144e0af656608f49680a0ff46f48f28c33/modules/docs/pages/replication-protocol.adoc#norev

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              isaac.lambat Isaac Lambat
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty