Error
Error Code: 87

MongoDB Error 87: Chunk Splitting Failure

📦 MongoDB
📋

Description

Error 87, 'Cannot Split', indicates that MongoDB failed to divide a data chunk within a sharded cluster. This typically occurs during automatic chunk balancing or manual chunk operations when the system is unable to find a suitable split point, often due to shard key design or data distribution patterns.
💬

Error Message

Cannot Split
🔍

Known Causes

4 known causes
⚠️
Ineffective Shard Key Design
The chosen shard key might not allow for effective chunk splitting, such as a monotonically increasing key which concentrates writes and makes finding split points difficult.
⚠️
Highly Skewed Data Distribution
A specific chunk might contain an overwhelming majority of documents for a particular shard key range, making it difficult for the balancer to find a balanced split point.
⚠️
Minimum Chunk Size Constraints
The chunk might already be too small or near the minimum acceptable size, preventing further division by the balancer.
⚠️
Concurrent Operations or Resource Contention
High load or other intensive operations on the cluster can interfere with the chunk splitting process, leading to temporary failures.
🛠️

Solutions

Coming Soon

Detailed step-by-step solutions for this error are being prepared. In the meantime, try these general troubleshooting tips:

General Troubleshooting Tips

  • Check the error message carefully for specific details
  • Review recent changes that might have caused the error
  • Search for the exact error code in the official documentation
  • Check log files for additional context
  • Try restarting the application or service
🔗

Related Errors

5 related errors