Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
c8c95be
server,api,ui: snapshot copy and zone selection
shwstppr Jul 27, 2023
70648af
wip
shwstppr Aug 2, 2023
f556cb1
wip
shwstppr Aug 2, 2023
de0de2a
wip
shwstppr Aug 3, 2023
6328b08
fix
shwstppr Aug 3, 2023
3630bfd
changes
shwstppr Aug 16, 2023
8cb4f54
Merge branch 'main' into snapshot-copy
shwstppr Aug 16, 2023
8e4be3b
nl
shwstppr Aug 21, 2023
2c9bf2f
download percent for multi-file download
shwstppr Aug 21, 2023
35b5157
wip
shwstppr Aug 22, 2023
cd49933
changes
shwstppr Aug 23, 2023
caa4ff8
changes
shwstppr Aug 24, 2023
99e6134
wip
shwstppr Aug 29, 2023
106fd8d
changes
shwstppr Sep 1, 2023
09e3359
fix
shwstppr Sep 1, 2023
882ce93
changes
shwstppr Sep 4, 2023
9801e5c
change
shwstppr Sep 4, 2023
527e5f0
fixes
shwstppr Sep 5, 2023
548c236
fixes
shwstppr Sep 5, 2023
a2668dd
missing file
shwstppr Sep 5, 2023
b6f8d46
fix apis and template file deletion
shwstppr Sep 5, 2023
271800d
remove debug param
shwstppr Sep 5, 2023
97f779f
fix, missing texts
shwstppr Sep 6, 2023
6fd2fe2
remove wrong check
shwstppr Sep 6, 2023
4f5f973
address comments
shwstppr Sep 11, 2023
68052cf
address comment
shwstppr Sep 11, 2023
8888d38
tests, minor changes
shwstppr Sep 12, 2023
eca2ac8
more tests, comments
shwstppr Sep 13, 2023
f0cdccb
comment
shwstppr Sep 13, 2023
c7e7147
fix
shwstppr Sep 13, 2023
1b85543
fix
shwstppr Sep 13, 2023
2c8cb51
test fail fix
shwstppr Sep 13, 2023
5137b55
access fix, smoke test
shwstppr Sep 13, 2023
2849cfd
missing text
shwstppr Sep 14, 2023
6787821
changes for storage browser
shwstppr Sep 14, 2023
dc24912
download percent fix
shwstppr Sep 15, 2023
e58d413
snapshot events, fix
shwstppr Sep 19, 2023
e593a5c
event
shwstppr Sep 19, 2023
bb847ad
missing file
shwstppr Sep 19, 2023
7cc800d
use PowerMock while figure out Mockito
shwstppr Sep 19, 2023
e5aa158
remove unused events tab
shwstppr Sep 19, 2023
39aa0f2
fix delete snapshot error
shwstppr Sep 22, 2023
9b78b4e
Merge remote-tracking branch 'apache/main' into snapshot-copy
shwstppr Sep 22, 2023
dd8f5ea
fix unnecessary strategy canhandle
shwstppr Sep 22, 2023
a6795e5
change for zone param
shwstppr Sep 22, 2023
fa7b144
Merge remote-tracking branch 'apache/main' into snapshot-copy
shwstppr Sep 25, 2023
a157a6b
fix
shwstppr Sep 25, 2023
38b13fa
fix for tags
shwstppr Sep 27, 2023
0b23f2f
Merge remote-tracking branch 'apache/main' into snapshot-copy
shwstppr Sep 27, 2023
669a96a
changes for returning zones for snpashot policy
shwstppr Sep 27, 2023
a4d2c4b
copySnapshot response changes
shwstppr Sep 27, 2023
e0810aa
changes for linking snapshot events to the snapshot itself
shwstppr Sep 27, 2023
cd691a4
fix
shwstppr Sep 27, 2023
8585cc4
remove extra code
shwstppr Sep 28, 2023
51375c1
wrong column
shwstppr Sep 28, 2023
ee2ff5c
Merge branch 'main' into snapshot-copy
shwstppr Sep 29, 2023
6908d1d
text fixes
shwstppr Sep 29, 2023
bbcef5e
unnecessary change
shwstppr Sep 29, 2023
da13aeb
fix snapshot file query
shwstppr Oct 3, 2023
f1dbc85
Merge branch 'main' into snapshot-copy
shwstppr Oct 3, 2023
8b02238
fix
shwstppr Oct 4, 2023
114c670
wip
shwstppr Oct 6, 2023
4f3f9f2
fix deleted zone reference still showing
shwstppr Oct 9, 2023
80deeb1
fix behaviour for multi-zone
shwstppr Oct 9, 2023
fd6cbae
fix re-copy
shwstppr Oct 9, 2023
36af8fe
fix edge case of same vol id
shwstppr Oct 10, 2023
ba46576
Update plugins/storage/volume/storpool/src/main/java/org/apache/cloud…
shwstppr Oct 12, 2023
b77adb8
allow revert only when snapshot on volume zone
shwstppr Oct 13, 2023
355a5c5
fix copy new snap with async backup
shwstppr Oct 16, 2023
ba05e7c
Merge remote-tracking branch 'apache/main' into snapshot-copy
shwstppr Oct 17, 2023
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
download percent fix
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
  • Loading branch information
shwstppr committed Sep 15, 2023
commit dc24912b7e8720554f7f7025954180afda7e5e1c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import com.cloud.storage.StorageLayer;

public class SimpleHttpMultiFileDownloader extends ManagedContextRunnable implements TemplateDownloader {
public static final Logger s_logger = Logger.getLogger(HttpTemplateDownloader.class.getName());
public static final Logger s_logger = Logger.getLogger(SimpleHttpMultiFileDownloader.class.getName());
private static final MultiThreadedHttpConnectionManager s_httpClientManager = new MultiThreadedHttpConnectionManager();

private static final int CHUNK_SIZE = 1024 * 1024; //1M
Expand Down Expand Up @@ -160,6 +160,8 @@ private void tryAndGetTotalRemoteSize() {

private long downloadFile(String downloadUrl) {
s_logger.debug("Starting download for " + downloadUrl);
currentTotalBytes = 0;
currentRemoteSize = 0;
File file = null;
request = null;
try {
Expand Down