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

Unify metadata version type and remove nodes config singleton #1200

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Feb 19, 2024

Unify metadata version type and remove nodes config singleton

Copy link

github-actions bot commented Feb 19, 2024

Test Results

111 files  ±0  111 suites  ±0   10m 28s ⏱️ +9s
100 tests ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 
255 runs  ±0  255 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f243ab2. ± Comparison against base commit e5c6f5b.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating this PR @AhmedSoliman. The changes look good to me. +1 for merging.

I left a minor comment regarding the removal of NetworkAddress. I have a small PR where I used this type to instruct the node server to bind to unix domain sockets or tcp sockets. There it would still be useful.

@@ -179,59 +84,52 @@ impl NodeConfig {

#[derive(Debug, Clone, Eq, PartialEq, Hash, derive_more::Display)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum NetworkAddress {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like the NetworkAddress can still be useful to instruct the node server where to bind to. I guess it could contain the variants Uds and TcpSocketAddr, for example.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed in #1201

@AhmedSoliman AhmedSoliman changed the title Unify metadata version type and remove nodes config singleton MetadataManager init Feb 20, 2024
@AhmedSoliman AhmedSoliman changed the title MetadataManager init Unify metadata version type and remove nodes config singleton Feb 20, 2024
@AhmedSoliman AhmedSoliman merged commit f243ab2 into main Feb 20, 2024
19 checks passed
@AhmedSoliman AhmedSoliman deleted the pr1200 branch February 20, 2024 13:46
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.

2 participants