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

SimpleCondition await bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.17, 2.0.8
    • None
    • None
    • Low

    Description

      SimpleCondition await

      There is a bug when converting other time unit to millisecond .

      now:
      long end = System.currentTimeMillis() + unit.convert(time, TimeUnit.MILLISECONDS);

      should be:
      long end = System.currentTimeMillis() + TimeUnit.MILLISECONDS.convert(time, unit);

      Attachments

        1. cassandra-1.2-7149.txt
          2 kB
          Jianwei Zhang

        Activity

          People

            Jianwei Zhang Jianwei Zhang
            Jianwei Zhang Jianwei Zhang
            Jianwei Zhang
            jianweizhang
            Jianwei Zhang Jianwei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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