You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/10/28 22:54:29 UTC

[GitHub] [couchdb] jaydoane commented on a change in pull request #3807: Use configured shards db in custodian instead of "dbs"

jaydoane commented on a change in pull request #3807:
URL: https://github.com/apache/couchdb/pull/3807#discussion_r738821093



##########
File path: src/custodian/src/custodian_server.erl
##########
@@ -132,8 +132,9 @@ start_shard_checker(#state{shard_checker=Pid}=State) when is_pid(Pid) ->
 
 
 start_event_listener() ->
+    DbName = mem3_sync:shards_db(),
     couch_event:link_listener(
-            ?MODULE, handle_db_event, nil, [{dbname, <<"dbs">>}]

Review comment:
       Sorry I missed this during import 😞 

##########
File path: src/custodian/README
##########
@@ -1,6 +1,6 @@
 Custodian is responsible for the data stored in CouchDB databases.
 
-Custodian scans the "dbs" database, which details the location of
+Custodian scans the shards database, which details the location of

Review comment:
       Nice fix!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org