- 
                Notifications
    You must be signed in to change notification settings 
- Fork 252
Improvement/cldsrv 646 #5853
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
base: development/9.1
Are you sure you want to change the base?
Improvement/cldsrv 646 #5853
Conversation
| Hello benzekrimaha,My role is to assist you with the merge of this Available options
 Available commands
 Status report is not available. | 
| Waiting for approvalThe following approvals are needed before I can proceed with the merge: 
 | 
34e706c    to
    3dd3fbc      
    Compare
  
    | Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 ✅ All tests successful. No failed tests found. Additional details and impacted files
 @@                 Coverage Diff                 @@
##           development/9.1    #5853      +/-   ##
===================================================
+ Coverage            75.89%   75.92%   +0.02%     
===================================================
  Files                  188      188              
  Lines                11975    11986      +11     
===================================================
+ Hits                  9089     9100      +11     
  Misses                2886     2886              
 Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
 | 
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.
I understand this is a draft PR, but this is still a first stage of publicating the changes : so there should already be some PR comment and commit message to document what changing you are introducing.
| }; | ||
|  | ||
| // Split the storageClass and iterate over each one | ||
| if (replicationInfo) { | 
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 does not seem the right place to do this:
- it is the goal of _getReplicationInfoto build the replication info
- that function is already doing the parsing/splitting of storageClasses, and associated locationConstrainsts
- the last param to getReplicationInfoindicates this is a MD-only operation (which currently should be replicated only to CRR), so this can be used deeper (currently this gets obfuscated ingetReplicationInfoby converting it toconst content = isMD || objSize === 0 ? ['METADATA'] : ['DATA', 'METADATA'], but this may be moved to_getReplicationInfo)
| Branches have divergedThis pull request's source branch  To avoid any integration risks, please re-synchronize them using one of the 
 Note: If you choose to rebase, you may have to ask me to rebuild | 
Issue : CLDSRV-646