-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LeaseOutput
is slow with postgres backend
#8809
Labels
Milestone
Comments
yyforyongyu
added
bug
Unintended code behaviour
needs triage
performance
postgres
and removed
bug
Unintended code behaviour
needs triage
labels
Jun 3, 2024
saubyk
added
P1
MUST be fixed or reviewed
database
Related to the database/storage of LND
labels
Jun 3, 2024
The implementation here is pretty unglamorous: https://github.com/btcsuite/btcwallet/blob/6fe19a472a627b5f3a6ab2eda9ed7d8809d04f2e/wtxmgr/tx.go#L1184-L1204 Perhaps the culprit is that we'll create 100 distributed transactions for the 100 outpoints, instead of just 1 transaction? |
This was referenced Jul 31, 2024
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 3, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 4, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 5, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 5, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 7, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 7, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 7, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 7, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 7, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
yyforyongyu
added a commit
to yyforyongyu/lnd
that referenced
this issue
Nov 8, 2024
Now that lightningnetwork#8809 is fixed, we can remove this extra timeout. We also increase the `AsyncBenchmarkTimeout` for postgres as it times out a lot.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Issue
SendCoins
takes much longer to run with postgres as the db backend, and this itest failure has been shown multiple times,Observations
Turns out that when using postgres, leasing outputs take much longer, which is called here when crafting the tx for
SendCoins
.Steps to reproduce
Running with
make itest icase=sign_psbt/fund_and_sign_psbt backend=btcd
,Running with
make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind
,Running with
make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind dbbackend=postgres
,Running with
make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind dbbackend=postgres nativesql=true
,The text was updated successfully, but these errors were encountered: