[SERVER-8344] warnings from IndexRebuilder at startup Created: 25/Jan/13  Updated: 28/Oct/15  Resolved: 11/Feb/13

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 2.3.2
Fix Version/s: 2.4.0-rc1

Type: Bug Priority: Minor - P4
Reporter: Eric Milkie Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-8536 reenable IndexRebuilder for backgroun... Closed
Operating System: ALL
Steps To Reproduce:

./mongod --noIndexBuildRetry
(crtl-c)
./mongod

Participants:

 Description   

If you start mongod with --noIndexBuildRetry, and then stop the server and restart it without the flag, you get some odd warnings at startup:

Fri Jan 25 16:37:38.094 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.094 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.094 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.094 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.095 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.095 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }
Fri Jan 25 16:37:38.095 [IndexRebuilder] warning: ClientCursor::yield can't unlock b/c of recursive lock ns: test.system.namespaces top: { opid: 27, active: true, secs_running: 0, op: "getmore", ns: "test.system.namespaces", query: {}, client: "0.0.0.0:0", desc: "IndexRebuilder", threadId: "0x7fa5f7801700", locks: { ^: "W" }, waitingForLock: false, numYields: 0, lockStats: { timeLockedMicros: {}, timeAcquiringMicros: { r: 1, w: 0 } } }



 Comments   
Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-26T15:21:34Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8344 disable noIndexBuildRetry parameter
Branch: master
https://github.com/mongodb/mongo/commit/efac678a395772d05fdb0b742275f6e0844d2bc1

Comment by Kristina Chodorow (Inactive) [ 12/Feb/13 ]

Probably should undocument the --noIndexBuildRetry option.

Comment by auto [ 12/Feb/13 ]

Author:

{u'date': u'2013-02-12T20:58:38Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8344 disable IndexRebuilder test
Branch: master
https://github.com/mongodb/mongo/commit/c1dca21e709b7fdbffedba1c7e279ab32aa14dcb

Comment by auto [ 12/Feb/13 ]

Author:

{u'date': u'2013-02-12T20:51:43Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8344 disable IndexRebuilder at startup
Branch: master
https://github.com/mongodb/mongo/commit/d4bbcbd420773c6bd2bf2121e0029f277ceb20e8

Comment by auto [ 11/Feb/13 ]

Author:

{u'date': u'2013-02-11T17:12:21Z', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: SERVER-8344 Add log message about skipping index build retries
Branch: master
https://github.com/mongodb/mongo/commit/71440fea8bf12d12705830817fa1c1a7275ec041

Comment by auto [ 11/Feb/13 ]

Author:

{u'date': u'2013-02-11T15:41:52Z', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: SERVER-8344 Rebuild indexes before listening
Branch: master
https://github.com/mongodb/mongo/commit/39d99f00e987d2164412800ea8dbc0894c899cd5

Comment by Eric Milkie [ 09/Feb/13 ]

Tests are still breaking:

09-Feb-2013 16:32:15	 m31001| Sat Feb  9 16:32:15.883 [IndexRebuilder] assertion 16550 not authorized for query on local.system.namespaces ns:local.system.namespaces query:{}
09-Feb-2013 16:32:15	 m31001| Sat Feb  9 16:32:15.883 [IndexRebuilder] problem detected during query over local.system.namespaces : { $err: "not authorized for query on local.system.namespaces", code: 16550 }
09-Feb-2013 16:32:15	 m31001| Sat Feb  9 16:32:15.883 [IndexRebuilder]   Fatal Assertion 16253

Comment by auto [ 08/Feb/13 ]

Author:

{u'date': u'2013-02-08T21:07:23Z', u'email': u'kristina@10gen.com', u'name': u'Kristina'}

Message: SERVER-8344 Prevent query state errors on index rebuild
Branch: master
https://github.com/mongodb/mongo/commit/12b4c4a7c2540f0102637fd53bdceff77e9debdf

Comment by auto [ 08/Feb/13 ]

Author:

{u'date': u'2013-02-08T17:30:48Z', u'email': u'kristina@10gen.com', u'name': u'Kristina'}

Message: SERVER-8344 Do not recursively lock during index rebuilds
Branch: master
https://github.com/mongodb/mongo/commit/084f2697b60982c2b5f6f8a0cb111c71bd1c7a64

Generated at Thu Feb 08 03:17:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.