diff options
author | Binbin <binloveplay1314@qq.com> | 2021-11-24 18:46:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 12:46:43 +0200 |
commit | fb4f7be22c6f26faf3f222d1ff8d7119fd6c084e (patch) | |
tree | 67789f17708dcffdeab78f998aac769e8aee1a35 /src/quicklist.h | |
parent | 9273d09dd46353015406c26cd7d3826b78109a38 (diff) | |
download | redis-fb4f7be22c6f26faf3f222d1ff8d7119fd6c084e.tar.gz |
Wait for `asyn_loading` to stop in `short read` test (#9841)
In #9323, when `repl-diskless-load` is enabled and set to `swapdb`,
if the master replication ID hasn't changed, we can load data-set
asynchronously, and serving read commands during the full resync.
In `diskless loading short read` test, after a loading successfully,
we will wait for the loading to stop and continue the for loop.
After the introduction of `async_loading`, we also need to check it.
Otherwise the next loop will start too soon, may trigger a timing issue.
Diffstat (limited to 'src/quicklist.h')
0 files changed, 0 insertions, 0 deletions