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 @@ -1032,6 +1032,7 @@ config.NC_LIFECYCLE_RUN_DELAY_LIMIT_MINS = 2;
1032
1032
/** @type {'UTC' | 'LOCAL' } */
1033
1033
config . NC_LIFECYCLE_TZ = 'LOCAL' ;
1034
1034
1035
+ config . NC_LIFECYCLE_GPFS_ILM_ENABLED = false ;
1035
1036
////////// GPFS //////////
1036
1037
config . GPFS_DOWN_DELAY = 1000 ;
1037
1038
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