Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1393

Crush in mongodb-core/lib/topologies/replset_state.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.5
    • Affects Version/s: None
    • Component/s: None

      I'm seeing a random crushes when running multiple heavy updateMany calls against replset.

      /srv/node_modules/mongodb-core/lib/topologies/replset_state.js:149
        var serverName = server.name.toLowerCase();
                               ^
      
      TypeError: Cannot read property 'name' of null
          at ReplSetState.remove (/srv/node_modules/mongodb-core/lib/topologies/replset_state.js:149:26)
          at Object.handler [as cb] (/srv/node_modules/mongodb-core/lib/topologies/replset.js:1221:28)
          at Connection.<anonymous> (/srv/node_modules/mongodb-core/lib/connection/pool.js:299:33)
          at Connection.g (events.js:291:16)
          at emitTwo (events.js:106:13)
          at Connection.emit (events.js:191:7)
          at Socket.<anonymous> (/srv/node_modules/mongodb-core/lib/connection/connection.js:256:10)
          at Socket.g (events.js:291:16)
          at emitNone (events.js:86:13)
          at Socket.emit (events.js:185:7)
      

      Servers are running mongodb 3.2.8
      Driver version: 3.0.5

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            sunrize531@gmail.com Ivan Filimonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: