[SERVER-4732] potential segfault on full config reload during wbl if collection is dropped / unsharded but still receives writebacks Created: 20/Jan/12  Updated: 11/Jul/16  Resolved: 11/Jun/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 2.1.2

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux64, potentially others


Attachments: File handle_incorrect_writeback.js    
Issue Links:
Depends
Related
related to SERVER-4711 Don't use masserts when getChunkManag... Closed
is related to SERVER-5200 slowNightly tests failing on sharding... Closed
Operating System: ALL
Participants:

 Description   

When a reload is triggered for a collection which no longer exists, at least through the wbl, a segfault can be triggered.



 Comments   
Comment by auto [ 11/Jun/12 ]

Author:

{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-4262 and SERVER-4732 make wbl less aggressive and more tolerant of dropping sharded collections

This reverts commit 38a258f13283440eb3f19afbb653d872b04d0d98.
Branch: master
https://github.com/mongodb/mongo/commit/ec289d975679f18661f191776b1fca8d0bf4b14d

Comment by auto [ 09/Jun/12 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: Revert "SERVER-4262 and SERVER-4732 make wbl less aggressive and more tolerant of dropping sharded collections"

This reverts commit bc4475ebcb2548e21fadf44549b73f61f0c577ce.
Branch: master
https://github.com/mongodb/mongo/commit/38a258f13283440eb3f19afbb653d872b04d0d98

Comment by auto [ 09/Jun/12 ]

Author:

{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-4262 and SERVER-4732 make wbl less aggressive and more tolerant of dropping sharded collections

also better track and message how many writebacks are being processed
at each version
Branch: master
https://github.com/mongodb/mongo/commit/bc4475ebcb2548e21fadf44549b73f61f0c577ce

Comment by Greg Studer [ 20/Jan/12 ]

May be related.

Comment by Greg Studer [ 20/Jan/12 ]

Test case reproduces a state which may trigger, but on ubuntu 64-bit don't see a sig 11.

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