forked from TrueCloudLab/xk6-frostfs
print selectionSize
Signed-off-by: m.malygina <m.malygina@yadro.com>
parent
f26092cccd
commit
f091a1f0b9
|
@ -82,7 +82,7 @@ if (registry_enabled && delete_age) {
|
|||
obj_to_delete_selector =
|
||||
constructor(__ENV.REGISTRY_FILE, 'obj_to_delete',
|
||||
__ENV.SELECTION_SIZE ? parseInt(__ENV.SELECTION_SIZE) : 0, {
|
||||
status : 'created',
|
||||
status : 'read',
|
||||
age : delete_age,
|
||||
});
|
||||
}
|
||||
|
@ -185,6 +185,8 @@ export function obj_read() {
|
|||
if (!resp.success) {
|
||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'READ'})
|
||||
.error(resp.error);
|
||||
} else {
|
||||
obj_registry.setObjectStatus(obj.id, obj.status, 'read');
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue