Skip to content

Commit df1ee44

Browse files
committed
Fix parallel tx processing disabled for X_BONSAI_ARCHIVE storage format
BesuCommand gated isParallelTxProcessingEnabled behind a strict DataStorageFormat.BONSAI equality check. Archive nodes use X_BONSAI_ARCHIVE, so the flag was never set and defaulted to false, silently disabling parallel transaction processing on all archive nodes. Changed to isBonsaiFormat() which covers both BONSAI and X_BONSAI_ARCHIVE. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Jason Frame <jason.frame@consensys.net>
1 parent 58f63e1 commit df1ee44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/hyperledger/besu/cli/BesuCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2074,7 +2074,7 @@ public BesuControllerBuilder setupControllerBuilder() {
20742074
.apiConfiguration(apiConfiguration)
20752075
.balConfiguration(balConfiguration)
20762076
.besuComponent(besuComponent);
2077-
if (DataStorageFormat.BONSAI.equals(getDataStorageConfiguration().getDataStorageFormat())) {
2077+
if (getDataStorageConfiguration().getDataStorageFormat().isBonsaiFormat()) {
20782078
final PathBasedExtraStorageConfiguration subStorageConfiguration =
20792079
getDataStorageConfiguration().getPathBasedExtraStorageConfiguration();
20802080
besuControllerBuilder.isParallelTxProcessingEnabled(

0 commit comments

Comments
 (0)