problems with universe sync --universe_host universe.lightning.finance:10029 #889
Replies: 9 comments 5 replies
-
Thanks for the report! How many cores does this system have? Also, do you have logs that contain the Re: delete federation server, there should be a command Will try and repro in a debug setting. |
Beta Was this translation helpful? Give feedback.
-
This system has 24 cores. On my other system, I am going to try to reproduce the |
Beta Was this translation helpful? Give feedback.
-
On my original machine, using a Postgres backend, I just tried Note, that on this machine, I had recently added and then removed some federations. To remove them, I used: In any case, I just ran
here are the complete logs: Given that I have been playing with this instance of |
Beta Was this translation helpful? Give feedback.
-
Definitely let me know if there's anything else you would like me to test on my end. |
Beta Was this translation helpful? Give feedback.
-
In case it's helpful: I have continued to find that I can follow these exact steps: #889 (comment) ... and always end with this error:
So at least that seems like some kind of straightforward data consistency error and not some kind of intermittent race condition or something harder to understand. |
Beta Was this translation helpful? Give feedback.
-
Am testing this again on a fresh install. I do always get this error when trying to sync:
So it seems there is specifically an issue with this group key Getting assets from the default universe consistently fails and the only way to proceed is to comment out the body of this function... taproot-assets/proof/verifier.go Line 360 in 91a51d6 I am able to then get more assets, but eventually the process halts again with:
So there is another hack to get beyond this point, which is to increase taproot-assets/tapdb/interfaces.go Line 23 in 91a51d6 .. After this, anecdotally, it seems that if I then run
My guess is to try to find the problem, I should start with a fresh database, and then log all SQL statements, to find out which ones are erroring, but I have not yet figured out how I could log the SQL activity from |
Beta Was this translation helpful? Give feedback.
-
Thanks, will try that to ignore the group. BTW I already have this in my
My understanding is that this should set the lowest level of debugging possible for every subsystem. So my guess is that even with |
Beta Was this translation helpful? Give feedback.
-
I am running another sync and still getting a lot of "tx serialization error". If I could print the SQL statements, then I could likely do more |
Beta Was this translation helpful? Give feedback.
-
Also, another
Again here if I could figure out how to log the raw SQL I could try to diagnose. |
Beta Was this translation helpful? Give feedback.
-
I'm working with tapd and I think I may have found a reproducible problem.
Here are my steps.
v0.3.3
make install
tapd --version
See attached logs:
combined_log.txt
Note that these logs end with:
tapcli universe stats
, and see that nothing has synced yettapcli universe stats
Note -- this was performed on a fresh SQlite database. On a different machine, using Postgres, about 2 days ago, I think I was able to successfully sync
universe.lightning.finance:10029
, and following that, I had seen thattapcli universe stats
returned thousands of assets.... but then I started adding more universes to my federation, I started seeingMax DB retries
failures.... So I assumed that one of the universes I has synced had corrupted data. But I could not figure out how to REMOVE a universe, or reliably identify or delete "bad" assets, so I decided to start from the beginning again with a fresh SQLite database that I could easily delete.Beta Was this translation helpful? Give feedback.
All reactions