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

Don't raise startup warnings on missing _id for collections that don't get replicated

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.3
    • Component/s: Admin
    • None
    • Replication
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      It is possible for a map/reduce job to be interrupted in such a way that the _id does not exist. When a node with this issue is restarted, a message similar to the following will appear in startup warnings:

       WARNING: the collection 'foo.tmp.bar' lacks a unique index on _id. This index is needed for replication to function properly
      

      Since this collection is never going to be replicated (temporary mr collection - SERVER-13981) there should not be a warning about it not being able to replicate properly

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: