Skip to content

Commit

Permalink
Merge pull request #1870 from milvus-io/fix-sizingtool
Browse files Browse the repository at this point in the history
fix localdisk calculator
  • Loading branch information
ThyeeZz authored Feb 26, 2025
2 parents 9546efb + 6c6888a commit 972226a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/parts/sizing/resultSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ export default function ResultSection(props: {
const totalMemory = unitBYTE2Any(
(milvusMemory + dependencyMemory) * 1024 * 1024 * 1024
);
const { size: singleNodeDiskSize, unit: singleNodeDiskUnit } =
unitBYTE2Any(localDiskSize);

const { size: diskSize, unit: diskUnit } = unitBYTE2Any(
localDiskSize * queryNode.count
);
Expand Down Expand Up @@ -386,8 +389,8 @@ export default function ResultSection(props: {
standaloneNodeConfig={standaloneNodeConfig}
clusterNodeConfig={clusterNodeConfig}
isOutOfCalculate={isOutOfCalculate}
diskSize={diskSize}
diskUnit={diskUnit}
diskSize={singleNodeDiskSize}
diskUnit={singleNodeDiskUnit}
mode={mode}
rawDataSize={rawDataSize}
memorySize={memorySize}
Expand Down

0 comments on commit 972226a

Please sign in to comment.