Project

General

Profile

Task #6378

Story #4463: Incorporate Node Replication Policy into replication processing

code up the new strategy

Added by Rob Nahf about 10 years ago. Updated over 8 years ago.

Status:
Testing
Priority:
Normal
Assignee:
Category:
d1_replication
Target version:
Start date:
2014-09-10
Due date:
% Done:

50%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The strategy is written up and committed as a private helper routine determinePossibleReplicationTargets, to be plugged into the createAndQueueTasks method.

createAndQueueTasks is an overly-long method (300+ lines) that's in need to further use of helper methods to allow the overall logic to be understandable. Consider doing some of that while plugging in determinePossibleReplicationTargets.

Will need to code up some NodeReplicationPolicies in the test data to properly test the new strategy.

at lesat these scenarios to test:
1. all MNs have null targetNode.NodeReplicationPolicy + null sysmeta ReplicationPolicy
2. all MNs have null targetNode.NodeReplicationPolicy + filled out sysmeta ReplicationPolicy
3. Some filled out targetNode.NodeReplicationPolicy + null sysmeta ReplicationPolicy
4. Some filled out targetNode.NodeReplicationPolicy + filled out sysmeta ReplicationPolicy

Associated revisions

Revision 17673
Added by Rob Nahf over 8 years ago

refs: #6378. Wired in the replication policy checking logic for choosing target nodes. Additional significant refactoring for clarity - simplified version-choosing logic.

Revision 17673
Added by Rob Nahf over 8 years ago

refs: #6378. Wired in the replication policy checking logic for choosing target nodes. Additional significant refactoring for clarity - simplified version-choosing logic.

History

#1 Updated by Rob Nahf about 10 years ago

  • Description updated (diff)

#2 Updated by Rob Nahf about 10 years ago

  • Status changed from New to In Progress

#3 Updated by Robert Waltz about 10 years ago

  • Target version changed from 2014.16-Block.2.4 to CCI-1.5.0

#4 Updated by Robert Waltz about 10 years ago

  • Target version changed from CCI-1.5.0 to CCI-1.5.1

#5 Updated by Rob Nahf almost 10 years ago

  • Target version changed from CCI-1.5.1 to CCI-2.0.0

#6 Updated by Rob Nahf over 8 years ago

  • Status changed from In Progress to Testing

wired in the new logic. Existing unit test is passing, but we need more tests.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)