-
Notifications
You must be signed in to change notification settings - Fork 106
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
go/worker/storage: Add StorageRPC role and change access policy #3696
Conversation
b721fc9
to
6a42295
Compare
Codecov Report
@@ Coverage Diff @@
## master #3696 +/- ##
==========================================
- Coverage 66.50% 66.45% -0.06%
==========================================
Files 400 399 -1
Lines 39654 39582 -72
==========================================
- Hits 26372 26303 -69
+ Misses 9516 9497 -19
- Partials 3766 3782 +16
Continue to review full report at Codecov.
|
6a42295
to
5412fbc
Compare
} | ||
|
||
// If not configured otherwise, state access should be restricted to storage committee members. | ||
default: |
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.
Why is this part not covered? Are we not testing with any storage nodes that don't expose public RPC? We should test those as well (e.g., configure a storage node without public RPC exposed). Maybe in cases where we have two storage nodes, set one to expose public RPC and the other to not expose it?
a914a7d
to
4f4e0a5
Compare
Getting checkpoints and diffs is now allowed for any connecting node, which eliminates a race condition and initialization difficulty in the storage committee node startup. State access is made gated but optionally public as before, depending on command line parameters.
4f4e0a5
to
267b902
Compare
Getting checkpoints and diffs is now allowed for any connecting node,
which eliminates a race condition and initialization difficulty in the
storage committee node startup.
State access is made gated but optionally public as before, depending on
command line parameters.
Closes #3562