[SERVER-8097] Inserts don't increment writebacksSince Created: 07/Jan/13  Updated: 11/Jul/16  Resolved: 08/Jan/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2.3, 2.3.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

Attachments: File wbl_not_cleared.js    
Issue Links:
Depends
Related
is related to SERVER-4532 GetLastError on sharded cluster can r... Closed
is related to SERVER-7958 GLE on sharded cluster can return pre... Closed
is related to SERVER-7967 In sharded clusters on failed insert ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Updates and deletes reset the last error, inserts do not. This can result, amongst other things, in an error which is not cleared and repeatedly reported via mongos.

See test case attached.



 Comments   
Comment by auto [ 23/Jan/13 ]

Author:

{u'date': u'2013-01-10T07:29:42Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: SERVER-8097: make test more stable
Branch: v2.2
https://github.com/mongodb/mongo/commit/0bab4de51001b8e60eff262ac5c3e860908f25f0

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T19:41:49Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-8097 increment writebackSince on every request but GLE
Branch: v2.2
https://github.com/mongodb/mongo/commit/c5f1c1474b182143690867760253b0c99ab1fc5b

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T19:41:49Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-8097 increment writebackSince on every request but GLE
Branch: master
https://github.com/mongodb/mongo/commit/0aea5af06d60eb75f3073127ff82ab66284df68c

Comment by Greg Studer [ 07/Jan/13 ]

Fix in testing which increments writebackSince on every request (prepareErrForNewRequest()), not just updates and deletes.

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