Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !282

slapproxy: Prefix forwarded requests with partition id

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos.core:slapproxy_frontend into master Feb 16, 2021
  • Overview 10
  • Commits 1
  • Pipelines 0
  • Changes 2

Prefix the partition_reference of requests forwarded to an external master with the partition_id of the requesting partition because otherwise this information is lost (the master only sees always the same outer partition in which the proxy lives), which could result in requests from different partitions colliding (e.g. two partitions request a frontend and when the second request is handled the master updates the first frontend to redirect to the second partition instead of creating a new frontend).

Edited Feb 19, 2021 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: slapproxy_frontend
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7