ORA-03970
Cannot continue transaction (statement string) on leader shard after replication unit string term changed from term string to term string
Cause
A replication unit RAFT term was changed since the transaction started. This can happen if the replication unit leader on the current shard was re-elected sometime during the current transaction.
Action
Retry the full transaction in the leader shard for this replication unit.