In BufferedIndexInput to cleanup the bufferSize variable passed down to it as the default bufferSize(BUFFER_SIZE) is always used [LUCENE-3248]
Open
affects-version:4.0-ALPHA
affects-version:IOContext branch
legacy-jira-priority:Major
module:core/store
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
After adding IOContext in (#3867) we can optimize the size of all the buffers accordingly. This patch would cleanup all the unused bufferSize variables.
---
Migrated from [LUCENE-3248](https://issues.apache.org/jira/browse/LUCENE-3248) by Varun Thacker (@vthacker)
Contributor guide
Research direction
Start by reading BufferedIndexInput and tracing how IOContext and bufferSize are passed to it. Identify the unused bufferSize variables described in the issue, then verify that the cleanup preserves the IOContext-based buffer sizing and that the existing tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100