View Issue Details

IDProjectCategoryView StatusLast Update
0004218SymmetricDSImprovementpublic2020-01-02 14:42
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.11.0 
Target Version3.11.3Fixed in Version3.11.3 
Summary0004218: Prevent hash collision when routing common batch groups
DescriptionDetect a hash collision between two different common groups when routing batches. Common batch groups use a simple hashCode() calculation of the group. Commit all the work prior to the collision and then restart processing. Log an error so we know it happens, but this should be a rare occurrence.
Steps To ReproduceSetup routing with sub-setting to nodes, like using the lookup router. Use node IDs that will produce the same hashcode. For example, use nodes 00001, Aa, and BB. Routing to 00001 and Aa will collide with routing to 00001 and BB.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.11 90d69d24

2019-12-31 10:23:01

admin

Details Diff
0004218: Prevent hash collision when routing common batch groups Affected Issues
0004218
add - symmetric-core/src/main/java/org/jumpmind/symmetric/route/CommonBatchCollisionException.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/RouterService.java Diff File

SymmetricDS: 3.11 a14db9f3

2019-12-31 13:03:23

admin

Details Diff
0004218: Prevent hash collision when routing common batch groups Affected Issues
0004218
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/route/ChannelRouterContext.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/RouterService.java Diff File

Issue History

Date Modified Username Field Change
2019-12-31 15:22 elong New Issue
2019-12-31 15:22 elong Status new => assigned
2019-12-31 15:22 elong Assigned To => elong
2019-12-31 15:23 elong Status assigned => resolved
2019-12-31 15:23 elong Resolution open => fixed
2019-12-31 15:23 elong Fixed in Version => 3.11.3
2019-12-31 17:00 admin Changeset attached => SymmetricDS 3.11 90d69d24
2019-12-31 19:00 admin Changeset attached => SymmetricDS 3.11 a14db9f3
2020-01-02 14:42 admin Status resolved => closed