Open R-omk opened 2 years ago
Maybe related https://github.com/tarantool/tarantool/issues/6545
Generations would cause schema change - we need to update _bucket format for it. (https://github.com/tarantool/vshard/issues/372#issuecomment-1311040670)
for purposes for which I would need such functionality, a regular counter in lua memory would be enough (even if they are not persistent), triggers solve this problem. A solution with saving data to space would also solve the issue, but then it need to understand why this can be useful.
Whenever a bucket changes its state (comes or leaves) during resharding, increment the counter, this will allow the application layer to determine that the bucket may have been written to on another replicaset, useful for control various caches on lua side.