Skip to content

Conversation

ucwong
Copy link
Member

@ucwong ucwong commented Nov 24, 2022

No description provided.

While investigating #22374, I noticed that the Sync operation of the
freezer does not take the table lock. It also doesn't call sync for all files
if there is an error with one of them. I doubt this will fix anything, but
didn't want to drop the fix on the floor either.
@codecov
Copy link

codecov bot commented Nov 24, 2022

Codecov Report

Merging #1366 (9014a4a) into master (f573a71) will increase coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1366      +/-   ##
==========================================
+ Coverage   51.58%   51.64%   +0.05%     
==========================================
  Files         461      461              
  Lines       58039    58044       +5     
==========================================
+ Hits        29941    29976      +35     
+ Misses      25830    25793      -37     
- Partials     2268     2275       +7     
Impacted Files Coverage Δ
core/rawdb/freezer_table.go 75.20% <0.00%> (-0.79%) ⬇️
p2p/simulations/mocker.go 33.63% <0.00%> (-1.82%) ⬇️
ctxc/sync.go 60.00% <0.00%> (-1.30%) ⬇️
p2p/message.go 53.12% <0.00%> (-0.79%) ⬇️
core/txpool/txpool.go 72.82% <0.00%> (-0.73%) ⬇️
p2p/simulations/http.go 69.56% <0.00%> (-0.55%) ⬇️
ctxc/downloader/downloader.go 76.76% <0.00%> (-0.32%) ⬇️
p2p/peer.go 75.00% <0.00%> (ø)
trie/proof.go 75.45% <0.00%> (+0.30%) ⬆️
p2p/discover/v5_udp.go 81.81% <0.00%> (+0.66%) ⬆️
... and 8 more

@ucwong ucwong merged commit c794fd3 into master Nov 25, 2022
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.

2 participants