Toggle navigation
Home
io.atomix.partition.impl.ReplicaPartition to io.atomix.partition.impl.RaftPartition
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'atomix'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
partition.getDataFolder().toPath()
to
partition.getDataDir().toPath()
RaftStorage.newBuilder().withPrefix(String.format("partition-%s",partition.id())).withStorageLevel(StorageLevel.MAPPED).withSerializer(Serializer.using(RaftNamespaces.RAFT_STORAGE)).withDirectory(partition.getDataFolder()).withMaxSegmentSize(MAX_SEGMENT_SIZE).build()
to
RaftStorage.newBuilder().withPrefix(String.format("partition-%s",partition.id())).withStorageLevel(StorageLevel.MAPPED).withSerializer(Serializer.using(RaftNamespaces.RAFT_STORAGE)).withDirectory(partition.getDataDir()).withMaxSegmentSize(MAX_SEGMENT_SIZE).build()