Details
Description
The MongoDB code is querying the WiredTiger metadata to retrieve the data used at create time. It is passing the wrong URI when opening a metadata cursor. It uses a URI of metadata: when it should use metadata:create
The result of the incorrect URI is that occasionally attempting to create a new collection using the collstats.wiredTiger.creationString from another collection fails reporting an invalid string. This was found via automated testing using the wt_roudntrip_creation_string test case.