Michael created NIFI-13306:
------------------------------
Summary: Site to Site protocol cannot handle target cluster swap
during transaction completion
Key: NIFI-13306
URL: https://issues.apache.org/jira/browse/NIFI-13306
Project: Apache NiFi
Issue Type: Bug
Reporter: Michael
Attachments: nifi-cutover.jpg
When sending data from MINIFI using SXS, and the target NIFI cluster is
replaced (e.g. a blue green deployment). The transaction can get stuck in a
condition that will cause it to continue to retry (and fail) to close the
transaction, blocking the process group and not allowing other traffic to flow.
MINIFI does seem to recover in other parts of the transaction flow.
Sample log entry:
_2024-05-22 12:59:51,626 ERROR [Timer-Driven Process Thread-5]
o.a.nifi.remote.{*}StandardRemoteGroupPort{*} RemoteGroupPort[name=From Minifi
FL,targets=https://<>/nifi/] failed to communicate with remote NiFi instance
due to java.io.IOException: Failed to complete transaction with
Peer[url=https://<>/nifi-api] due to java.io.IOException:
[Url=https://<>/nifi-api, TransferDirection=SEND, State=TRANSACTION_CONFIRMED]
Failed to receive a response from Peer[url=https://<>/nifi-api] when expecting
a TransactionFinished Indicator. It is unknown whether or not the peer
successfully received/processed the data. java.io.IOException: Unexpected
response code: 404 errCode:Abort errMessage:Transaction was not found._
Sample blue/green flow attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)