cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jogesh Anand (Jira)" <>
Subject [jira] [Commented] (CASSANDRA-16621) Replace spinAsserts code with Awaitility code
Date Thu, 15 Jul 2021 06:26:00 GMT


Jogesh Anand commented on CASSANDRA-16621:

Regarding the poll interval, even though 1ms is probably the most similar thing to the original
implementation, I wonder whether it would be too low. Perhaps we could use Awaitility's default
interval of 100ms and then add an optimistic poll delay of zero?{quote}

{quote}But moving to 100ms would might even make more sense to avoid spinning the CPU on yields{quote}

Agree that 1ms is too low. 100ms sgtm. I also think fibonacci polling interval might also
be a good option. Thoughts?


> Replace spinAsserts code with Awaitility code
> ---------------------------------------------
>                 Key: CASSANDRA-16621
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Jogesh Anand
>            Priority: Normal
>              Labels: low-hanging-fruit
>             Fix For: 4.0.x
> Currently spinAsserts does a similar thing to Awaitility which is being used more and
more. We have now 2 ways of doing the same thing so it would be good to consolidate

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message