Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8763

Add decrement to Counter64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-rc1
    • Fix Version/s: 2.4.0-rc2
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      Right now there is a unsigned/sign-extend issue in the use of counter.increment(-num) on 32bit platforms.

      We should add decrement and use the underlying subtractAndFetch with the incoming unsigned value.

        Attachments

          Activity

            People

            Assignee:
            scotthernandez Scott Hernandez
            Reporter:
            scotthernandez Scott Hernandez
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: