File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1021,6 +1021,7 @@ config.NC_LIFECYCLE_RUN_DELAY_LIMIT_MINS = 2;
1021
1021
/** @type {'UTC' | 'LOCAL' } */
1022
1022
config . NC_LIFECYCLE_TZ = 'LOCAL' ;
1023
1023
1024
+ config . NC_LIFECYCLE_GPFS_ILM_ENABLED = false ;
1024
1025
////////// GPFS //////////
1025
1026
config . GPFS_DOWN_DELAY = 1000 ;
1026
1027
Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ function _get_lifecycle_object_info_from_list_object_entry(entry) {
372
372
*/
373
373
async function get_candidates_by_expiration_rule ( lifecycle_rule , bucket_json , object_sdk ) {
374
374
const is_gpfs = nb_native ( ) . fs . gpfs ;
375
- if ( is_gpfs ) {
375
+ if ( is_gpfs && config . NC_LIFECYCLE_GPFS_ILM_ENABLED ) {
376
376
return get_candidates_by_expiration_rule_gpfs ( lifecycle_rule , bucket_json ) ;
377
377
} else {
378
378
return get_candidates_by_expiration_rule_posix ( lifecycle_rule , bucket_json , object_sdk ) ;
You can’t perform that action at this time.
0 commit comments