Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2983

is_replicator_db do not take into account shard's suffix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Database Core, Replication
    • None

    Description

      We use number of ways to detect replicator db:
      1. <<"_replicator">> == couch_db:normalize_dbname(Path) in fabric.
      2. hardcoded as <<"_replicator">> in replicator_manager
      3. calculated as lists:last(binary:split(mem3:dbname(DbName), <<"/">>, ...)) in replicator_manager:is_replicator_db

      We need to unify the way we do it. We also would want to make sure we remove shard's suffix from the last part of the path.

      Attachments

        Activity

          People

            iilyak Ilya Khlopotov
            iilyak Ilya Khlopotov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: