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

expose cassandra contact points and use for peer.service #5375

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

amarziali
Copy link
Collaborator

What Does This Do

Surface cassandra contact points on a tag db.cassandra.contact.points and use it as a privileged precursor for cassandra peer.service

Motivation

Additional Notes

@amarziali amarziali requested a review from a team as a code owner June 13, 2023 13:54
@amarziali amarziali force-pushed the andrea.marziali/cassandra-contact-points branch 2 times, most recently from 9d86db4 to b8468ff Compare June 13, 2023 14:06
@pr-commenter
Copy link

pr-commenter bot commented Jun 13, 2023

Benchmarks

Parameters

Baseline Candidate
commit 1.17.0-SNAPSHOT~30cb962687 1.17.0-SNAPSHOT~02b467cae8
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases.

@amarziali amarziali marked this pull request as draft June 13, 2023 16:21
@amarziali amarziali force-pushed the andrea.marziali/cassandra-contact-points branch from b8468ff to 564ab81 Compare June 21, 2023 10:21
@amarziali amarziali marked this pull request as ready for review June 21, 2023 11:35
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Few inline questions.

About the tests, there is some System.setProperty("java.net.preferIPv4Stack", "true") but nothing related to IPv6. Should it be tested too?

settings.gradle Outdated Show resolved Hide resolved
}
return inetSocketAddress.getHostString();
})
.collect(Collectors.joining(","));
Copy link
Contributor

Choose a reason for hiding this comment

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

Are they implicitly distinct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think so

Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Actually, I request to change a package name 😓

@amarziali
Copy link
Collaborator Author

Few inline questions.

About the tests, there is some System.setProperty("java.net.preferIPv4Stack", "true") but nothing related to IPv6. Should it be tested too?

oups I have to clean it up (I used locally and forgot) thanks!

@amarziali amarziali force-pushed the andrea.marziali/cassandra-contact-points branch from 564ab81 to d0da813 Compare June 21, 2023 13:16
@amarziali amarziali force-pushed the andrea.marziali/cassandra-contact-points branch from d0da813 to de87c2c Compare June 21, 2023 13:24
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

LGTM!

@amarziali amarziali force-pushed the andrea.marziali/cassandra-contact-points branch from de87c2c to 02b467c Compare June 22, 2023 07:24
@amarziali amarziali merged commit 575d9a7 into master Jun 22, 2023
@amarziali amarziali deleted the andrea.marziali/cassandra-contact-points branch June 22, 2023 12:43
@github-actions github-actions bot added this to the 1.17.0 milestone Jun 22, 2023
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