Hi @lijinhua6324,
It runs successfully in mongodb version 5.0+, but fails in version 6.0, why???
To help us troubleshoot it would help to understand a few things about the environments you’re working in.
- Are the environments you’re running 5.0 and 6.0 identical? (same hardware, memory, etc)
- Is the data identical in
user_103_tmpwhen testing this in both 5.0 and 6.0? - How many documents are in
user_103_tmp? - Can you share a sample document from
user_103_tmp? - Are you testing this locally using a standalone
mongodprocess? - Have you tuned your
mongodconfiguration at all or just using the defaults?
The goal here is to reproduce the behavior you’ve described so we can determine the source of the issue.