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

Uninstall followed by re-install may leave xdcr _replicator database intact causing badness

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: installer, ns_server
    • Security Level: Public
    • Labels:
    • Flagged:
      Release Note
    • Sprint:
      12/Aug - 30/Aug

      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

          alkondratenko Aleksey Kondratenko (Inactive) created issue -
          alkondratenko Aleksey Kondratenko (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.1.0 [ 10418 ]
          maria Maria McDuff (Inactive) made changes -
          Summary Uninstall followed by re-install may leave xdcr _replicator database intact causing badness [DOC 2.1] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness
          maria Maria McDuff (Inactive) made changes -
          Assignee Aleksey Kondratenko [ alkondratenko ] Karen Zeller [ kzeller ]
          kzeller kzeller made changes -
          Component/s documentation [ 10012 ]
          kzeller kzeller made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          kzeller kzeller made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          kzeller kzeller made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          kzeller kzeller made changes -
          Summary [DOC 2.1] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness [Doc'd] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness
          kzeller kzeller made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          kzeller kzeller made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          alkondratenko Aleksey Kondratenko (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Assignee Karen Zeller [ kzeller ] Aleksey Kondratenko [ alkondratenko ]
          kzeller kzeller made changes -
          Component/s documentation [ 10012 ]
          kzeller kzeller made changes -
          Labels documentation
          wayne Wayne Siu made changes -
          Summary [Doc'd] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness Uninstall followed by re-install may leave xdcr _replicator database intact causing badness
          wayne Wayne Siu made changes -
          Fix Version/s 2.1.0 [ 10418 ]
          anil Anil Kumar made changes -
          Summary Uninstall followed by re-install may leave xdcr _replicator database intact causing badness [RN-2.1.0 DONE] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness
          artem Artem Stemkovski made changes -
          Assignee Aleksey Kondratenko [ alkondratenko ] Artem Stemkovski [ artem ]
          maria Maria McDuff (Inactive) made changes -
          Summary [RN-2.1.0 DONE] Uninstall followed by re-install may leave xdcr _replicator database intact causing badness Uninstall followed by re-install may leave xdcr _replicator database intact causing badness
          maria Maria McDuff (Inactive) made changes -
          Link This issue has to be done before MB-8775 [ MB-8775 ]
          alkondratenko Aleksey Kondratenko (Inactive) made changes -
          Labels ns_server-story
          alkondratenko Aleksey Kondratenko (Inactive) made changes -
          Rank Ranked higher
          maria Maria McDuff (Inactive) made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          anil Anil Kumar made changes -
          Rank Ranked higher
          anil Anil Kumar made changes -
          Rank Ranked higher
          anil Anil Kumar made changes -
          Sprint Sprint 1 [ 37 ]
          artem Artem Stemkovski made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          artem Artem Stemkovski made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          maria Maria McDuff (Inactive) made changes -
          Assignee Artem Stemkovski [ artem ] Ketaki Gangal [ ketaki ]
          ketaki Ketaki Gangal made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              ketaki Ketaki Gangal
              Reporter:
              alkondratenko Aleksey Kondratenko (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Gerrit Reviews

                  There are no open Gerrit changes