[SERVER-21325] Collection validate erroneously warns about inconsistent validation results Created: 06/Nov/15  Updated: 17/Nov/15  Resolved: 09/Nov/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.2.0-rc2
Fix Version/s: 3.2.0-rc3

Type: Bug Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Daniel Pasette (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

var coll = db.foo;
coll.drop();
coll.insert({});
coll.insert({});
coll.validate();

Sprint: QuInt C (11/23/15)
Participants:

 Description   

The values in the sizeStorer are compared to the results of running WiredTiger validate. If the sizeStorer hasn't been synced, it may give an erroneous warning.

Here's the server output when running the short script in this ticket:

2015-11-06T09:50:39.986-0500 I COMMAND  [conn1] CMD: validate test.foo
2015-11-06T09:50:39.998-0500 W STORAGE  [conn1] table:collection-0-1346335310766002818: Existing data in size storer (1 records 22 bytes) is inconsistent with validation results (2 records 44 bytes). Updating size storer with new values.



 Comments   
Comment by Githook User [ 09/Nov/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-21325 remove warning about inconsistent sizeStorer stats during validate
Branch: master
https://github.com/mongodb/mongo/commit/667d01357a29324b7fa510ec217fe6d090094e6e

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