wal: drop rows_per_wal option
Rows_per_wal option was deprecated because it can be covered by wal_max_size. In order not to complicate WAL code with that option's support this commit drops it completely. In some tests the option was used to create several small xlog files. Now the same is done via wal_max_size. Where it was needed, number of rows per wal is estimated as wal_max_size / 50. Because struct xrow_header size ~= 50 not counting paddings and body. Note, file box/configuration.result was deleted here, because it is a stray result file, and it contained the rows_per_wal option mentioning. Its test was dropped much earlier in fdc3d1dd. Closes #3762
Showing
- src/box/box.cc 4 additions, 26 deletionssrc/box/box.cc
- src/box/lua/load_cfg.lua 0 additions, 2 deletionssrc/box/lua/load_cfg.lua
- src/box/wal.c 4 additions, 10 deletionssrc/box/wal.c
- src/box/wal.h 10 additions, 1 deletionsrc/box/wal.h
- test/app-tap/init_script.result 19 additions, 20 deletionstest/app-tap/init_script.result
- test/app-tap/snapshot.test.lua 1 addition, 1 deletiontest/app-tap/snapshot.test.lua
- test/app/app.lua 1 addition, 1 deletiontest/app/app.lua
- test/app/fiber.result 3 additions, 3 deletionstest/app/fiber.result
- test/app/fiber.test.lua 2 additions, 2 deletionstest/app/fiber.test.lua
- test/box-py/box.lua 1 addition, 1 deletiontest/box-py/box.lua
- test/box-tap/cfg.test.lua 1 addition, 2 deletionstest/box-tap/cfg.test.lua
- test/box/admin.result 0 additions, 2 deletionstest/box/admin.result
- test/box/cfg.result 0 additions, 4 deletionstest/box/cfg.result
- test/box/configuration.result 0 additions, 107 deletionstest/box/configuration.result
- test/box/proxy.lua 1 addition, 1 deletiontest/box/proxy.lua
- test/box/tiny.lua 0 additions, 1 deletiontest/box/tiny.lua
- test/engine/box.lua 1 addition, 1 deletiontest/engine/box.lua
- test/engine/recover_snapshot_wal.result 36 additions, 1007 deletionstest/engine/recover_snapshot_wal.result
- test/engine/recover_snapshot_wal.test.lua 24 additions, 3 deletionstest/engine/recover_snapshot_wal.test.lua
- test/engine_long/box.lua 0 additions, 1 deletiontest/engine_long/box.lua
Loading
Please register or sign in to comment