MongoShake icon indicating copy to clipboard operation
MongoShake copied to clipboard

MongoShake gridfs utility

Open vineelyalamarthy opened this issue 2 years ago • 1 comments

Gridfs lets us use files in MongoDB. Files meta data stored in files collection and corresponding data in chunks collection. So moving files from one Mongo deployment to another should be done very carefully otherwise we lose integrity of data. I mean lets say

  1. one of the chunks is missed while transferring. OR
  2. Chunks got transferred but their corresponding file record didn't get transferred leaving orphaned chunks.

What extra care does MongoShake take to ensure data integrity?

vineelyalamarthy avatar Jul 14 '22 15:07 vineelyalamarthy

Hi, We have a script which can do something in data integrity. And if MongoShake can't handle some situation, it will exit with an error. https://github.com/alibaba/MongoShake/blob/develop/scripts/comparison.py

zhangst avatar Jul 25 '22 01:07 zhangst