You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2020/02/18 18:29:40 UTC
[couchdb] 01/01: change couch_jobs ?COUCH_JOBS_CURRENT to
?PDICT_CHECKED_MD_IS_CURRENT
This is an automated email from the ASF dual-hosted git repository.
garren pushed a commit to branch fdb-change-jobs
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 99b2dac57ccc12947a8f08aca829ddfc9d9bb236
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Tue Feb 18 20:28:08 2020 +0200
change couch_jobs ?COUCH_JOBS_CURRENT to ?PDICT_CHECKED_MD_IS_CURRENT
---
src/couch_jobs/src/couch_jobs_fdb.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/couch_jobs/src/couch_jobs_fdb.erl b/src/couch_jobs/src/couch_jobs_fdb.erl
index a08b78f..57027d1 100644
--- a/src/couch_jobs/src/couch_jobs_fdb.erl
+++ b/src/couch_jobs/src/couch_jobs_fdb.erl
@@ -631,12 +631,12 @@ init_jtx({erlfdb_transaction, _} = Tx) ->
ensure_current(#{jtx := true, tx := Tx} = JTx) ->
- case get(?COUCH_JOBS_CURRENT) of
+ case get(?PDICT_CHECKED_MD_IS_CURRENT) of
Tx ->
JTx;
_ ->
JTx1 = update_current(JTx),
- put(?COUCH_JOBS_CURRENT, Tx),
+ put(?PDICT_CHECKED_MD_IS_CURRENT, Tx),
JTx1
end.