/** * Invoked on recovered transactions after a failure. User implementation must ensure that this call will eventually * succeed. If it fails, Flink application will be restarted and it will be invoked again. If it does not succeed * eventually, a data loss will occur. Transactions will be recovered in an order in which they were created. */ protected void recoverAndCommit(TXN transaction) { commit(transaction); }
commit(pendingTransaction.handle); } catch (Throwable t) { if (firstError == null) {
/** * Invoked on recovered transactions after a failure. User implementation must ensure that this call will eventually * succeed. If it fails, Flink application will be restarted and it will be invoked again. If it does not succeed * eventually, a data loss will occur. Transactions will be recovered in an order in which they were created. */ protected void recoverAndCommit(TXN transaction) { commit(transaction); }
/** * Invoked on recovered transactions after a failure. User implementation must ensure that this call will eventually * succeed. If it fails, Flink application will be restarted and it will be invoked again. If it does not succeed * eventually, a data loss will occur. Transactions will be recovered in an order in which they were created. */ protected void recoverAndCommit(TXN transaction) { commit(transaction); }
commit(pendingTransaction.handle); } catch (Throwable t) { if (firstError == null) {
commit(pendingTransaction.handle); } catch (Throwable t) { if (firstError == null) {