Skip to content
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

Use less strict isolation level for channel meta #1790

Merged
merged 2 commits into from
May 10, 2021

Conversation

pm47
Copy link
Member

@pm47 pm47 commented May 8, 2021

We don't need SERIALIZABLE consistency guarantees when all we do is
updating timestamp columns. This happens concurrently to channel data
update and raised serialization errors in postgres.

Fixed #1786.

We don't need `SERIALIZABLE` consistency guarantees when all we do is
updating timestamp columns. This happens concurrently to channel data
update and raised serialization errors in postgres.

Fixed #1786.
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2021

Codecov Report

Merging #1790 (2312a97) into master (90fbcd3) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1790      +/-   ##
==========================================
- Coverage   89.34%   89.33%   -0.01%     
==========================================
  Files         144      144              
  Lines       10934    10935       +1     
  Branches      458      452       -6     
==========================================
  Hits         9769     9769              
- Misses       1165     1166       +1     
Impacted Files Coverage Δ
...ain/scala/fr/acinq/eclair/db/pg/PgChannelsDb.scala 96.34% <100.00%> (ø)
...src/main/scala/fr/acinq/eclair/db/pg/PgUtils.scala 90.47% <100.00%> (+0.15%) ⬆️
...c/main/scala/fr/acinq/eclair/channel/Channel.scala 86.31% <0.00%> (-0.09%) ⬇️

t-bast
t-bast previously approved these changes May 8, 2021
Co-authored-by: Bastien Teinturier <[email protected]>
@pm47 pm47 merged commit a8d4e07 into master May 10, 2021
@pm47 pm47 deleted the channel-meta-pg-isolation branch May 10, 2021 13:32
@t-bast t-bast mentioned this pull request Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node crash due to Postgres
3 participants