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

Server 2.6 should respect userFlags when creating a new replica

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.7
    • Component/s: Replication
    • None
    • Replication
    • ALL
    • Hide

      Create a small replica set
      Create a collection with usePowerOf2Size disabled
      Add a new member to the replica set
      This new member will change the value of usePowerOf2Size

      Show
      Create a small replica set Create a collection with usePowerOf2Size disabled Add a new member to the replica set This new member will change the value of usePowerOf2Size

      Replica sets created by 2.6 servers always set the usePowerOf2Sizes flag for all collections it creates, even if the source collection being replicated does not have this flag set.

      My GridFS collection almost doubled in size on the new server because most of my documents were created with an old driver version. This issue is described here: SERVER-13331 .

      I believe the correct workaround is to copy the data files from an existing replica member before joining the replica set, but I haven't tested that yet.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            hhubris Tony Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: