Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

support multiple corpus accounts #334

Merged
28 commits merged into from
Jan 6, 2021

Conversation

bmc-msft
Copy link
Contributor

@bmc-msft bmc-msft commented Nov 20, 2020

Add support for sharding across multiple storage accounts for blob containers used for corpus management.

Things to note:

  1. Additional storage accounts must be in the same resource group, support the "blob" endpoint, and have the tag storage_type with the value corpus. A utility is provided (src/utils/add-corpus-storage-accounts), which adds storage accounts.
  2. If any secondary storage accounts exist, they are used by default for containers.
  3. Storage account names are cached in memory the Azure Function instance forever. Upon adding new storage accounts, the app needs to be restarted to pick up the new accounts.

@bmc-msft bmc-msft marked this pull request as draft November 20, 2020 18:34
@bmc-msft
Copy link
Contributor Author

bmc-msft commented Dec 9, 2020

This PR needs to add proxy-configs to the base setup.

@bmc-msft bmc-msft linked an issue Dec 16, 2020 that may be closed by this pull request
@bmc-msft bmc-msft marked this pull request as ready for review January 6, 2021 17:34
@ghost
Copy link

ghost commented Jan 6, 2021

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 3b26ffe into microsoft:main Jan 6, 2021
@bmc-msft bmc-msft deleted the multiple-storage-accounts branch January 6, 2021 23:15
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support scaling storage by using multiple storage accounts
4 participants