-
Notifications
You must be signed in to change notification settings - Fork 275
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
Run azure recovery locally #1230
Conversation
ambry-cloud/src/main/java/com.github.ambry.cloud/azure/CosmosDataAccessor.java
Outdated
Show resolved
Hide resolved
5f69144
to
1d2f137
Compare
@@ -0,0 +1,61 @@ | |||
/** | |||
* Copyright 2016 LinkedIn Corp. All rights reserved. |
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.
Minor: 2019
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.
fixed.
config/azureconfig/vcr.properties
Outdated
@@ -0,0 +1,26 @@ | |||
# | |||
# Copyright (C) 2014-2016 LinkedIn Corp. All rights reserved. |
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.
Minor: 2019
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.
fixed.
config/azureconfig/server.properties
Outdated
@@ -0,0 +1,19 @@ | |||
# | |||
# Copyright (C) 2014-2016 LinkedIn Corp. All rights reserved. |
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.
2019 (I don't know why we even need the copyright for property files but as long as we do let's put the current year.)
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.
fixed.
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.
This is awesome, thanks for adding it.
The title is misleading since it doesn't actually trigger recovery, but approved after fixing the dates.
You'll probably also need to rebase to get the int tests to pass.
config/azureconfig/vcr.properties
Outdated
clustermap.datacenter.name=Datacenter | ||
clustermap.host.name=localhost | ||
clustermap.port=6673 | ||
azure.storage.connection.string=<CONNECTION STRIGNG FOR AZURE BLOB STORAGE> |
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.
minor typo STRING
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.
fixed.
1. Implement vcrmain 2. Add new configs for azure 3. Hack for partitionid (TODO)
d9d434d
to
e271ec5
Compare
Codecov Report
@@ Coverage Diff @@
## master #1230 +/- ##
=========================================
Coverage 88.92% 88.92%
Complexity 60 60
=========================================
Files 6 6
Lines 352 352
Branches 37 37
=========================================
Hits 313 313
Misses 29 29
Partials 10 10 Continue to review full report at Codecov.
|
This change enables vcr on azure to be run locally for the open source code.