tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind
https://tortoise.github.io
Apache License 2.0
4.58k stars 378 forks source link

The problem of saving data #1501

Open Funnya2022 opened 11 months ago

Funnya2022 commented 11 months ago

Hello, I have the following problem. At some unknown moment, 1% of users have problems with saving data. Can you tell me what the problem is?

vlakius commented 11 months ago

We definitely need more information to even formulate a hypothesis:

It would also be useful to know what tests have been carried out and how the problem can be reproduced.

Funnya2022 commented 11 months ago

There are no errors. Data is saved in the usual way via save()

vlakius commented 11 months ago

As mentioned above, it is not possible to determine the cause without more information.

Try to isolate the problem and then provide in a minimal example to reproduce it

Funnya2022 commented 10 months ago

I found all the solutions. It was my fault. The problem was that I had a problem in the time frame, which always gave old user data due to functions that were constantly updated and there were data rollbacks. The problem wasn't the tortois.

vlakius commented 9 months ago

Thank you for the update . I think this issu can now be closed @long2ice