9bd73c0a85
This commit introduces a change in the key format used to reserve/lookup session-key-indexes. Currently the reservations are stored under the tower id, however this creates issues when multiple clients are using the same database since only one reservation is permitted per tower. We fix this by appending the blob type to the session-key-index locator. This allows multiple clients to reserve keys for the same tower, but still limits each client to one outstanding reservation. The changes are made in a way such that we fall back to the legacy format if the a reservation under the new format is not found, but only if the blob type matches blob.TypeAltruistCommit, which is so far the only actively deployed blob type. |
||
---|---|---|
.. | ||
backup_task_internal_test.go | ||
backup_task.go | ||
candidate_iterator_test.go | ||
candidate_iterator.go | ||
client_test.go | ||
client.go | ||
errors.go | ||
interface.go | ||
log.go | ||
session_negotiator.go | ||
session_queue.go | ||
stats.go | ||
task_pipeline.go |