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

[DOC 2.2.0] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Flagged:
      Release Note

      Description

      It was found that in installations with custom data path uninstall doesn't clean up anything. And then it's possible as part of installation to choose same data path.

      All database files will be deleted in the process, but _replicator database will be left intact. Which will cause node to think it still have those old XDCR replications it had before uninstall. This will cause tons of internal crashes and UI confusion.

      For 2.1.0 we'll document workaround. If you're doing uninstall followed by reinstall, make sure to manually delete _replicator.couch.1 file from data directory before reinstalling.

        Issue Links

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

          Activity

          Hide
          maria Maria McDuff (Inactive) added a comment -

          MB-8460 is the bug that the developer will fix.
          this is the doc that will be tracked for the bug.

          Show
          maria Maria McDuff (Inactive) added a comment - MB-8460 is the bug that the developer will fix. this is the doc that will be tracked for the bug.
          Hide
          kzeller kzeller added a comment -

          Added to RN 2.2 as Fix:

          <rnentry type="fix">

          <version ver="2.2.0a" />

          <class id="xdcr" />

          <issue type="cb" ref="MB-8460" />

          <rntext>

          <para>
          If you used a custom data path then performed a server uninstall and upgraded, older XDCR replication files were left intact.
          This resulted in Couchbase Server crashes and incorrect information in Web Console. This has been fixed.
          </para>

          </rntext>

          </rnentry>

          Show
          kzeller kzeller added a comment - Added to RN 2.2 as Fix: <rnentry type="fix"> <version ver="2.2.0a" /> <class id="xdcr" /> <issue type="cb" ref=" MB-8460 " /> <rntext> <para> If you used a custom data path then performed a server uninstall and upgraded, older XDCR replication files were left intact. This resulted in Couchbase Server crashes and incorrect information in Web Console. This has been fixed. </para> </rntext> </rnentry>

            People

            • Assignee:
              kzeller kzeller
              Reporter:
              maria Maria McDuff (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes