[SERVER-5142] double check after lock that ShardChunkManager in trySetVersion needs to be rebuilt Created: 29/Feb/12 Updated: 11/Jul/16 Resolved: 06/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.4, 2.1.1 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
... otherwise creating a new ShardChunkManager is wasteful and can spam the config server if many threads are blocked on the mutex. |
| Comments |
| Comment by auto [ 06/Mar/12 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 06/Mar/12 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by auto [ 06/Mar/12 ] |
|
Author: {u'login': u'gregstuder', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}Message: |
| Comment by auto [ 04/Mar/12 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by Greg Studer [ 02/Mar/12 ] |
| Comment by Greg Studer [ 01/Mar/12 ] |
|
Not this time |
| Comment by Andy Schwerin [ 01/Mar/12 ] |
|
I could be wrong, but every time I see "double-check locking," I assume it should be related to the "startup initialization solution" issue |