If Anonymize (PII) job fails upon table update it does not re-enable the indexes back and leaves them in unusable state which prevents users from doing multiple actions in Clarity including project create and update
STEPS TO REPRODUCE:
Expected Results: The Anonymize Personally Identifiable Information (PII) job fails and the indexes that were disabled and set to unusable by COP_PII_ANONYMIZE_SP to be rebuilt and enabled
Actual Results: The Anonymize Personally Identifiable Information (PII) job fails and the indexes that were disabled and set to unusable by COP_PII_ANONYMIZE_SP are still in unusable state. Actions in Clarity UI, as example, creating/updating project fail with errors such as :
Caused by: java.sql.SQLException: ORA-01502: index 'NIKU.PAC_MNT_PROJECTS_U1' or partition of such index is in unusable state
Clarity 16.1.x, 16.2.x
DE154962
This is DE154962, in review by Engineering
Workaround: Engage DBA to manually rebuild the indexes (requires downtime), example syntax:
ALTER INDEX CLARITY.PPA_WIP_U1 REBUILD