Skip to content

Commit eb006ec

Browse files
author
Илья
committed
Set max_id equal initial data count
1 parent 8069371 commit eb006ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

slo-workload/src/Commands/RunCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ protected function readJob(string $endpoint, string $path, $tableName, int $init
222222
protected function writeJob(string $endpoint, string $path, $tableName, int $initialDataCount, int $time, int $readTimeout, int $process, int $shutdownTime, $startTime)
223223
{
224224
$ydb = Utils::initDriver($endpoint, $path, "write-$process");
225-
$first = (11+$process)*100000 + $initialDataCount;
226-
$dataGenerator = new DataGenerator($first);
225+
$dataGenerator = new DataGenerator($initialDataCount);
227226
$query = sprintf(Defaults::WRITE_QUERY, $tableName);
228227
$table = $ydb->table();
229228
while (microtime(true) <= $startTime + $time) {

0 commit comments

Comments
 (0)