From 8aa66a2e741021ab0424c5fb64a6d62d224fea72 Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Mon, 27 Jan 2025 12:37:31 +0100 Subject: [PATCH] update bucket names --- deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml | 2 +- deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml | 2 +- deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml | 2 +- iris-mpc-common/src/config/mod.rs | 4 ++-- iris-mpc-store/src/lib.rs | 2 -- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml index eea80b51f..0e42f69b7 100644 --- a/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml @@ -72,7 +72,7 @@ env: value: "true" - name: SMPC__DB_CHUNKS_BUCKET_NAME - value: "iris-mpc-db-exporter-store-node-0-stage-eu-north-1" + value: "iris-mpc-db-exporter-store-node-0-stage--eun1-az3--x-s3" - name: SMPC__DB_CHUNKS_FOLDER_NAME value: "even_odd_binary_output_16k" diff --git a/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml index 906ff0371..05f4edd37 100644 --- a/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml @@ -72,7 +72,7 @@ env: value: "true" - name: SMPC__DB_CHUNKS_BUCKET_NAME - value: "temp-iris-mpc-db-exporter-stage-1--eun1-az3--x-s3" + value: "iris-mpc-db-exporter-store-node-1-stage--eun1-az3--x-s3" - name: SMPC__DB_CHUNKS_FOLDER_NAME value: "even_odd_binary_output_16k" diff --git a/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml index e88e40b05..96a46ac24 100644 --- a/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml @@ -72,7 +72,7 @@ env: value: "true" - name: SMPC__DB_CHUNKS_BUCKET_NAME - value: "iris-mpc-db-exporter-store-node-2-stage-eu-north-1" + value: "iris-mpc-db-exporter-store-node-2-stage--eun1-az3--x-s3" - name: SMPC__DB_CHUNKS_FOLDER_NAME value: "even_odd_binary_output_16k" diff --git a/iris-mpc-common/src/config/mod.rs b/iris-mpc-common/src/config/mod.rs index 628d85b8d..c2cd06f2b 100644 --- a/iris-mpc-common/src/config/mod.rs +++ b/iris-mpc-common/src/config/mod.rs @@ -116,9 +116,9 @@ pub struct Config { pub load_chunks_buffer_size: usize, /// Percentage of the chunk size to page lock at each iteration + /// The first chunk will be waited to finish without loading anything + /// The rest of the chunks will be page locked in parallel to s3 import /// Must be a positive integer between [1-100] - /// The first memory chunk will be page-locked before starting db & s3 - /// importers #[serde(default)] pub page_lock_chunk_percentage: usize, } diff --git a/iris-mpc-store/src/lib.rs b/iris-mpc-store/src/lib.rs index 2f605a1ba..a3e83c0cc 100644 --- a/iris-mpc-store/src/lib.rs +++ b/iris-mpc-store/src/lib.rs @@ -222,8 +222,6 @@ impl Store { partition_streams.push(stream); } - // `select_all` requires that all streams have the same Item type: - // which is `Result` now. stream::select_all(partition_streams) }