[EEPUBLISH-56] Support publishing to a load balancer Created: 05/Dec/22 Updated: 20/Dec/22 Resolved: 13/Dec/22 |
|
| Status: | Closed |
| Project: | Publishing Transactional |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.4, 1.3.0 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||
| Sprint: | Nucleus 25 | ||||||||||||||||||||
| Story Points: | 0 | ||||||||||||||||||||
| Work Started: | |||||||||||||||||||||
| Description |
Steps to reproduce
Expected resultsThe content is successfully published / can be retrieved from both public instances Actual resultsThe COMMIT operation might end up on different public instance than the publication operation so the publication is not completed. WorkaroundSet the receiver URL directly to the public instance URL without the load balancer. Development notesThe transactional publishing runs two operations
with the same headers except for one header: mgnlexchangeaction: publish mgnlexchangeaction: commit |
| Comments |
| Comment by Roman Kovařík [ 20/Dec/22 ] |
|
The final implementation reuses the http client across multiple HTTP requests which are part of one publication action. Therefore a loadbalancer with sticky sessions makes sure the requests are redirected to the same public instance. |