TwoPhaseCommitTool should suppress not discard exceptions from rollback. [LUCENE-6461]
Open
legacy-jira-priority:Major
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This is just generally nice to do, since we are on java 7 we should try to always preserve any context like this.
---
Migrated from [LUCENE-6461](https://issues.apache.org/jira/browse/LUCENE-6461) by Robert Muir (@rmuir), updated May 05 2015
Attachments: [LUCENE-6461.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6461/LUCENE-6461.patch)
Contributor guide
Research direction
Start by locating TwoPhaseCommitTool in the Lucene source and review the attached LUCENE-6461.patch for the intended behavior. Verify that an exception from rollback is preserved as suppressed rather than discarded, and check the relevant existing tests or add coverage for that outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100