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

replBatchLimitOperations should be unsigned

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication
    • ALL

    Description

      In sync_tail.h:

      static AtomicInt32 replBatchLimitOperations;
      

      This should instead be an AtomicWord<size_t>, because we use it to initialize variables of size_t type (which is unsigned), and because it should match the type of the variable with the same name found in data_replicator.h. (We should probably change replBatchLimitOperations in data_replicator.h to be std::size_t instead of std::uint32_t as well)

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: