[JAVA-444] make ensureIndex first do a read on index collection to see if index exists Created: 06/Oct/11 Updated: 19/Oct/16 Resolved: 04/Nov/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
this prevents a write lock |
| Comments |
| Comment by auto [ 26/Oct/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message:
|
| Comment by Brendan W. McAdams [ 26/Oct/11 ] |
|
The way this code inserts, it is being blocked by the Key check code if you create an index on an embedded field. |
| Comment by auto [ 24/Oct/11 ] |
|
Author: {u'login': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |