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

MetadataManager init #1202

Merged
merged 1 commit into from
Feb 21, 2024
Merged

MetadataManager init #1202

merged 1 commit into from
Feb 21, 2024

Commits on Feb 21, 2024

  1. MetadataManager init

    This introduces `MetadataManager`, a node-level service that provides uniform access to different metadata kinds. This PR focuses on the nodes configuration only.
    
    `Metadata` is a cheaply cloneable handle that components can use to access metadata. `MetadataWriter` is only shared with components that can propose updates to the cached metadata.
    
    Additionally, this changes the node startup procedure to be one step closer to the original design. Worker attachment is only concerned with partition assignment and node IDs are directly fetched from NodesConfiguration.
    
    In this, nodes configuration will be statically created on startup if the bootstrap_cluster option is set (set by default at the moment). The server will fail to start if this is unset until we implement fetching nodes configuration from metadata store.
    
    The admin_address is not used anymore on startup but will be replaced with metadata address later for remote nodes config fetching.
    AhmedSoliman committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    80017d0 View commit details
    Browse the repository at this point in the history