From 34edd96c76494f4b40aaf1dd6bdc01b49a8f6267 Mon Sep 17 00:00:00 2001 From: asier-isayas Date: Mon, 12 May 2025 13:12:20 -0400 Subject: [PATCH] Default New Global Secondary Index Panel to be sharded (#2138) Co-authored-by: Asier Isayas --- .../AddGlobalSecondaryIndexPanel.tsx | 5 ----- .../Components/ThroughputComponent.tsx | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/AddGlobalSecondaryIndexPanel.tsx b/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/AddGlobalSecondaryIndexPanel.tsx index f3d3a3341..4ef087d21 100644 --- a/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/AddGlobalSecondaryIndexPanel.tsx +++ b/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/AddGlobalSecondaryIndexPanel.tsx @@ -175,11 +175,6 @@ export const AddGlobalSecondaryIndexPanel = (props: AddGlobalSecondaryIndexPanel return false; } - if (globalSecondaryIndexThroughput > CollectionCreation.MaxRUPerPartition) { - setErrorMessage("Unsharded collections support up to 10,000 RUs"); - return false; - } - if (showVectorSearchParameters()) { if (!vectorPolicyValidated) { setErrorMessage("Please fix errors in container vector policy"); diff --git a/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/Components/ThroughputComponent.tsx b/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/Components/ThroughputComponent.tsx index 0999acc5a..d4f9934bc 100644 --- a/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/Components/ThroughputComponent.tsx +++ b/src/Explorer/Panes/AddGlobalSecondaryIndexPanel/Components/ThroughputComponent.tsx @@ -47,7 +47,7 @@ export const ThroughputComponent = (props: ThroughputComponentProps): JSX.Elemen