New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A wide variety of bug fixes and performance improvements related to multi region configurations #892
Merged
Merged
A wide variety of bug fixes and performance improvements related to multi region configurations #892
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
18509ac
account for the overhead of tags on a message when batching transacti…
etschannen 278dbd5
call debug transaction on timekeeper
etschannen 30fbc29
Renamed TimeKeeperStarted to TimeKeeperCommit
etschannen 1d591ac
removed the countHealthyTeams check, because it was incorrect if it t…
etschannen ad98acf
fix: if the team started unhealthy and initialFailureReactionDelay wa…
etschannen e68c07a
fix: trackShardBytes was called with the incorrect range, resulting i…
etschannen 2d9a670
fix: nested multCursors would improperly hang on getMore, because an …
etschannen 1b5d283
fix: the Tlog would not update the durable version properly when vers…
etschannen 979597a
fix: upgraded tags must be popped from all log sets
etschannen 3b97f5a
fix: the storage server still has to pop old tags, even if it does no…
etschannen bf6545a
clients cache storage server interfaces individually, instead of as a…
etschannen f045c04
fix: if a storage server already exists in a remote region after conv…
etschannen 2a8c628
fix: even if a peek cursor cannot find a local set for the most recen…
etschannen 45c8f2d
restarting tests will sometimes configure to a fearless configuration…
etschannen accba4f
keep track of the last time a process became available to set a bette…
etschannen 3304c83
added additional checks in peek which determine when a tag will never…
etschannen 86916ac
fix: configuring regions to an empty string results in error
etschannen c026904
added protection against configuration changes which cannot be immedi…
etschannen 593fa09
added a fixme
etschannen bd60027
test region priority changes
etschannen c1bd279
addressed review comments
etschannen 87d0b4c
fix: the remote region does not have a full replica is usable_regions==1
etschannen 87295cc
suppressed spammy trace events, and avoid reporting a long master rec…
etschannen 04fa2a7
fix: we could recover in a region with priority < 0
etschannen 6bb283a
fix: dcId to Locality changes could be lost if an emergency transacti…
etschannen 599cc62
fix: data distribution who not always add all subsets of emergency teams
etschannen fb9d05a
suppressed a spammy trace event
etschannen 1cf5689
fix: workers could only create a shared transaction log for one store…
etschannen 19ae063
fix: storage servers need to be rebooted when increasing replication …
etschannen 6874e37
fix: set the simulator’s view of usable regions to one during configu…
etschannen 3e2484b
fix: a team tracker could downgrade the priority of a relocation issu…
etschannen 56c51c1
fix: usableRegions was uninitialized
etschannen 7c23b68
fix: we need to build teams if a server becomes healthy and it is not…
etschannen 828b8d8
updated release notes for 6.0.15
etschannen b8381b3
Merge branch 'release-6.0' of github.com:apple/foundationdb into rele…
etschannen File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not obvious to me why this can be removed. I see that there is one wait on a call to
waitStorageMetrics
. Is the idea that it can't throw any errors where we would retry them?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, waitStorageMetrics is not transactional, and is not subject to our normal retry loop. The only reason it a function of a transaction is to use the client's cache of storage server locations. It would probably be more appropriate to make it a function of DatabaseContext.