Como resolver o erro "Data Foreign Key Constraint Validation for EndPointProtocolFilter"

Ao executar a ferramenta de preparação de atualização antes de upgrade do Symantec Data Loss Prevention 14.6 para a versão atual, a ferramenta retorna resultados em seu arquivo de log com o erro a seguir.
Start: Data Foreign Key Constraint Validation - [date and time] Data violations are detected on your schema, please use the below query(s) to retrieve the invalid data. SELECT DISTINCT protocolFilterId AS "PROTOCOLFILTERID" FROM ENDPOINTPROTOCOLFILTER WHERE protocolFilterId IS NULL OR protocolFilterId NOT IN (SELECT acv.protocolFilterId FROM AgentConfigurationVersion acv WHERE acv.protocolFilterId IS NOT NULL); End : Data Foreign Key Constraint Validation - elapsed 0s - FAILED (1 violation)
Siga as etapas abaixo para resolver o erro "Data Foreign Key Constraint Validation for EndPointProtocolFilter":
  1. Execute o seguinte comando para criar um backup de dados:
    create table EndpointProtocolFilter_nomatch as select * from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);
  2. Execute o seguinte comando para confirmar a contagem de registros:
    select count(*) from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);
  3. Anote a contagem de registros.
  4. Execute o seguinte comando para excluir dados que causam falha no upgrade:
    DELETE FROM EndpointProtocolFilter WHERE protocolFilterId NOT IN (SELECT acv.protocolFilterId FROM AgentConfigurationVersion acv WHERE acv.protocolFilterId IS NOT NULL);
  5. Confirme se o número de registros excluídos corresponde à contagem de registros. Consulte a etapa 3. Se as contagens de registros não corresponderem, entre em contato com o suporte da Symantec.
  6. Execute o seguinte comando para concluir a operação de exclusão:
    commit;
  7. Execute o seguinte comando para confirmar se o número de registros corresponde:
    select count(*) from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);