Skip to content

Commit 3d64bf0

Browse files
Only call check_if_needs_remote_fetch when remote is False (#306)
* In case of remote rdb fetch and remote run will copy directly from remote file to DB machine (remove extra hop) * Only call check_if_needs_remote_fetch when remote is False * Only call check_if_needs_remote_fetch when remote is False
1 parent 96d4928 commit 3d64bf0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.7.5"
3+
version = "0.7.6"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <[email protected]>","Redis Performance Group <[email protected]>"]
66
readme = "README.md"

redisbench_admin/utils/local.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ def check_dataset_local_requirements(
3131
for k in benchmark_config[dbconfig_keyname]:
3232
if "dataset" in k:
3333
dataset = k["dataset"]
34+
full_path = k["dataset"]
3435
if "dataset_name" in k:
3536
dataset_name = k["dataset_name"]
36-
if dataset is not None:
37+
if dataset is not None and is_remote is False:
3738
full_path = check_if_needs_remote_fetch(
3839
dataset, datasets_localtemp_dir, dirname, None, is_remote
3940
)

0 commit comments

Comments
 (0)