Hello,
I am facing an issue for days now regarding balancing of a gridfs collection.
As ou can see on the capture the storage is not balanced correctly between shards over time :
I recreated my database to reset the sharding because I suspected a problem that disabled the shard but the same problem occurs.
Now I am checking again and I see that nothing is sharded from the shell :
mongos> db.getSiblingDB(“config”).chunks.find({ ns: “n_storage.fs.chunks” }).count()
0
mongos> use config
switched to db config
mongos> db.collections.find({“_id”: “n_storage.fs.chunks”})
{ “_id” : “n_storage.fs.chunks”, “lastmodEpoch” : ObjectId(“67a6a46f6cdb3b52cc4282d4”), “lastmod” : ISODate(“2025-02-08T00:25:19.765Z”), “timestamp” : Timestamp(1738974319, 12), “uuid” : UUID(“b8166ae7-5a88-4024-8893-0ab8c3973218”), “key” : { “files_id” : 1, “n” : 1 }, “unique” : false, “chunksAlreadySplitForDowngrade” : false, “noBalance” : false }
mongos>
I am confused about this issue because data seems splited, but sharding seems not correctly performed,
Thanks for your help