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

[Feature/multi_tenancy] Add more missing tenant ids in requests #2959

Merged

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Sep 16, 2024

Description

Adds tenant ID to a few requests that were missing them.

NOTE: included a TODO temporarily working around model controller accidentally migrated to sdkClient in #2585. I'll follow up with another PR to remove it.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@@ -355,7 +373,9 @@ private void deleteModelChunksAndController(
// for remote model we don't need to delete model chunks so reducing one latch countdown.
countDownLatch.countDown();
}
deleteController(modelId, isHidden, countDownActionListener);
// TODO This uses remote client but we haven't implemented it anywhere else?!
// deleteController(modelId, isHidden, countDownActionListener);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume you will reverse the code for controller deletion and then enable this, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

I assume you will reverse the code for controller deletion and then enable this, right?

Yep, as mentioned in the original comment.

I'll put it back to its pre #2585 state. If there are any workarounds still needed, I understand a permanent fix is coming with feature-gating in #2652

Copy link
Member Author

Choose a reason for hiding this comment

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

Except that commenting it out is causing tests to fail. Let me pull it back out of this PR and address separately.

@dhrubo-os dhrubo-os merged commit b26d8b4 into opensearch-project:feature/multi_tenancy Sep 17, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants