[CONTROLLER-2071] Switch to our fork of atomix-storage Created: 01/Mar/23  Updated: 19/Apr/23  Resolved: 02/Mar/23

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: 7.0.5

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks CONTROLLER-2072 Remove Kryo from atomix-storage In Review
blocks CONTROLLER-2044 Improve sal-akka-raft serialization p... Confirmed
is blocked by CONTROLLER-2069 Import atomix-storage into controller... Resolved
Relates
relates to CONTROLLER-2043 Circuit breaker timeout with BGP and ... Confirmed

 Description   

CONTROLLER-2069 imports atomix-{storage,utils} source code which has been abandoned by our upstream.

Switch akka-segmented-journal to use this code instead of pulling in the last version published by atomix.io.

This entails a number of steps:

  1. add a LICENSE file which makes it clear this code is licensed under Apache License 2.0
  2. plug the current code into build, while ignoring checkstyle/spotbugs (for now) and ensuring the right license is packaged (i.e. override EPL packaging)
  3. eliminate atomix-utils by rehosting the few classes used by atomix-storage into that component
  4. update the segmented-journal pom.xml to use internal atomix-storage
  5. eliminate unused atomix-storage classes, we really want just the segmented journal part
  6. move Kryo shading hack to atomix-storage artifact

The end result should be that:

  1. classes are still in io.atomix namespace
  2. artifacts are in org.opendaylight.controller namespace
  3. there is no impact on serialization format of akka-segmented-journal

Generated at Wed Feb 07 19:57:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.