Replication code does not retry interrupted system call

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While debugging an issue involving a replica set using gdb got the following error:

      2015-01-25T16:10:05.936-0500 W NETWORK  [ReplExecNetThread-0] Failed to connect to 127.0.0.1:27117, reason: errno:4 Interrupted system call
      2015-01-25T16:10:05.936-0500 I REPL     [ReplicationExecutor] Error in heartbeat request to localhost:27117; Location18915 Failed attempt to connect to localhost:27117; couldn't connect to server localhost:27117 (127.0.0.1), connection attempt failed
      2015-01-25T16:10:05.936-0500 I REPL     [ReplicationExecutor] can't see a majority of the set, relinquishing primary
      2015-01-25T16:10:05.936-0500 I REPL     [ReplicationExecutor] Stepping down from primary in response to heartbeat
      2015-01-25T16:10:05.936-0500 I REPL     [replCallbackWithGlobalLock-0] transition to SECONDARY
      

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              Bruce Lucas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: