replBatchLimitOperations should be unsigned

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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)

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: