[Tarantool-patches] [PATCH v4 2/3] test: add a test for wal_cleanup_delay option
Cyrill Gorcunov
gorcunov at gmail.com
Thu Mar 25 23:19:41 MSK 2021
On Thu, Mar 25, 2021 at 08:56:15PM +0100, Vladislav Shpilevoy wrote:
> >>
> >> 1. You could switch to the master right away. No
> >> need to switch through the default node.
> >
> > No. I'm *on* the replica at this moment and then
> > I need to stop it. I can't stop server being on
> > it, otherwise we hang. Already tried.
>
> I know you are on the replica. And you need to switch to the
> master. Then switch to the master. I don't see why do you need to
> do it ->default->master instead of just ->master way.
Yeah, thanks! I realised this a bit later. Done like
--
-- Stop the replica node and generate
-- xlogs on the master.
test_run:switch('master')
test_run:cmd('stop server replica')
box.space.test:insert({1})
box.snapshot()
Cyrill
More information about the Tarantool-patches
mailing list