View Issue Details

IDProjectCategoryView StatusLast Update
0003984SymmetricDSBugpublic2019-06-25 18:06
Reporterchenson Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.20 
Target Version3.10.3Fixed in Version3.10.3 
Summary0003984: SymmetricDS doesn't respect the sticky session setting for AWS ELB ALB which can result in resending logging when under stress
DescriptionFor the push protocol, SymmetricDS does an HTTP HEAD to reserve a connection and then an HTTP PUT to push the data. The reservation of the connection requires that the subsequence PUT happen on the same server. This requires the load balancer to have sticky sessions configured. The AWS ELB ALB implementation of a load balancer uses cookies to track the session. SymmetricDS isn't currently configured to send cookies received for a domain on subsequent requests. This can be done in Java by calling the following code (it only needs to be done once for the JVM).

        if (java.net.CookieHandler.getDefault() == null) {
            java.net.CookieHandler.setDefault(new java.net.CookieManager());
        }
Tagscluster

Activities

chenson

2019-05-30 17:27

administrator   ~0001513

The logging on both the server and the client side could probably be improved to detect the failure scenario to give the user a clue as to what is going wrong.

Related Changesets

SymmetricDS: 3.10 4a734c2a

2019-05-30 15:59:24

admin

Details Diff
0003984: cookie setting for load balance that needs it Affected Issues
0003984
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/ServerConstants.java Diff File
mod - symmetric-server/src/main/deploy/conf/symmetric-server.properties Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/SymmetricWebServer.java Diff File

SymmetricDS: 3.10 7ac1d673

2019-05-30 16:41:22

admin

Details Diff
0003984: logging when missing push reservation Affected Issues
0003984
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/AbstractOfflineDetectorService.java Diff File
add - symmetric-core/src/main/java/org/jumpmind/symmetric/transport/NoReservationException.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/transport/http/HttpOutgoingTransport.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/web/WebConstants.java Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/web/NodeConcurrencyInterceptor.java Diff File

Issue History

Date Modified Username Field Change
2019-05-30 17:26 chenson New Issue
2019-05-30 17:27 chenson Summary SymmetricDS doesn't respect sticky session setting for AWS ELB ALB which can result in resending logging when under stress => SymmetricDS doesn't respect the sticky session setting for AWS ELB ALB which can result in resending logging when under stress
2019-05-30 17:27 chenson Note Added: 0001513
2019-05-30 19:43 elong Tag Attached: cluster
2019-05-30 20:00 elong Assigned To => elong
2019-05-30 20:00 elong Status new => assigned
2019-05-30 20:41 elong Status assigned => resolved
2019-05-30 20:41 elong Resolution open => fixed
2019-05-30 20:41 elong Fixed in Version => 3.10.3
2019-05-30 20:42 elong Target Version => 3.10.3
2019-05-30 21:00 admin Changeset attached => SymmetricDS 3.10 7ac1d673
2019-05-30 21:00 admin Changeset attached => SymmetricDS 3.10 4a734c2a
2019-06-25 18:06 admin Status resolved => closed