[
https://issues.apache.org/jira/browse/MINIFICPP-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Zink updated MINIFICPP-1766:
-----------------------------------
Status: Patch Available (was: In Progress)
https://github.com/apache/nifi-minifi-cpp/pull/1273
> 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
> Priority: Major
> Fix For: 0.12.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
> We could either
> * fix RocksDbStream::write to create an entry in the db even for zero
> length values or
> * 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)