-
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
kvdb/postgres: remove global application level lock #8529
Changes from 1 commit
d3e9b80
9ee3aee
352fe64
d1fa789
3404a1f
53a5155
f956545
fb06c6d
d267747
0cd6017
43e6d9f
5e5be37
2c12a92
31d19e1
40b5b60
04dcb65
99506d9
8dd4dc2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ const ( | |
DefaultInitialRetryDelay = time.Millisecond * 50 | ||
|
||
// DefaultMaxRetryDelay is the default maximum delay between retries. | ||
DefaultMaxRetryDelay = time.Second * 5 | ||
DefaultMaxRetryDelay = time.Second | ||
) | ||
|
||
// Config holds a set of configuration options of a sql database connection. | ||
|
@@ -345,7 +345,7 @@ func (db *db) executeTransaction(f func(tx walletdb.ReadWriteTx) error, | |
} | ||
} | ||
|
||
return commitErr | ||
return nil | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should still return the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also revisiting this section, it should be trying to map the |
||
} | ||
|
||
// If we get to this point, then we weren't able to successfully commit | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So If I revert this back to just:
Then strangely, the
sendtoroute_multi_path_payment
starts to pass again 🤔There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, I also don't wrap the error down below, pushing this up as a commit to see how CI fares now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why, but when we wrap the error here, this error check fails, causing the whole itest to fail:
lnd/routing/router.go
Line 2554 in 48a3d56