apache / apache/accumulo

Add a yielding filter

Open
#948 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
487
Avg merge
4d 5h
Merged PRs (30d)
13

Description

It seems like a yielding filter would be useful to add to Accumulo. Could add an option like `yield.time` to the existing filter base class. The downside of adding an option to the existing class is that it may conflict with user filter options. Could also create a new class, but that option would not benefit existing implementations of Filter.

Below is a link to a yielding filter I created for performance testing for apache/accumulo-testing#56

[YieldingFilter.java](https://github.com/apache/accumulo-testing/blob/71a788e8c94e0e2e1b7afcfc98b8bb7797d00504/src/main/java/org/apache/accumulo/testing/performance/tests/YieldingFilter.java)

Contributor guide

Open the contributing guide

Research direction

Start with the linked YieldingFilter.java performance-test implementation and the existing filter base class in Accumulo. Compare the two approaches while investigating the stated risk that a yield.time option could conflict with user filter options. Done requires an agreed choice between extending the base class and adding a new class, with the behavior and compatibility expectations defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.