apache / apache/accumulo

Move all static state into Client Context

Open
#735 5 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

As a follow on to #718 it would be nice to move all static state into Client Context and have a single Client Context object per an Accumulo Client. For compatibility, Connector could have a static map of Client Context objects. For sever processes, there should only be one instance of ServerContext that is used for the entire process.

Contributor guide

Open the contributing guide

Research direction

Review the changes and discussion from #718, then trace Client Context, Connector, and ServerContext usage across the project. Define how one Client Context maps to each Accumulo Client, how Connector preserves compatibility, and how server processes share one ServerContext; done requires all static state to follow that model.

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.