Revision 9482
Added by Jing Tao almost 9 years ago
src/edu/ucsb/nceas/metacat/IdentifierManager.java | ||
---|---|---|
422 | 422 |
|
423 | 423 |
List<NodeReference> nodes = new ArrayList<NodeReference>(); |
424 | 424 |
String sql = "select guid, policy, member_node " + |
425 |
"from smReplicationPolicy where guid = ? and policy = ?"; |
|
425 |
"from smReplicationPolicy where guid = ? and policy = ? order by policy_id ASC";
|
|
426 | 426 |
DBConnection dbConn = null; |
427 | 427 |
int serialNumber = -1; |
428 | 428 |
try { |
Also available in: Unified diff
Use the "order by" to preserve the nodes order in the replication policy.