Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Storage Urls from Tenant Metadata to Service Level #9849

Merged
merged 33 commits into from
Apr 19, 2022

Conversation

tianzhu007
Copy link
Contributor

@tianzhu007 tianzhu007 commented Apr 12, 2022

We are going to map the storage.internalHistorianUrl, and storage.url to each service/cluster, instead of let them be the attributes from the tenant metadata.

Previously, these two urls are based on each tenant. The drawback is that one tenant can be shared by different clusters. These clusters might use different storage.internalHistorianUrls and storage.urls. Thus, the tenant metadata can only store one pair of these urls which cannot satisfy all of the clusters.

@tianzhu007 tianzhu007 requested a review from a team as a code owner April 12, 2022 01:48
@github-actions github-actions bot added the area: server Server related issues (routerlicious) label Apr 12, 2022
@tianzhu007 tianzhu007 changed the title Remove Urls from Tenant Metadata to Service Remove Urls from Tenant Metadata to Service Level/Cluster Level Apr 12, 2022
@github-actions github-actions bot added the base: main PRs targeted against main branch label Apr 12, 2022
@tianzhu007 tianzhu007 changed the title Remove Urls from Tenant Metadata to Service Level/Cluster Level Remove Urls from Tenant Metadata to Service Level Apr 12, 2022
@tianzhu007 tianzhu007 changed the title Remove Urls from Tenant Metadata to Service Level Remove Storage Urls from Tenant Metadata to Service Level Apr 12, 2022
Copy link
Contributor

@hedasilv hedasilv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are changing/introducing some configurations in the config.json from Historian and Routerlicious, we will probably also have to update the configmaps for Kubernetes:

Historian:
https://github.com/microsoft/FluidFramework/blob/main/server/charts/historian/templates/historian-configmap.yaml

Routerlicious:
https://github.com/microsoft/FluidFramework/blob/main/server/routerlicious/kubernetes/routerlicious/templates/fluid-configmap.yaml

@tianzhu007 tianzhu007 changed the title Remove Storage Urls from Tenant Metadata to Service Level Move Storage Urls from Tenant Metadata to Service Level Apr 13, 2022
Resolve Conflicts:
#	server/historian/packages/historian-base/src/routes/utils.ts
#	server/routerlicious/packages/services/src/tenant.ts
@tianzhu007 tianzhu007 merged commit 0f2488d into microsoft:main Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: server Server related issues (routerlicious) base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants