Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
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.