FoundationDB / fdb-record-layer

A record-oriented store built on FoundationDB
Apache License 2.0
589 stars 104 forks source link

Allow Lucene asyncToSync to not map exceptions #2926

Closed ohadzeliger closed 1 month ago

ohadzeliger commented 1 month ago

AsyncToSync is performing exception mapping that converts exceptions to other exceptions types. This is problematic in some cases (e.g. Lucene ) where the asyncToSync calls are internal and the record layer needs to reason about their types. So, this change requires the creation of a flavor of asyncToSync that can be called from record layer code where exception mapping should not be invoked.

ohadzeliger commented 1 month ago

Dupe of #2923