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

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • 3.0.3
    • None
    • Admin
    • None

    Description

      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

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: