Dave Brondsema wants to merge 3 commits from /u/brondsem/allura/ to master, 2025-03-06
--delete-duplicate-key-records
argI did not add any tests, sadly. Existing tests use Mock objects, which is hard to work with and not testing actual ming or mongo behavior then. Switching to mim:// would be a bit better but still not reflect real mongo. I tested this with real mongo manually.
Commit | Date | |
---|---|---|
[d44d5e]
(db/better_safe_index_deduping)
by
ensure_index: make deduping work on nested fields like "foo.bar.baz" |
2025-03-06 16:58:41 | Tree |
[63430d]
by
ensure_index: deduping on a sparse index only needs to look at records where the field exists |
2025-03-06 16:58:11 | Tree |
[097e05]
by
ensure_index: require explicit --delete-duplicate-key-records to delete records |
2025-03-06 16:57:23 | Tree |
Diff: