apache / apache/accumulo

Refactor FATE

Open
#2,473 12 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.2k
Forks
487
Avg merge
4d 5h
Merged PRs (30d)
13

Description

I was looking at the warnings we suppress in `ZooStore` and they all seem to stem from the serialization of the generics. I was wondering if it would be better to refactor out the generic types so we don't have to arbitrarily serialize objects and blindly cast them. This would be a bit of work but it might not be too bad. I think if we create an interface like `FateEnvironment` to pass to the operations we wouldn't have to pass the Manager around.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the warnings and generic serialization in ZooStore, then trace how operations receive and use Manager. The issue proposes introducing a FateEnvironment interface, but does not identify the affected files or tests. Done would require an agreed design and a completed refactor that removes the arbitrary serialization and blind casts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.