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

Add decrement to Counter64

    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: