The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git/fix/ignore-corrupted-local-offset has failed. Run started by GitHub user wang-jiahua (triggered by wang-jiahua).
Head commit for run: 580f8ca4c259e0e4862d5e70e961592ae9885344 / wangjiahua.wjh <[email protected]> [ISSUE #10518] Add client config to ignore corrupted local offset files When ~/.rocketmq_offsets/ files are corrupted (e.g., truncated due to power loss during persistAll()), readLocalOffsetBak() unconditionally throws MQClientException, crashing the consumer application. Fix: Add ClientConfig.localOffsetStoreIgnoreCorrupted (default false). When true, corrupted offset files are silently skipped with a warning log, and the consumer starts with an empty offset table (falling back to CONSUME_FROM_TIMESTAMP or broker-side offset). Default false preserves existing behavior (fully backward compatible). Changes: - ClientConfig: add localOffsetStoreIgnoreCorrupted field + getter/setter - LocalFileOffsetStore.readLocalOffsetBak(): check config before throwing Report URL: https://github.com/apache/rocketmq/actions/runs/28492504654 With regards, GitHub Actions via GitBox
