fix policy rules

Signed-off-by: anatoly@nspcc.ru <anatoly@nspcc.ru>
This commit is contained in:
anatoly@nspcc.ru 2022-08-02 13:51:48 +03:00 committed by Anatoly Bogatyrev
parent f85c5d31db
commit 3d7d902da4
2 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"load-1-1": "REP 1 IN X CBF 1 SELECT 1 FROM * AS X", "load-1-1": "REP 1 CBF 1 SELECT 1 FROM *",
"load-1-2": "REP 1 IN X CBF 1 SELECT 2 FROM * AS X", "load-1-2": "REP 1 CBF 1 SELECT 2 FROM *",
"load-1-3": "REP 1 IN X CBF 1 SELECT 3 FROM * AS X", "load-1-3": "REP 1 CBF 1 SELECT 3 FROM *",
"load-1-4": "REP 1 IN X CBF 1 SELECT 4 FROM * AS X", "load-1-4": "REP 1 CBF 1 SELECT 4 FROM *",
"node-off": "REP 2 IN X CBF 2 SELECT 2 FROM * AS X" "node-off": "REP 2 CBF 2 SELECT 2 FROM *"
} }

View file

@ -17,6 +17,8 @@ const read_size = JSON.parse(open(__ENV.PREGEN_JSON)).obj_size;
Format write:obj_size: Format write:obj_size:
* write - write operations in percent, relative to read operations * write - write operations in percent, relative to read operations
* duration - duration in seconds * duration - duration in seconds
OBJ_NAME - this name will be used for all write operations instead of randow generation in case of declared.
*/ */
const [ write, duration ] = __ENV.PROFILE.split(':'); const [ write, duration ] = __ENV.PROFILE.split(':');