Skip to content
代码片段 群组 项目
未验证 提交 3d6fa975 编辑于 作者: Thong Kuah's avatar Thong Kuah 提交者: GitLab
浏览文件

Merge branch 'docs/cell-router-prefix' into 'master'

Update Cells prefix routing spec

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/145639



Merged-by: default avatarThong Kuah <tkuah@gitlab.com>
Approved-by: default avatarThong Kuah <tkuah@gitlab.com>
Co-authored-by: default avatarSteve Xuereb <sxuereb@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -260,6 +260,8 @@ Each Cell will publish a precompiled list of routing rules that will be consumed
routing rules to call `/api/v4/internal/cells/classify`.
- The routing rules should use `prefix` as a way to speed up classification. During the compilation phase
the routing service transforms all found prefixes into a decision tree to speed up any subsequent regex matches.
- Some of the prefixes need to be Cell independent, example Personal Access Tokens prefix need to be organization bound and not Cell bound.
We want the ability to move an organization from 1 cell to another without changing the Personal Access Token or any other token.
- The routing rules is ideally compiled into source code to avoid expensive parsing and evaluation of the rules
dynamically as part of deployment.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册