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

Handle timestamp wraparound for internode messages

    XMLWordPrintableJSON

Details

    Description

      In internode messaging we send the lower 4 bytes of the timestamp and then correct on receiving side if the local time has wrapped (every 50 days), but we currently don't correct the time if the sending side wrapped before us.

      This can cause us to use the wrong timestamp for the message and if the local System.nanoTime is < 50 days, we get a negative creation time which causes an AssertionError in MonitorableImpl

      Attachments

        Activity

          People

            marcuse Marcus Eriksson
            marcuse Marcus Eriksson
            Marcus Eriksson
            Jon Meredith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: