Use SelectorAwaiting in case of read and delete load in s3_dar.js scenario #150

Merged
fyrchik merged 1 commit from mmalygina/xk6-frostfs:investigate-deletes into master 2024-09-04 19:51:18 +00:00
Member

Use SelectorAwaiting in case of read and delete load in s3_dar.js scenario

Signed-off-by: m.malygina m.malygina@yadro.com

Use SelectorAwaiting in case of read and delete load in s3_dar.js scenario Signed-off-by: m.malygina <m.malygina@yadro.com>
dstepanov-yadro approved these changes 2024-06-20 14:25:58 +00:00
fyrchik reviewed 2024-06-20 16:35:08 +00:00
@ -76,3 +87,3 @@
let obj_to_delete_exit_on_null = undefined;
if (registry_enabled && delete_age) {
obj_to_delete_exit_on_null = write_vu_count == 0;
obj_to_delete_exit_on_null = (write_vu_count == 0) && (read_vu_count == 0)
Owner

How does it help?

How does it help?
Author
Member

In case we are running both read and delete load we don't use SelectorOneshot, but use SelectorAwaiting

In case we are running both read and delete load we don't use SelectorOneshot, but use SelectorAwaiting
mmalygina force-pushed investigate-deletes from c7fd2078c8 to 0a9aeab47c 2024-06-21 07:55:56 +00:00 Compare
acid-ant approved these changes 2024-06-21 08:02:26 +00:00
dstepanov-yadro approved these changes 2024-06-21 08:15:42 +00:00
Owner

Please, rephrase the commit message, it should start with a verb in imperative (like use). Your PR title is OK to be used as the commit message.
[#150] scenarios: Use SelectorAwaiting for read and delete load in s3_dar.js

Please, rephrase the commit message, it should start with a verb in imperative (like **use**). Your PR title is OK to be used as the commit message. `[#150] scenarios: Use SelectorAwaiting for read and delete load in s3_dar.js`
mmalygina added 1 commit 2024-06-21 12:55:22 +00:00
[#150] scenarios: Use SelectorAwaiting for read and delete load in s3_dar.js, make delete_age optional
All checks were successful
DCO action / DCO (pull_request) Successful in 1m28s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m14s
Tests and linters / Tests with -race (pull_request) Successful in 3m27s
Tests and linters / Tests (1.21) (pull_request) Successful in 3m40s
Tests and linters / Lint (pull_request) Successful in 4m29s
e7d4dd404a
Signed-off-by: m.malygina <m.malygina@yadro.com>
fyrchik merged commit e7d4dd404a into master 2024-06-21 13:03:56 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#150
No description provided.