-
Notifications
You must be signed in to change notification settings - Fork 525
dynamic-lambda: continue tracking the best proposal even after freezing #5701
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
Merged
Merged
Changes from all commits
Commits
Show all changes
275 commits
Select commit
Hold shift + click to select a range
0b8e8a5
less logging, params in vfuture
yossigi 75c8081
enough rounds to activate dynamic lambda
yossigi 3a5a1ed
+msgp_gen test
yossigi 32a30fa
Merge branch 'yossi/taggedDeadlines' into feature/dynamic-lambda
yossigi aa603c9
skip sdk comparison
yossigi cc5a872
rounds run faster now. Give the txn a little bit more time to live
yossigi 69633c7
Merge branch 'master' into feature/dynamic-lambda
yossigi 1379b72
Merge branch 'master' into yossi/taggedDeadlines
yossigi 201dff2
remove agreement-related types from util/timeers, merge of zeldovich@…
yossigi 4d811fb
no need for msgp in timers anymore
yossigi ebbd32b
remove uneeded files
yossigi be9acf6
one deadline for each type
yossigi c51731a
95th percentile deadline
yossigi e676f0a
comment explaining why we store the deadline type
yossigi 9e0a3ff
grace
yossigi 7d39273
add voteVerified ValidatedAt times
cce 272f0a6
add two fields for backwards compatibility
cce 089f4cf
update comment, rerun msgp and add test
cce 5dd8764
Merge pull request #5669 from cce/cce/taggedDeadlines-twofields
cce 0a3fbea
don't choose OldDeadline at random, since the unmarshalling logic is …
yossigi 1ace788
add readLowestEvent from 63c03b907764a583132c55e255d3816d2aad49f8 (or…
cce 911979f
add readLowestVote
cce 83489b5
update handleWinningPayloadArrival and hook up to player tests
cce 93c6a49
rerun msgp
cce c7b9d96
Update proposalStore.go
cce 951ecd0
Update events.go
cce 905551b
doc new parameter
yossigi 2778bdd
add TestPlayerRetainsReceivedValidatedAtAVPP and comments
cce d508405
remove readLowestValue and readLowestPayload
cce 6a31232
rename to lowestCredentialArrivals
cce 6a4ea85
fix fmt string
cce e178503
fix TestPlayerRetainsReceivedValidatedAt tests
cce bb94590
next receives Deadline-type timeouts
yossigi b161d7d
Merge pull request #5671 from cce/dynamic-lambda-vote-validatedAt
cce 83bf00f
credential tracking
yossigi 1404411
conflict fix from taggedDeadlines
yossigi 3580617
address some of the comments
yossigi 53838ab
history window tests
yossigi ea35ee3
nits
yossigi 0bcdf19
typo
yossigi 4cfb6aa
off switch in config
yossigi d459e78
checkpoint: positive test
yossigi bbfe2ae
fix testingClock.Since to give non zero measurements
yossigi b88eab3
add negative test: make sure we discard history window when going to …
yossigi d14bde2
tagged clock interface
yossigi b53d93e
checkpoint: integrating the new clock
yossigi 85585bc
checkpoint: integrating tagged timers
yossigi 5bce862
fix failing tests
yossigi 786e779
names refactor
yossigi e02464f
add some pieces of dynamic lambda from feature/pipeline into agreement
cce b7feca1
add/adapt code from pipelinePlayer.resizeArrivals on feature/pipeline
cce b999bee
checkpoint: param cleanup
yossigi 15eaa70
reset history on non-0 periods
yossigi 358c0eb
test clock tweak
yossigi be5fe0f
avoid weird clock tweak
yossigi 58ac6e8
msgp for tagged deadline
yossigi f679c57
fix lint issues
yossigi a8b9998
fix lint issues
yossigi 05cbd97
parameter cleanup + logging
yossigi 06b0acd
lint
yossigi 32c9423
less logging, params in vfuture
yossigi 5f049d7
enough rounds to activate dynamic lambda
yossigi 85dba70
+msgp_gen test
yossigi 4a258eb
skip sdk comparison
yossigi cbd2bbf
rounds run faster now. Give the txn a little bit more time to live
yossigi 9c3c43b
95th percentile deadline
yossigi 60e7bf3
grace
yossigi 0d7ea4b
doc new parameter
yossigi c8b59c3
add voteVerified ValidatedAt times
cce 1c60257
add readLowestEvent from 63c03b907764a583132c55e255d3816d2aad49f8 (or…
cce fbb4234
add readLowestVote
cce f3aa450
update handleWinningPayloadArrival and hook up to player tests
cce 822e946
rerun msgp
cce a9e9bfc
Update proposalStore.go
cce 97fcbc2
Update events.go
cce 8681dca
add TestPlayerRetainsReceivedValidatedAtAVPP and comments
cce ffc75d2
remove readLowestValue and readLowestPayload
cce a3b1f48
rename to lowestCredentialArrivals
cce 23941a2
fix fmt string
cce 005dfbf
fix TestPlayerRetainsReceivedValidatedAt tests
cce 8a89821
generic timeout type for timers.Clock
zeldovich f88b521
no need for msgp in timers anymore
yossigi 8f884e8
remove uneeded files
yossigi cf06cad
one deadline for each type
yossigi 3b61b8a
comment explaining why we store the deadline type
yossigi 9ce34be
address some of the comments
yossigi 1d7e6e4
history window tests
yossigi 974a74b
nits
yossigi b9c9613
typo
yossigi effc907
off switch in config
yossigi 52621f5
checkpoint: positive test
yossigi 1962351
fix testingClock.Since to give non zero measurements
yossigi 2d74e27
add negative test: make sure we discard history window when going to …
yossigi 34d5f94
rebase on master
yossigi e5da589
merge
yossigi 1c99da0
Merge branch 'master' into feature/dynamic-lambda
yossigi 2aef8af
remove unused variable
yossigi 4af3e2e
remove unneeded checks
yossigi 7b0b9d2
shorter clamping
yossigi d47671e
handle unfilled votes
yossigi 292284e
Merge branch 'master' into feature/dynamic-lambda
yossigi be77e7e
no printing
yossigi b84d3ab
logging the right timeout
yossigi fe288a3
fix
yossigi a9ef051
add voteValidatedAt to telemetry
cce d4604d1
Merge pull request #5691 from cce/dynamic-lambda-telemetry-voteValida…
yossigi 950de96
add dynamicFilterTimeout to BlockAcceptedEvent
cce ba6a55a
rerun make msgp
cce 23d26ac
Merge pull request #5698 from cce/dynamicFilterTimeout-telemetry
yossigi 7016377
move dynamic filter timeout parameters to consts
yossigi 50a9ac0
+license
yossigi 21ecfec
document new event
yossigi 4fc7304
continue tracking the best proposal even after freezing
yossigi e260bf7
use right cred
yossigi 52d9647
checkpoint: more backward compatible change
yossigi 0df7082
relay only behavior
yossigi 8e83a2e
doc line
yossigi 8b0984c
keep old routers for longer
yossigi df7f645
take credential arrival times from credentialRoundLag ago
yossigi 8082f79
lint
yossigi aa341b2
proposalManager doesn't filter old votes + test
yossigi 1b8f21d
nits
yossigi df15f6b
update comment
yossigi 5c2ece2
Merge branch 'master' into feature/dynamic-lambda
yossigi e08143b
fixed tests
yossigi 3e1592b
less conversions
yossigi 128686e
off by 2
yossigi 9a4dfea
var rename
yossigi 4d72b15
credential propagation bound is 2SmallLambda
yossigi 9413913
document parameters
yossigi bab29e7
test
yossigi 17c48d1
circular history buffer
yossigi 57c2e39
credential history tests
yossigi a5bb314
move logic to credentialhistory
yossigi 7a24b27
efficiency remark
yossigi e32460b
fix off by 1 in test
yossigi d8438b7
sanity
yossigi 7e51ae8
Merge branch 'master' into feature/dynamic-lambda
yossigi 22b8c87
checkpoint
yossigi 253ab05
fix unittest: now looking at specific rounds
yossigi 04f607a
tighter checks
yossigi 5e7ad38
tighter checks in tests
yossigi e01ffe6
msgp
yossigi bd007d2
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 6e676cf
partition test comments
yossigi 20d3c2a
fix lint issues, push lowerbound to 1/2s
yossigi 4d03bde
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi f2edc3f
store method documentation
yossigi 5ca8a27
credentialArrivalHistory documentation
yossigi bd2c576
Update agreement/credentialArrivalHistory.go
yossigi 4c1e706
addressing pr comments
yossigi a055334
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi f6979bc
comment about dynamic lambda
yossigi 6a6eec0
1 line less
yossigi 35de996
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi b1495d2
Merge branch 'master' into feature/dynamic-lambda
yossigi 9af5a2b
Merge branch 'master' into yossi/credentialProp
yossigi 7e9f8b5
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 98524f0
credential history be non pointer
yossigi 0d72d56
more legible test
yossigi e924e7c
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 79e1904
partitiontest
yossigi 3162243
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 40935ed
partitiontest
yossigi 27af0b6
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 27f1374
remove redundant check
yossigi c1dea69
fix decoding
yossigi 0ce9fea
allocate once at the end
yossigi a7b6d6f
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 7c1032d
partition test
yossigi ba1fc25
set player before passing to router
yossigi d23b1a3
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi b79b14c
use special consensus version for tests
yossigi 529278a
revert e2e test changes
yossigi 4fe6b66
commented out dynamic filter flag assignment
yossigi ecf406e
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi bfa4e01
historical clocks
yossigi 6243be5
timestamp messages from future rounds at 0
yossigi 869ee41
verified/unauthenticated vote
yossigi 254f768
comment
yossigi ee9ebed
checkpoint: with historical clocks
yossigi 929fa54
updated tests to match historical clocks state keeping
yossigi dc975c7
tests for late coming messages
yossigi ab7c83b
Merge branch 'master' into feature/dynamic-lambda
yossigi c33650e
Merge branch 'feature/dynamic-lambda' into yossi/credentialProp
yossigi 3eeaebe
historical clocks cleanup
yossigi 61d0aa0
more checks that service keeps the right clocks
yossigi 9cc1caa
merge in master
yossigi 56e5ca7
Merge branch 'master' into yossi/credentialProp
yossigi 10c7f30
merge
yossigi e54e550
fix sdk comparison test
yossigi c490e92
Update agreement/proposalManager.go
yossigi 82a659f
nits
yossigi 9163199
fmt
yossigi ef88e2d
update TestProposalTrackerProposalSeeker
cce 8d6a5f1
Update agreement/player.go
yossigi 6d44753
Update agreement/proposalTracker.go
yossigi 19f077c
add LowestAfterFreeze to readLowestEvent
cce 36ce1cd
Merge remote-tracking branch 'upstream/yossi/credentialProp' into cre…
cce 9ad9dbb
fix test off by 1
yossigi 578ac8c
Merge pull request #5723 from cce/credentialProp-tweaks
yossigi 4f17cfd
Update agreement/proposalTracker.go
cce 890b9bc
fix fmt
cce ebbb6f6
gating relay policy change behind consensus upgrade
yossigi 5b720e6
split proposalFresh and proposalUsedForCredentialHistory
cce 2c6122b
Merge pull request #5724 from cce/credentialProp-change
yossigi 59ecd4e
use named constant
yossigi b8b128a
relay vs ignore msg issue
yossigi f6ed967
checkpoint: relay rules
yossigi b3b07ff
relay action order
yossigi 58db3f8
x
yossigi 7038dfa
fix test by enabling dynamic filter timeout feature
yossigi 44d862b
explicitly enable dyamic filter timeout for permutation test
yossigi 7078340
code cleanup
yossigi 291a48c
better comment
yossigi f2fcc97
switch to enum
yossigi 8ff1607
msgp
yossigi f1c1b46
var name
yossigi fd83858
fix lint errors
yossigi 418edcc
debug logging
yossigi 6b2ca69
combine loops
yossigi 50d7be4
simplify verifyPermutationExpectedActions
cce 999ea5f
Apply suggestions from code review
yossigi a4ab04a
Update agreement/player_permutation_test.go
yossigi cf65c53
x
yossigi 4ec269b
fix typos
cce 1078864
rename and document CredentialTrackingNote enum values a little
cce 5192344
new test for late arriviong credentials where the first credential is…
yossigi 917e25f
check staging after updating credential tracking
yossigi 704494b
Update agreement/proposalTracker.go
yossigi da6e736
add TestPlayerRetainsReceivedValidatedAtForHistoryWindowLateBetter an…
cce b3b6cb5
don't persist agreement state for old rounds
cce 363f531
dynamic-lambda: improve handling of duplicate votes and update player…
cce 0372df0
Update agreement/proposalManager.go
cce 41bdce0
Update agreement/events.go
cce 05db006
Update agreement/events.go
cce e6104d5
CR changes
cce f42cad3
rename LowestAfterFreeze => LowestIncludingLate
cce 461ebc8
use switch in AttachReceivedAt
cce cc6d9fb
fix encode to not replace nil rr.Children maps with empty maps
cce dedcd0a
downgrade to nil in encoding rr.Children instead
cce a91d4e8
Merge remote-tracking branch 'upstream/master' into yossi/credentialProp
cce 9d3613e
re-run make msgp with latest master
cce 8c3da99
update CredentialTracking => LateCredentialTracking
cce b4f8598
Update agreement/player.go
cce aa952c0
add clockForRound to support AttachReceivedAt/AttachValidatedAt
cce 81c4bc8
remove unused errProposalManagerPVFreshness and errProposalManagerPVD…
cce 5923d76
rerun "make msgp"
cce b62d48d
rename roundZeroTimer => roundStartTimer and //msgp:ignore constantRo…
cce be63b9e
fix comment
cce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.