[Tarantool-patches] [PATCH v2 6/8] box: introduce `box.ctl.demote`

Serge Petrenko sergepetrenko at tarantool.org
Fri Jun 18 00:15:10 MSK 2021



18.06.2021 00:07, Serge Petrenko пишет:
> Introduce a new journal entry, DEMOTE. The entry has the same meaning as
> PROMOTE, with the only difference that it clears limbo ownership instead
> of transferring it to the issuer.
>

I've force pushed a fix for failing CI jobs:

diff --git a/test/replication/gh-6034-limbo-ownership.result 
b/test/replication/gh-6034-limbo-ownership.result
index 3681df3d8..3b2fcdda9 100644
--- a/test/replication/gh-6034-limbo-ownership.result
+++ b/test/replication/gh-6034-limbo-ownership.result
@@ -81,7 +81,7 @@ test_run:cmd('set variable rpl_listen to 
"replica.listen"')
  orig_replication = box.cfg.replication
   | ---
   | ...
-box.cfg{replication={box.info.listen, rpl_listen}}
+box.cfg{replication=rpl_listen}
   | ---
   | ...

diff --git a/test/replication/gh-6034-limbo-ownership.test.lua 
b/test/replication/gh-6034-limbo-ownership.test.lua
index 0e1586566..3beea8270 100644
--- a/test/replication/gh-6034-limbo-ownership.test.lua
+++ b/test/replication/gh-6034-limbo-ownership.test.lua
@@ -30,7 +30,7 @@ test_run:cmd('create server replica with 
rpl_master=default,\
  test_run:cmd('start server replica with wait=True, wait_load=True')
  test_run:cmd('set variable rpl_listen to "replica.listen"')
  orig_replication = box.cfg.replication
-box.cfg{replication={box.info.listen, rpl_listen}}
+box.cfg{replication=rpl_listen}

  test_run:switch('replica')
  assert(box.info.ro)


-- 
Serge Petrenko



More information about the Tarantool-patches mailing list