The patchset is a next step on the way of fixing the buckets being deleted on master while still having RO refs on replicas.
Firstly, it makes bucket recovery turn SENDING buckets to SENT in case the transfer was successful. That is done because GARBAGE and SENT statuses will have more difference in the future.
Secondly, the bucket garbage tests are ported to luatest in order to change and extend them later.
Thirdly, it fixes wrong usage of index:min() at 1.10. It exploded on the last commit when min(key) returned something > key.
The patchset is a next step on the way of fixing the buckets being deleted on master while still having RO refs on replicas.
Firstly, it makes bucket recovery turn SENDING buckets to SENT in case the transfer was successful. That is done because GARBAGE and SENT statuses will have more difference in the future.
Secondly, the bucket garbage tests are ported to luatest in order to change and extend them later.
Thirdly, it fixes wrong usage of
index:min()
at 1.10. It exploded on the last commit whenmin(key)
returned something> key
.173