From d3ffdafdd8c2a42e2eb67e4ddc724d44b741af6d Mon Sep 17 00:00:00 2001 From: Travis Date: Fri, 12 Feb 2021 21:44:20 -0600 Subject: [PATCH] remove some more TXSRCs that slipped in --- scripts/etc/gloat/gh.issues.keyed.yml | 2 +- scripts/etc/gloat/gh.issues.unkeyed.yml | 2 +- scripts/etc/gloat/query.count.keyed.yml | 2 +- scripts/populate_query_db.keyed.sh | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/etc/gloat/gh.issues.keyed.yml b/scripts/etc/gloat/gh.issues.keyed.yml index 215f7f0d3..b2bb70426 100644 --- a/scripts/etc/gloat/gh.issues.keyed.yml +++ b/scripts/etc/gloat/gh.issues.keyed.yml @@ -1,6 +1,6 @@ name: "GitHub Issues Import Load Testing (1 month, keyed)" -main: "pilosa server --data-dir ${TMPDIR} --txsrc ${TXSRC}" +main: "pilosa server --data-dir ${TMPDIR} --storage.backend ${STORAGE_BACKEND}" load: "molecula-consumer-github -i issues -r url --record-type issue --batch-size=100000 --start-time 2020-01-01T00:00:00Z --end-time 2020-01-13T23:00:00Z --cache-dir ~/.githubarchive" health_url: "http://localhost:10101/status" diff --git a/scripts/etc/gloat/gh.issues.unkeyed.yml b/scripts/etc/gloat/gh.issues.unkeyed.yml index 45bbb7650..0f8113a92 100644 --- a/scripts/etc/gloat/gh.issues.unkeyed.yml +++ b/scripts/etc/gloat/gh.issues.unkeyed.yml @@ -1,6 +1,6 @@ name: "GitHub Issues Import Load Testing (1 month, unkeyed)" -main: "pilosa server --data-dir ${TMPDIR} --txsrc ${TXSRC}" +main: "pilosa server --data-dir ${TMPDIR} --storage.backend ${STORAGE_BACKEND}" load: "molecula-consumer-github -i issues -d id --record-type issue --batch-size=100000 --start-time 2020-01-01T00:00:00Z --end-time 2020-01-13T23:00:00Z --cache-dir ~/.githubarchive" health_url: "http://localhost:10101/status" diff --git a/scripts/etc/gloat/query.count.keyed.yml b/scripts/etc/gloat/query.count.keyed.yml index 3d0eb49b3..ad3ca0dea 100644 --- a/scripts/etc/gloat/query.count.keyed.yml +++ b/scripts/etc/gloat/query.count.keyed.yml @@ -1,6 +1,6 @@ name: "Count() Load Testing w/ Keys" -main: "pilosa server --data-dir ~/pilosa.query.keyed.${TXSRC} --txsrc ${TXSRC}" +main: "pilosa server --data-dir ~/pilosa.query.keyed.${STORAGE_BACKEND} --storage.backend ${STORAGE_BACKEND}" load: "pilosa-bench -type count -rate 100 -n 3000" health_url: "http://localhost:10101/status" diff --git a/scripts/populate_query_db.keyed.sh b/scripts/populate_query_db.keyed.sh index 5476d54b8..3e4804a85 100755 --- a/scripts/populate_query_db.keyed.sh +++ b/scripts/populate_query_db.keyed.sh @@ -4,15 +4,15 @@ set -e # This script generates data query load testing to be run against. # # Environment variables: -# - TXSRC: Transaction store type ("roaring", "rbf") +# - STORAGE_BACKEND: Transaction store type ("roaring", "rbf") # - CACHEDIR: Path to local GitHub Archive data, if available. # Require environment variables. -: "${TXSRC:?Must set TXSRC environment variable}" +: "${STORAGE_BACKEND:?Must set STORAGE_BACKEND environment variable}" : "${GHCACHEDIR:''}" echo "Starting pilosa" -pilosa server --data-dir ~/pilosa.query.keyed.${TXSRC} --txsrc ${TXSRC} & pid_pilosa=$! +pilosa server --data-dir ~/pilosa.query.keyed.${STORAGE_BACKEND} --storage.backend ${STORAGE_BACKEND} & pid_pilosa=$! sleep 5 echo ""