-
Notifications
You must be signed in to change notification settings - Fork 103
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
Update default session sync allowance #1560
Conversation
@PoktBlade We didn't have any tests dependent on the default value? |
@Olshansk don't remember, i'll rerun the tests and modify them if needed |
Let's hold off on either merging this on or closing it until the latest portal metrics are stable. Will send an announcement out in discord and I added a note at the top offhttps://github.com/pokt-network/pocket-core/releases/edit/RC-0.10.0 |
discord messages for visibility Blade — 07/03/2023 5:21 PM Olshansky — 07/03/2023 6:59 PM Olshansky — 07/03/2023 8:48 PM: Blade — 07/03/2023 8:50 PM: Blade — 07/03/2023 9:11 PM: |
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.
Description
This PR sets the default session sync allowance back to zero, effectively removing the session rollover fix as a default setting. Clients can re-enable as they see fit. Gateways should code logic that accounts for old sessions. Gateways should also always use the latest session when possible.
PNI recently transitioned from AWS to GCP, and their Portal V1 stack to V2 stack. This has resulted in 1.3B to ~600m relays being submitted on the chain. Our fleet of 4K+ nodes has also seen reduced served traffic significantly.
The rationale behind this change is simple: Too many changes all happening at once. This change is simply to prevent additional noise from the ongoing incident. Once PNI's V2 gateway is stable and network traffic is stable, we can set this default back to
1
with a new build given its nonconsensus changing.NOTE: This is to prevent any more damage with the ongoing incident and cause additional confusion for the gateway and node runners. Since we don't know what the root cause is for the missing traffic, by not including it by default, it removes one less factor for them to consider.
Relevant PR: #1536
Summary generated by Reviewpad on 27 Jun 23 04:41 UTC
This pull request updates the default session sync allowance configuration from 1 to 0, representing a session unit (irrespective of num blocks per session). This ensures that the session sync allowance configuration is more adjustable for user's needs.