It would be useful to include the collection in the duplicate record error message in wiredtiger_index.cpp in addition to the existing index name.