Skip to content

Feature/cep 59/clean configs setup#6

Open
AshenScribe wants to merge 6 commits into
feature/cep-59/mainfrom
feature/cep-59/clean-configs-setup
Open

Feature/cep 59/clean configs setup#6
AshenScribe wants to merge 6 commits into
feature/cep-59/mainfrom
feature/cep-59/clean-configs-setup

Conversation

@AshenScribe

Copy link
Copy Markdown
Owner

@AshenScribe AshenScribe self-assigned this Apr 27, 2026
@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch from 0b47d31 to a172e61 Compare April 27, 2026 18:30
@AshenScribe AshenScribe deleted the feature/cep-59/clean-configs-setup branch April 30, 2026 18:14
@AshenScribe AshenScribe restored the feature/cep-59/clean-configs-setup branch May 4, 2026 17:53
@AshenScribe AshenScribe reopened this May 4, 2026
@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch 2 times, most recently from 60df719 to ea7863b Compare May 5, 2026 17:04
@SiyaoIsHiding

Copy link
Copy Markdown

What's the status of this PR? Is this ready for review?

@AshenScribe

Copy link
Copy Markdown
Owner Author

@SiyaoIsHiding yes

@SiyaoIsHiding SiyaoIsHiding left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Did you run all integration tests with all tests passing?
Did you manually setup a Cassandra cluster with a different graceful_disconnect_grace_period: 6000 in cassandra.yaml and made sure getGracefulDisconnectGracePeriod actually gets 6000?
Code looks good. It would be great if you describe what testing you did.


# Enable or disable graceful disconnect. When false, shutdown behavior is
# unchanged from previous versions.
graceful_disconnect_enabled: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I thought we agreed that it would be disabled by default in the first release?

@@ -0,0 +1,158 @@
# Graceful Disconnect — In-Band Connection Draining for Cassandra Node Shutdown

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This markdown file shouldn't be here

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Such documentation can be added to the manual, after we finish the implementation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

e.g. doc/modules/cassandra/pages/managing/operating/

@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch from ea7863b to 3751ceb Compare May 16, 2026 03:56
@AshenScribe

AshenScribe commented May 18, 2026

Copy link
Copy Markdown
Owner Author

@SiyaoIsHiding
this is a PR adding two new configs, running all the test cases of codebase will be an overkill and hours of work.
As of testing DatabaseDescriptorTest.java and StorageServiceTest.java contain unit tests which test the default and if value is changed on changing. Change has also been verified by jmxterm

ant jar is successful too.

Comment thread conf/cassandra.yaml Outdated
# See: org.apache.cassandra.transport.GracefulShutdown.md

# Enable or disable graceful disconnect. When false, shutdown behavior is
# unchanged from previous versions.

@michaelsembwever michaelsembwever May 24, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

mention what the default is (when it's commented out)

Comment thread conf/cassandra_latest.yaml Outdated

# Enable or disable graceful disconnect. When false, shutdown behavior is
# unchanged from previous versions.
# graceful_disconnect_enabled: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

uncomment and enable

@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch 4 times, most recently from a83d38e to 57a49d1 Compare May 25, 2026 03:39
@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch from 57a49d1 to 6923871 Compare May 25, 2026 03:43
…nnect_grace_period(earlier 30s) to true and 5s respectively
@AshenScribe AshenScribe force-pushed the feature/cep-59/clean-configs-setup branch from 6923871 to fac977e Compare May 25, 2026 03:45
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.

3 participants