apache / apache/accumulo

Add unit test for erroneous empty rfile

Open
#3,695 2 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

**Is your feature request related to a problem? Please describe.**
Add a Unit test for checking a valid rfile index entry that points to a datablock that is expected to be non-empty, but returns no data for the block.

Ideally this should throw an exception and interrupt any actions that were dependent on the datablock contents.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing RFile unit tests and the validation path for an RFile index entry that references a datablock. Create the empty-datablock case described in the issue and verify that it throws an exception and interrupts actions depending on the datablock contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.