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

Waiting time for write concern increase as time goes by

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

      Waiting time for write concern increase as time goes by usually within 24-36 hours after restart. The issue disappears when the secondary instances are restarted.

      db.currentOp().inprog.filter(function(op){return op.msg === "waiting for write concern"}).map(function(op){op.ms = op.microsecs_running ? op.microsecs_running/1000 : 0; return op;}).filter(function(op){ return op.ms > 50}).map(function(op){return {ms : op.ms, col : op.ns}}).reduce(function(e, c){if(e[c.col]){e[c.col].push(c.ms)}else{e[c.col]=[c.ms]} return e}, {})
      {
      	"talk-visitor.$cmd" : [
      		63.167,
      		53.842,
      		58.851,
      		83.493,
      		84.996,
      		56.482,
      		73.045,
      		72.069,
      		61.626,
      		52.806,
      		94.394,
      		69.88
      	],
      	"talk-bprocess.$cmd" : [
      		55.879,
      		83.506,
      		84.399,
      		71.866,
      		94.442,
      		72.401,
      		96.183,
      		85.898,
      		85.221,
      		93.1,
      		73.524,
      		53.025,
      		64.207,
      		67.257,
      		74.376,
      		75.892,
      		74.373,
      		76.926,
      		58.193,
      		97.267,
      		98.968,
      		58.552,
      		64.406,
      		50.717,
      		78.873,
      		86.672,
      		76.467,
      		55.732,
      		54.724,
      		88.214,
      		63.564,
      		83.126,
      		96.293,
      		82.08,
      		94.8,
      		77.737,
      		97.811,
      		97.347,
      		66.507,
      		66.666,
      		98.903,
      		77.283,
      		76.561,
      		84.656,
      		52.504,
      		78.816,
      		65.262,
      		82.005,
      		64.24,
      		75.829,
      		88.85
      	],
      	"talk-vsession.$cmd" : [
      		68.412
      	]
      }
      

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            shankar.k Shankar Karuppiah
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: