You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Martin Zink (Jira)" <ji...@apache.org> on 2022/03/03 12:30:00 UTC

[jira] [Created] (MINIFICPP-1766) ProcessSession::read can't read zero length flowfiles (DatabaseContentRepository)

Martin Zink created MINIFICPP-1766:
--------------------------------------

             Summary: ProcessSession::read can't read zero length flowfiles (DatabaseContentRepository)
                 Key: MINIFICPP-1766
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1766
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Martin Zink
            Assignee: Martin Zink
             Fix For: 0.12.0


RocksDbStream::write will not create a key in the db for data with length 0, but RocksDbStream::read will check for the existence of the key even when the length is 0.

 
 *  fix RocksDbStream::write to create an entry in the db even for zero length values
 *  fix RocksDbStream::read to return successfully when reading 0 bytes even if there is no corresponding key



--
This message was sent by Atlassian Jira
(v8.20.1#820001)