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

Add decrement to Counter64

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 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

            scotthernandez Scott Hernandez (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: