[jira] [Commented] (NIFI-9810) Extract RocksDBFlowFileRepository to its own module and deprecate

2022-06-30 Thread ASF subversion and git services (Jira)


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

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

Commit 9cf5c170b1142351089fb2663b58581b61efb29f in nifi's branch 
refs/heads/main from Kevin Doran
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9cf5c170b1 ]

NIFI-9810 Deprecated RocksDB repository and moved to NAR

- Bump version to 6.29.5 for arm64 compatibility
- Extract RocksDBFlowFileRepository and supporting code to its own module
- Mark RocksDBFlowFileRepository as deprecated, both in code and documentation
- Log deprecation warning at startup if RocksDBFlowFileRepository is used
- Move native RocksDB info logs to NiFi debug level logs

This closes #6155

Signed-off-by: David Handermann 


> Extract RocksDBFlowFileRepository to its own module and deprecate
> -
>
> Key: NIFI-9810
> URL: https://issues.apache.org/jira/browse/NIFI-9810
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> For arm64 / Apple M1 compatibility, RocksDB needs to be bumped to >= 
> v6.29.4.1 (see below for runtime errors on an Apple Silicon M1 Mac with the 
> current version).
> RocksDB is used only by the RocksDBFlowFileRepository implementation. After 
> wider discussion with the community and who could help test and verify this 
> change, we came to the conclusion it makes the most sense to focus 
> maintenance efforts on the default FlowFileRepository implementation and 
> deprecate the RocksDB variant.
> For now, we will bump the version of RocksDB for arm64 compatibility on 
> macOS, but this ticket is also to extract it to its own module to isolate it, 
> and also mark it as deprecated with an eye on dropping it in a future major 
> version of NiFi.
> *MIGRATION GUIDANCE NOTE*
> Users of the {{RocksDBFlowFileRepository}} will have to download the new 
> {{org.apache.nifi::nifi-rocksdb-nar::x.y.z}} and add it to the lib directory 
> after upgrading past 1.16.3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-9810) Extract RocksDBFlowFileRepository to its own module and deprecate

2022-06-29 Thread Kevin Doran (Jira)


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

Kevin Doran commented on NIFI-9810:
---

After discussion with [~exceptionfactory] and [~joewitt], the new RocksDB NAR 
will be excluded from the convenience assembly binary, so users of that 
implementation will have to download and add the NAR  when they upgrade to NiFi 
>=1.17.0, with a plan to drop it as an optional extension entirely in NiFi .20

> Extract RocksDBFlowFileRepository to its own module and deprecate
> -
>
> Key: NIFI-9810
> URL: https://issues.apache.org/jira/browse/NIFI-9810
> Project: Apache NiFi
>  Issue Type: Sub-task
>Reporter: Kevin Doran
>Assignee: Kevin Doran
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> For arm64 / Apple M1 compatibility, RocksDB needs to be bumped to >= 
> v6.29.4.1 (see below for runtime errors on an Apple Silicon M1 Mac with the 
> current version).
> RocksDB is used only by the RocksDBFlowFileRepository implementation. After 
> wider discussion with the community and who could help test and verify this 
> change, we came to the conclusion it makes the most sense to focus 
> maintenance efforts on the default FlowFileRepository implementation and 
> deprecate the RocksDB variant.
> For now, we will bump the version of RocksDB for arm64 compatibility on 
> macOS, but this ticket is also to extract it to its own module to isolate it, 
> and also mark it as deprecated with an eye on dropping it in a future major 
> version of NiFi.
> *MIGRATION GUIDANCE NOTE*
> Users of the {{RocksDBFlowFileRepository}} will have to download the new 
> {{org.apache.nifi::nifi-rocksdb-nar::x.y.z}} and add it to the lib directory 
> after upgrading past 1.16.3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)