Hi
After migrating the MongoDB version from 4.0.16 - Feb 5, 2020 to 4.0.17 - Mar 25, 2020. for some collections when I run a Query or a MR I am getting:
Failed to retrieve documents
[M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 [sharded cluster] [direct]] Database error!
Stacktrace:
_/ java.lang.Exception: [M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 [sharded cluster] [direct]] Database error! |
____/ Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message 'Failed to run query after 10 retries :: caused by :: version mismatch detected for M_AUDIT_CDR.AUDIT_KPN' on server |
Can you please give me a quick solution to fix this, since all my system is stuck because I cannot access several collections.
Thank you.
Rui
- duplicates
-
SERVER-45119 CollectionShardingState::getCurrentShardVersionIfKnown returns collection version instead of shard version
- Closed