Skip to content
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

Remove Performance Secondary, DR Secondary consts #193

Merged
merged 8 commits into from
Mar 12, 2024

Conversation

cipherboy
Copy link
Member

@cipherboy cipherboy commented Mar 10, 2024

Removes references to Enterprise-only functionality from Vault core:

  1. Performance Secondary, a multi-cluster (i.e., multiple active nodes with specialized storage spaces) replication mode.
  2. Disaster Recovery Secondaries, a clustering mode similar to HA mode for replication of data.
  3. The forwarded writer code, used to bridge between PR Secondary clusters.
  4. ENT policy checking and raft configuration
  5. Automatic census (activity log) reporting, for billing
  6. entCore & entCoreConfig which are extensions of Core and CoreConfig for Enterprise.

These are all only useful in a Vault Enterprise context, and we do not have the implementation code behind them; thus, remove many of these helpers and constants allowing us to simplify control flow in many instances, focusing only on the HA mode present in OpenBao.

This code was added to Vault Enterprise to allow Standby nodes of
Performance Secondary clusters to write up to their Active node.
Because this code isn't present in OSS, these stubs should be
removed and the changes reverted.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
From the core vault/ and http/ space, remove references to Performance
Secondary and Disaster Recovery Secondary clusters as they are Vault
Enterprise only functionality. This lets us simplify some of the
semantics around forwarding of requests (removing many no-ops in the
process) and execution of tasks (again, mostly removing no-ops and
unnecessary channels).

Also regenerates all protobuf files, causing a few extraneous checkins
with the new version.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Non-voting nodes and certain autopilot features are limited to Vault
Enterprise only.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Census reporting is a Vault Enterprise feature related to automatic
billing adjustments based on client counting. This is unnecessary in
OpenBao, though client counting remains.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@naphelps naphelps merged commit ff3d610 into openbao:main Mar 12, 2024
78 of 79 checks passed
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.

None yet

2 participants