[SERVER-30456] Update Moose _numRecords and _dataSize in validate Created: 01/Aug/17  Updated: 12/Sep/18  Resolved: 28/Aug/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.5.13

Type: Task Priority: Major - P3
Reporter: kim.tao Assignee: Kim Tao
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage 2017-08-21
Participants:

 Description   

Since _numRecords and _dataSize are cached, validate should check these variables against the actual contents of the database.



 Comments   
Comment by Githook User [ 28/Aug/17 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com'}

Message: SERVER-30750 Push MooSE to enterprise master

SERVER-29673 Create a duplicate of the ephemeral_for_test storage engine

SERVER-29674 Add durable backend to Moose storage engine

SERVER-29801 Move SQLite to third party directory

SERVER-30108 Implement moose recovery unit

SERVER-30208 Fix Style

SERVER-30233 Fix Moose reverse cursor

SERVER-30284 Implement Moose Record Store Unit Tests

SERVER-30110 Implement sorted data interface bulk builder, index, unindex

SERVER-30109 Implement SortedDataInterface cursor

SERVER-30153 Implement MooseRecordStore::truncate

SERVER-30340 Implement Moose DocWriter

SERVER-30373 Refactor all sqlite api calls into SqliteStatement

SERVER-30156 Implement Moose validate

SERVER-30427 Fix Moose record store cursor segfault due to data lifetime

SERVER-30408 Cache numRecords and dataSize

SERVER-30456 Check Moose numRecords and dataSize in validate

SERVER-30154 Implement Moose capped collections

SERVER-30447 Implement MooSE Session Pool

SERVER-30586 Fix Moose JS core tests

SERVER-30657 Fix Moose capped num docs check

SERVER-30551 Implement Moose hasIdent() and getIdentSize()

SERVER-30666 Make MooseSessionPool releaseSession() consistent with getSession()

SERVER-30659 Use DBLevelLocking to lock Moose writes

SERVER-30691 Check Moose code consistency and style

SERVER-30736 Fix MooSE DB Exception Handling

remove undefined behavior

(cherry picked from commit a9f6206acb6811d3ba7166b8e2a0bbf3625d9f7b)
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/60c66a02fa4e4333ab6005b66a53ed9428c1e191

Comment by Githook User [ 18/Aug/17 ]

Author:

{'email': 'haley.connelly@mongodb.com', 'name': 'Haley Connelly'}

Message: SERVER-30750 Push MooSE to enterprise master

SERVER-29673 Create a duplicate of the ephemeral_for_test storage engine

SERVER-29674 Add durable backend to Moose storage engine

SERVER-29801 Move SQLite to third party directory

SERVER-30108 Implement moose recovery unit

SERVER-30208 Fix Style

SERVER-30233 Fix Moose reverse cursor

SERVER-30284 Implement Moose Record Store Unit Tests

SERVER-30110 Implement sorted data interface bulk builder, index, unindex

SERVER-30109 Implement SortedDataInterface cursor

SERVER-30153 Implement MooseRecordStore::truncate

SERVER-30340 Implement Moose DocWriter

SERVER-30373 Refactor all sqlite api calls into SqliteStatement

SERVER-30156 Implement Moose validate

SERVER-30427 Fix Moose record store cursor segfault due to data lifetime

SERVER-30408 Cache numRecords and dataSize

SERVER-30456 Check Moose numRecords and dataSize in validate

SERVER-30154 Implement Moose capped collections

SERVER-30447 Implement MooSE Session Pool

SERVER-30586 Fix Moose JS core tests

SERVER-30657 Fix Moose capped num docs check

SERVER-30551 Implement Moose hasIdent() and getIdentSize()

SERVER-30666 Make MooseSessionPool releaseSession() consistent with getSession()

SERVER-30659 Use DBLevelLocking to lock Moose writes

SERVER-30691 Check Moose code consistency and style

SERVER-30736 Fix MooSE DB Exception Handling

remove undefined behavior
Branch: moose
https://github.com/10gen/mongo-enterprise-modules/commit/a9f6206acb6811d3ba7166b8e2a0bbf3625d9f7b

Comment by Githook User [ 15/Aug/17 ]

Author:

{'username': 'Kimchelly', 'email': 'kim.tao@mongodb.com', 'name': 'Kim Tao'}

Message: SERVER-30456 Check Moose numRecords and dataSize in validate
Branch: moose
https://github.com/10gen/mongo-enterprise-modules/commit/bb02554a3f5b4d46a39dcb973b237e1c1ded13ba

Comment by Githook User [ 07/Aug/17 ]

Author:

{'username': 'Kimchelly', 'email': 'kim.tao@mongodb.com', 'name': 'Kim Tao'}

Message: SERVER-30456 Check Moose numRecords and dataSize in validate
Branch: moose
https://github.com/10gen/mongo-enterprise-modules/commit/fe9e7e8a705c53f804b741fec80d47d92ee176f8

Generated at Thu Feb 08 04:23:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.