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

implement { replSetFreeze : <bool> } please

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.2
    • Component/s: None
    • Labels:
      None

      Description

      We needed today the ability to freeze a set and have no decisions made on elections for some period of time. The exact issue was our code started blowing up the # of connections. We wanted to restart the master w/o having a slave pick up. We could bring down each slave first, but it would be nice just to tell the 'cluster' to not make any decisions on the cluster, but when we tried that we got:

      Wed Oct 13 14:40:28 git version: aef371ecf5d2a824f16ccdc3b745f3702165602f
      Wed Oct 13 14:40:28 sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
      Wed Oct 13 14:40:28 exception in initAndListen std::exception: old lock file, terminating
      Wed Oct 13 14:40:28 dbexit:

      Wed Oct 13 14:40:28 shutdown: going to close listening sockets...
      Wed Oct 13 14:40:28 shutdown: going to flush oplog...
      Wed Oct 13 14:40:28 shutdown: going to close sockets...
      Wed Oct 13 14:40:28 shutdown: waiting for fs preallocator...
      Wed Oct 13 14:40:28 shutdown: closing all files...
      Wed Oct 13 14:40:28 closeAllFiles() finished

      Wed Oct 13 14:40:28 dbexit: really exiting now

        Attachments

          Activity

            People

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            kgorman Kenny Gorman
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: