You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/24 11:58:00 UTC

[jira] [Commented] (NIFI-8253) GenerateTableFetch never commits the session

    [ https://issues.apache.org/jira/browse/NIFI-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289874#comment-17289874 ] 

ASF subversion and git services commented on NIFI-8253:
-------------------------------------------------------

Commit 2dedd8bf0fd3251acd1fdd2e269c7fd79b6bc349 in nifi's branch refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2dedd8b ]

NIFI-8253: Restore call to session.commit() in GenerateTableFetch

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #4840.


> GenerateTableFetch never commits the session
> --------------------------------------------
>
>                 Key: NIFI-8253
>                 URL: https://issues.apache.org/jira/browse/NIFI-8253
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.13.0
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Blocker
>             Fix For: 1.14.0, 1.13.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In NIFI-8136, the session.commit() call was inadvertently removed from GenerateTableFetch (rather than moved until after the session.setState() call). This regression was not caught by unit tests because no assertion was made that the session(s) had been committed.
> The session.commit() call should be returned and the unit test(s) should assert the session(s) have been committed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)