Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 121
    • Merge requests 121
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1259

Merged
Created Sep 19, 2022 by Xavier Thompson@xavier_thompsonOwner

software/theia: Disable frontend forwarding from resilient clone

  • Overview 3
  • Commits 2
  • Pipelines 5
  • Changes 5

Until now, the resilient clone (theia1) also forwarded frontend requests from cloned embedded instances (e.g. ERP5) to the external master. This mirrored the request already sent from the main embedded instance in theia0. But since theia0 and theia1 belong to the same instance tree, from the point of view of the external master those two requests are the same.

So every time the backup instance was processed (once a day), there was a tug-of-war on this shared frontend, were theia1 would briefly overwrite its parameters to redirect to the cloned embedded instance, before thei0 would reprocess its embedded instance and tug the shared frontend back to the original embedded instance.

To fix this, frontend forwarding is now disabled for theia1. When the cloned embedded instance requests a frontend, the local proxy will now fall back to the harcoded default behavior of faking the frontend allocation by returning the original url. This allows the cloned embedded instance to instantiate normally while keeping it fully isolated.

Edited Sep 21, 2022 by Xavier Thompson
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/theia_import_no_forwarding
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7