Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-54712

RevRPC shows EOF error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • Morpheus
    • ns_server
    • None
    • Untriaged
    • 0
    • Yes

    Description

      XDCR Differ (https://github.com/couchbaselabs/xdcrDiffer) uses RevRPC to connect to metakv and retrieve the XDCR remote cluster references and replication specs as part of startup.

      The issue started showing up today once I did a repo sync on my laptop.

      To reproduce:

      1. Cluster_run with 2 clusters (1 node per cluster, named C1 and C2)
      2. C1 create B1, load some docs
      3. C2 create B2
      4. On C1, create XDCR replication to C2:B2.
      5. Download the differ, compile and run.
        The command to run differ is something like:

        ./runDiffer.sh -u Administrator -p <password> -h 127.0.0.1:9000 -s B1 -t B2 -r C2
        

      The difftool output now shows errors like:

      2022-11-29T17:22:38.844-08:00 WARN GOXDCR.MetadataSvc: metakv.ListAllChildren failed. path=/replicationSpec/, err=Get "http://127.0.0.1:9000/_metakv/replicationSpec/": CBAuth database is stale: last reason: EOF
      

      and multiples of

      2022/11/29 17:22:39 revrpc: Got error (EOF) and will retry in 1s
      

      Attachments

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

        Activity

          People

            timofey.barmin Timofey Barmin
            neil.huang Neil Huang
            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