evio: fix timeout calculations
The function evio_timeout_update() failed to update the starting time point, which lead to timeouts happening much faster than they should if there were consecutive calls to the function. This lead, for example, to applier timing out while reading a several megabyte-size row in 0.2 seconds even if replication_timeout was set to 15 seconds. Closes #4042
Showing
- src/box/xrow_io.cc 2 additions, 2 deletionssrc/box/xrow_io.cc
- src/lib/core/coio.cc 9 additions, 9 deletionssrc/lib/core/coio.cc
- src/lib/core/coio.h 1 addition, 1 deletionsrc/lib/core/coio.h
- src/lib/core/evio.h 3 additions, 2 deletionssrc/lib/core/evio.h
- test/replication/long_row_timeout.result 114 additions, 0 deletionstest/replication/long_row_timeout.result
- test/replication/long_row_timeout.test.lua 50 additions, 0 deletionstest/replication/long_row_timeout.test.lua
- test/replication/suite.cfg 1 addition, 0 deletionstest/replication/suite.cfg
Loading
Please register or sign in to comment