Skip to content

Conversation

@etschannen
Copy link
Contributor

enforce a minimum recovery duration, which allows proxies to avoid checking if the epoch is alive as long as its last commit has been less than MINIMUM_RECOVERY_DURATION ago

…ecking if the epoch is alive as long as its last commit has been less than MINIMUM_RECOVERY_DURATION ago
time checked on the proxy should be less than the time waited by the master to account for clock speed differences
setting REQUIRED_MIN_RECOVERY_DURATION and ENFORCED_MIN_RECOVERY_DURATION to 0 will go back to the old behavior
@etschannen etschannen changed the title Added an efficient method for the proxies to confirm the epoch is alive Make CAUSAL_READ_RISKY much less risky Jul 13, 2019
Copy link
Contributor

@ajbeamon ajbeamon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good. The one comment I'd have is that it negatively changes the performance of CAUSAL_READ_RISKY in some cases, so we should probably note that in the release notes. It appears that setting knobs appropriately gets us back to the old behavior, though, so it doesn't seem like a huge deal.

@ajbeamon
Copy link
Contributor

Also, we've got some merge conflicts.

@etschannen
Copy link
Contributor Author

I will add release notes, and add a note about it

# Conflicts:
#	bindings/flow/tester/Tester.actor.cpp
#	bindings/go/src/_stacktester/stacktester.go
#	bindings/java/src/test/com/apple/foundationdb/test/AsyncStackTester.java
#	bindings/java/src/test/com/apple/foundationdb/test/StackTester.java
#	bindings/python/tests/tester.py
#	bindings/ruby/tests/tester.rb
#	documentation/sphinx/source/api-c.rst
#	documentation/sphinx/source/api-python.rst
#	documentation/sphinx/source/api-ruby.rst
#	documentation/sphinx/source/data-modeling.rst
#	documentation/sphinx/source/developer-guide.rst
#	fdbclient/vexillographer/fdb.options
#	fdbserver/MasterProxyServer.actor.cpp
@etschannen
Copy link
Contributor Author

I will do the release notes in a separate PR, for now I want to get all of the code which will be in 6.2 merged

@etschannen etschannen merged commit 04c6af6 into apple:master Jul 27, 2019
@etschannen etschannen deleted the feature-skip-confirm branch July 31, 2019 02:34
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