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

replica in STARTUP2 state cannot be stopped

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.3
    • Component/s: Admin
    • None
    • ALL

      Once entered a STARTUP2 server cannot be stopped correctly, only killed via `kill -9 <pid>`. It probably will stop gracefully once through it's STARTUP2 phase and into RECOVERY or SECONDARY, but STARTUP2 may be quite a lengthy process (days) if large databases are to be replicated.
      Also once restarted after unclean shutdown replica Secondary wipes out all halfreplicated files and starts over again from scratch.
      This makes replication essentially one gigantic atomic operation, exteremely lengthy, unmanageable and unreliable.
      This behaviour should be either documented or (ideally) fixed, making initial replication interuptable process.

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            mobafill Alex Kotenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: