-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.4
-
Component/s: Index Maintenance
-
None
-
Environment:RHEL 5, CentOS 6.4
-
ALL
-
My loader scripts call ensureIndex to allow the database to automatically be generated, however it turns out that the current release of the perl API doesn't support the expiresAfterSecond argument, which I discovered after creating the index. Therefore I remove the index and created one in the background from the mongo console. Meanwhile my script restarted, which resulted in the database becoming corrupted (luckily recover did succeed). Have distilled out the underlying issue in an attached script.
- duplicates
-
SERVER-9856 No check for building identical background indexes concurrently
- Closed