You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/06/10 19:52:23 UTC
[couchdb] 05/06: Database config changes should bump the db version
This is an automated email from the ASF dual-hosted git repository.
davisp pushed a commit to branch prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 7073798325475fd9056b8cd221a691a28848f1dd
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Mon Jun 10 14:36:55 2019 -0500
Database config changes should bump the db version
This was a remnant before we used a version per database.
---
src/fabric/src/fabric2_fdb.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fabric/src/fabric2_fdb.erl b/src/fabric/src/fabric2_fdb.erl
index 4f08d97..d179387 100644
--- a/src/fabric/src/fabric2_fdb.erl
+++ b/src/fabric/src/fabric2_fdb.erl
@@ -338,7 +338,7 @@ set_config(#{} = Db, ConfigKey, ConfigVal) ->
Key = erlfdb_tuple:pack({?DB_CONFIG, ConfigKey}, DbPrefix),
erlfdb:set(Tx, Key, ConfigVal),
- bump_metadata_version(Tx).
+ bump_db_version(Db).
get_stat(#{} = Db, StatKey) ->