Skip to content

Conversation

muzarski
Copy link
Contributor

Fixes: #238

This PR implements cass_cluster_set_coalesce_delay.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have implemented Rust unit tests for the features/changes introduced.
  • [ ] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.
  • [ ] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.

@muzarski muzarski self-assigned this Apr 15, 2025
@muzarski muzarski added this to the 0.5 milestone Apr 15, 2025
@muzarski muzarski requested review from Lorak-mmk and wprzytula and removed request for wprzytula April 15, 2025 11:02
@muzarski
Copy link
Contributor Author

v1.1: Addressed @wprzytula comments

@muzarski muzarski requested a review from wprzytula April 16, 2025 08:35
@wprzytula wprzytula removed their request for review April 16, 2025 08:40
I also set the reasonable defaults.
Implemented unit test for setting the delay.
@muzarski
Copy link
Contributor Author

v1.2: After applying @wprzytula suggestion, clippy found out that we can use match delay_us.cmp(&0) instead of having multiple if branches. Applied the clippy suggestion.

@muzarski muzarski requested a review from wprzytula April 16, 2025 08:44
@muzarski muzarski merged commit b3f8dd1 into scylladb:master Apr 16, 2025
12 checks passed
@muzarski muzarski deleted the coalesce_delay branch April 16, 2025 10:56
@wprzytula wprzytula mentioned this pull request Jun 17, 2025
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.

Implement cass_cluster_set_coalesce_delay

3 participants