Skip to content

Conversation

@satherton
Copy link
Contributor

@satherton satherton commented Dec 19, 2019

… for all keys read to avoid unnecessary conflicts when read during a status update/cleanup transaction. Since many of the keys read use wrapper functions, all of the underlying functions in BackupAgentBase and its two implementations also required a snapshot mode argument. All snapshot arguments default to false to match the underlying FDB API get/getRange methods.

The vast majority of unnecessary conflicts are due to reading the frequently-changing log and range byte counts, but I decided to eliminate the other unnecessary read conflict keys as well since they unnecessarily bloat the size of a frequently repeated transaction.

…s for all keys read to avoid unnecessary conflicts when read during a status update or cleanup transaction. Since many of the keys read use wrapper functions, all of the underlying functions in BackupAgentBase and its two implementations also required a snapshot mode argument. All snapshot arguments default to false to match the underlying FDB API get/getrange methods.
@apkar
Copy link
Contributor

apkar commented Jan 6, 2020

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants