[Tarantool-patches] [PATCH 3/3] replication: add test with random leaders promotion and demotion

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Jul 9 23:07:33 MSK 2020


Привет!

On 09/07/2020 19:16, sergeyb at tarantool.org wrote:
> From: Sergey Bronnikov <sergeyb at tarantool.org>
> 
> Part of #5055
> ---
>  test/replication/qsync.lua                    |  62 ++++++++++
>  test/replication/qsync1.lua                   |   1 +
>  test/replication/qsync10.lua                  |   1 +
>  test/replication/qsync11.lua                  |   1 +
>  test/replication/qsync12.lua                  |   1 +
>  test/replication/qsync13.lua                  |   1 +
>  test/replication/qsync14.lua                  |   1 +
>  test/replication/qsync15.lua                  |   1 +
>  test/replication/qsync16.lua                  |   1 +
>  test/replication/qsync17.lua                  |   1 +
>  test/replication/qsync18.lua                  |   1 +
>  test/replication/qsync19.lua                  |   1 +
>  test/replication/qsync2.lua                   |   1 +
>  test/replication/qsync20.lua                  |   1 +
>  test/replication/qsync21.lua                  |   1 +
>  test/replication/qsync22.lua                  |   1 +
>  test/replication/qsync23.lua                  |   1 +
>  test/replication/qsync24.lua                  |   1 +
>  test/replication/qsync25.lua                  |   1 +
>  test/replication/qsync26.lua                  |   1 +
>  test/replication/qsync27.lua                  |   1 +
>  test/replication/qsync28.lua                  |   1 +
>  test/replication/qsync29.lua                  |   1 +
>  test/replication/qsync3.lua                   |   1 +
>  test/replication/qsync30.lua                  |   1 +
>  test/replication/qsync31.lua                  |   1 +
>  test/replication/qsync4.lua                   |   1 +
>  test/replication/qsync5.lua                   |   1 +
>  test/replication/qsync6.lua                   |   1 +
>  test/replication/qsync7.lua                   |   1 +
>  test/replication/qsync8.lua                   |   1 +
>  test/replication/qsync9.lua                   |   1 +

Патч я еще не смотрел нормально, но блин, это перебор. Не надо 30 реплик
стартовать плиз. Хватит 5 максимум. И между ними рандомно попрыгать.
Как такой тест отлаживать в случае чего, я не представляю. Как и
насколько долго он работает.


More information about the Tarantool-patches mailing list