Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-18086

Bug fix for 'wait' time to be in nanoseconds for consistency instead of microseconds

    XMLWordPrintableJSON

Details

    • Degradation - Performance Bug/Regression
    • Normal
    • Normal
    • Adhoc Test
    • All
    • None
    • 4.1
    • Hide

      Add unit test to `ContentionStrategyTest.java` to check that the calculated wait is as expected.

      Show
      Add unit test to `ContentionStrategyTest.java` to check that the calculated wait is as expected.

    Description

      While working on benchmarking Paxos improvements in OSS Cassandra, benedict was asked to review the work and thus found that the wait time was input in microseconds but then output incorrectly in the ContentionStrategy.java file, i.e., by summing up a wait time in nanoseconds with another wait time in microseconds (two different units used mistakenly). So, Benedict suggested the fix whereby the output wait time was then enforced to be consistently in nanoseconds.

      Attachments

        Issue Links

          Activity

            People

              marianne-manaog Marianne Lyne Manaog
              marianne-manaog Marianne Lyne Manaog
              Marianne Lyne Manaog
              Ariel Weisberg, Benedict Elliott Smith, Blake Eggleston, Josh McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m