irods / irods_rule_engine_plugin_logical_quotas

BSD 3-Clause "New" or "Revised" License
1 stars 9 forks source link

When to use `logical_quotas_count_total_number_of_data_objects` and `logical_quotas_count_total_size_in_bytes` #78

Closed mstfdkmn closed 1 year ago

mstfdkmn commented 1 year ago

I could not understand in which condition to use the logical_quotas_count_total_number_of_data_objects and logical_quotas_count_total_size_in_bytes operations. I execute them but I see nothing.

If these are used to show the totals correctly in regards to the fact mentioned in README for relative values, then what is the difference between these operations and logical_quotas_recalculate_totals?

Thank you.

korydraughn commented 1 year ago

There's no specific reason to use logical_quotas_count_total_number_of_data_objects or logical_quotas_count_total_size_in_bytes over logical_quotas_recalculate_totals.

They exist as options for the admin. If the admin only monitored the number of data objects, then they may not want to pay for the additional work done by logical_quotas_recalculate_totals.

mstfdkmn commented 1 year ago

Thanks Kory. I guess it can be closed if okay for you.