[core] Support commit isolation level #3805
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 250 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3805"
general
weight: 0.35
BsoBird
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
Purpose
For the file system catalog, there are many situations where we need to support stricter commit policies.This is especially true for third-party databases that use paimon as their underlying storage.
We define the commit isolation level option to control the behavior.
<!-- Linking this pull request to the issue -->
Linked issue: none
<!-- What is the purpose of the change -->
1. Disable retry after failed commits in strict mode
2. In strict mode, reject and clean up potentially dirty commits.
3. Categorized possible exceptions and adjusted the exception handling logic.
4. Supports concurrency control.
5. In strict mode, do not use any hint file.
Tests
<!-- List UT and IT cases to verify this change -->
See FileStoreCommitTest.java.
API and Format
<!-- Does this change affect API or storage format -->
None
Documentation
<!-- Does this change introduce a new feature -->
Glossary:
Flow chat (use strict mode):