Creating indexes requires that internal structures be created that reference both the collection and the elements in the collection. If the collection is temporary, this creates problems on commit or abort, since there is no reasonable correct state for the indexing structures. The operation may succeed, but subsequent audits may fail or other errors occur.
In v3.2, indexing structures are removed from temporary collections on abort.
Do not create indexes on temporary collections that reference persistent objects.
Last updated: 12/18/15