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

Get Error while reading "Database could not initialize cursor across all shards because : stale config detected for ns:"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      linux OEL
    • ALL

      Hi,
      Setup 1:Mongos
      3:Config server
      10: Mongodb with journal enable

      While reading from mongos we got error "Fri Sep 7 16:50:08 [conn1121] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 0"

      Log :

      Fri Sep 7 16:50:08 [conn1121] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 0
      Fri Sep 7 16:50:08 [conn1122] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 0
      Fri Sep 7 16:50:08 [conn1122] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 1
      Fri Sep 7 16:50:08 [conn1121] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 1
      Fri Sep 7 16:50:09 [conn1122] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 2
      Fri Sep 7 16:50:09 [conn1121] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 2
      Fri Sep 7 16:50:11 [conn1123] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 0
      Fri Sep 7 16:50:11 [conn1124] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 0
      Fri Sep 7 16:50:11 [conn1123] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 1
      Fri Sep 7 16:50:11 [conn1124] ns: 00060912.Database could not initialize cursor across all shards because : stale config detected for ns: 00060912.Database ClusteredCursor::_checkCursor @ 192.168.11.103:10000 attempt: 1

      I have following question are:
      1. Why does above error come??
      2. does it take more then 3 second ?

      How to resolve this error
      Please help me
      Regards,
      JRV

        1. mongod_10000.log_2
          10.00 MB
        2. mongod_10000.log_2
          10.00 MB
        3. mongos_35000.log
          7.75 MB
        4. mongos_35000.log
          5.72 MB

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            jitendra908 jitendra
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: