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/03/28 03:34:30 UTC

[GitHub] [couchdb] nickva commented on a change in pull request #3468: Improve search for FDB cluster files

nickva commented on a change in pull request #3468:
URL: https://github.com/apache/couchdb/pull/3468#discussion_r602824561



##########
File path: src/fabric/src/fabric2_server.erl
##########
@@ -42,9 +42,10 @@
 
 
 -include_lib("couch/include/couch_db.hrl").
+-include_lib("kernel/include/file.hrl").
 
-
--define(CLUSTER_FILE, "/usr/local/etc/foundationdb/fdb.cluster").
+-define(CLUSTER_FILE_MACOS, "/usr/local/etc/foundationdb/fdb.cluster").
+-define(CLUSTER_FILE_LINUX, "/etc/foundationdb/fdb.cluster").

Review comment:
       Wonder if we could add Windows to the list. Not sure how supported it is, but I found the default cluster file location in the Rust library https://docs.rs/foundationdb/0.5.0/src/foundationdb/lib.rs.html#171-174




-- 
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.

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