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

Fix previous download completion processing #11227

Merged
merged 45 commits into from
Jul 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
7fead8b
added status logging
mh0lt Jul 16, 2024
f9e1352
only print lists on not complete
mh0lt Jul 16, 2024
ee3e937
add available list
mh0lt Jul 16, 2024
b8d919b
save
Giulio2002 Jul 16, 2024
8ba2cba
save
Giulio2002 Jul 16, 2024
0318a39
save
Giulio2002 Jul 16, 2024
cdc753d
save
Giulio2002 Jul 16, 2024
a372b4f
save
Giulio2002 Jul 16, 2024
d1f1e3d
save
Giulio2002 Jul 16, 2024
d0d21f0
save
Giulio2002 Jul 16, 2024
219020c
save
Giulio2002 Jul 16, 2024
cdd3392
save
Giulio2002 Jul 16, 2024
3ce0d86
save
Giulio2002 Jul 16, 2024
16df018
save
Giulio2002 Jul 16, 2024
9f6b6b2
save
Giulio2002 Jul 16, 2024
930fc93
save
Giulio2002 Jul 16, 2024
6f311b4
save
Giulio2002 Jul 16, 2024
5cd4e19
save
Giulio2002 Jul 16, 2024
0094f56
save
Giulio2002 Jul 16, 2024
ed8e38a
save
Giulio2002 Jul 16, 2024
3ac67d6
save
Giulio2002 Jul 16, 2024
c64bc9e
save
Giulio2002 Jul 16, 2024
4e22685
save
Giulio2002 Jul 16, 2024
23d3c45
save
Giulio2002 Jul 16, 2024
302b04b
save
Giulio2002 Jul 16, 2024
b5ca96c
save
Giulio2002 Jul 17, 2024
5f1fcf4
save
Giulio2002 Jul 17, 2024
5f53f7f
Merge branch 'main' into dl_incomplete_downloads
mh0lt Jul 17, 2024
0461d30
Merge branch 'good-prune' into dl_incomplete_downloads
mh0lt Jul 17, 2024
1fdd7ed
loop print
mh0lt Jul 17, 2024
7e9fd9c
loop print
mh0lt Jul 17, 2024
88ed5f1
loop print
mh0lt Jul 17, 2024
0982b17
update test
mh0lt Jul 18, 2024
6c5d67f
update test
mh0lt Jul 18, 2024
4918fe1
remove printers
mh0lt Jul 18, 2024
d8ac494
Updated slots comment
mh0lt Jul 18, 2024
84d1347
use batch unless awaiting flush
mh0lt Jul 18, 2024
385d7d0
don't lock on persist
mh0lt Jul 18, 2024
034e99f
updated mods to v1.54.2-alpha-32
mh0lt Jul 18, 2024
fd2aa8b
Merge branch 'main' into dl_incomplete_downloads
mh0lt Jul 18, 2024
ec10b95
tidy go sum
mh0lt Jul 18, 2024
ef2476f
save
AskAlexSharov Jul 19, 2024
6718b1a
Merge branch 'main' into dl_incomplete_downloads
AskAlexSharov Jul 19, 2024
27d739a
save
AskAlexSharov Jul 19, 2024
c8db4f7
save
AskAlexSharov Jul 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test
mh0lt committed Jul 18, 2024
commit 6c5d67f1a062783162065e2b1cac6a8c3da3824f
2 changes: 1 addition & 1 deletion erigon-lib/downloader/mdbx_piece_completion_test.go
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ func TestMdbxPieceCompletion(t *testing.T) {
require.NoError(t, err)
assert.Equal(t, storage.Completion{Complete: false, Ok: true}, b)

require.NoError(t, pc.Set(pk, true))
require.NoError(t, pc.Set(pk, true, false))

b, err = pc.Get(pk)
require.NoError(t, err)