Backward compatibility for enum-typed configuration

Description

We experience incompatibility issues when using Alluxio configuration files.

Specifically, in version 1.5.0, alluxio.user.file.metadata.load.type has value [Always, Never, Once], but in version 2.*, alluxio.user.file.metadata.load.type has value [ALWAYS, NEVER, ONCE], which is not backward compatible.

The incompatibility is introduced in
https://github.com/Alluxio/alluxio/commit/eef969894632597088034bcd34c2e1a2776e9758

The fix is really simple – making it case insensitive.

A simple patch is provided.

Environment

None

Assignee

Calvin Jia

Reporter

ctest.team

Labels

None

Components

Affects versions

Priority

Major
Configure