[SERVER-17939] Backport mongo-rocks updates to v3.0 branch Created: 08/Apr/15  Updated: 19/Jun/15  Resolved: 20/Apr/15

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

Type: Improvement Priority: Minor - P4
Reporter: Igor Canadi Assignee: Ramon Fernandez Marina
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   
  • Expose RocksDB's CompactRange() API
  • Implement not-crash safe counters in Mongo-rocks
  • Implement backup for Mongo+Rocks
  • Fail to start server with invalid rocksdbConfigString

We have been testing those changes in Parse's environment and have good confidence of their stability.



 Comments   
Comment by Githook User [ 20/Apr/15 ]

Author:

{u'username': u'igorcanadi', u'name': u'Igor Canadi', u'email': u'icanadi@fb.com'}

Message: SERVER-17939 Backport mongo-rocks updates to v3.0 branch

  • Expose RocksDB's CompactRange() API
  • Implement not-crash safe counters in Mongo-rocks
  • Implement backup for Mongo+Rocks
  • Fail to start server with invalid rocksdbConfigString
  • Check iterator status only if it's not Valid
  • Switch call to DB::CompactRange to SuggestCompactRange() which is more light weight

We have been testing those changes in Parse's environment and have good
confidence of their stability.

Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com>
Branch: v3.0
https://github.com/mongodb/mongo/commit/a966cea74fc5454f4a03691ffe59ab62162c88f7

Comment by Igor Canadi [ 20/Apr/15 ]

Awesome, thanks Ramon!

Comment by Ramon Fernandez Marina [ 20/Apr/15 ]

Hi igor, I'm doing backports to v3.0 this very minute (as you've probably noticed) This ticket is very close to the head of my queue now, and will be in for 3.0.3.

Comment by Igor Canadi [ 20/Apr/15 ]

Hey Ramon, any updates on this? FYI I updated the branch with two more changes:

  • Check iterator status only if it's not Valid
  • Switch call to DB::CompactRange to SuggestCompactRange() which is more light weight
Comment by Igor Canadi [ 08/Apr/15 ]

The patch is here: https://github.com/mongodb-partners/mongo/tree/v3.0-update

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