Alaksiej Ščarbaty created NIFI-16066:
----------------------------------------
Summary: Release lingering rename lock when error occurs in
ConsumeKinesis
Key: NIFI-16066
URL: https://issues.apache.org/jira/browse/NIFI-16066
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Alaksiej Ščarbaty
Assignee: Alaksiej Ščarbaty
Fix For: 2.10.0
When error occurs in _LegacyCheckpointMigrator_ during checkpoint error rename,
the lock isn't released.
In addition the migration is considered complete only when a table with new
schema is available, without checking whether the migration actually completed.
*Improvements*
Remove the rename lock if an error during table rename occurs.
In _waitForTableRenamed_ check not only for the table schema, but also ensure
the migration table has been dropped. That's a sign of the completed migration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)