Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,11 @@ private boolean triggerTableAdded(
// else: follower does not assign; meta.bucketId remains null until leader assigns
}

doAs(TableRuntimeMapper.class, mapper -> mapper.insertRuntime(meta));

// Only skip local runtime creation when master-slave mode is fully wired (bucketAssignStore
// is non-null). When bucketAssignStore is null (e.g. 3-arg test constructor), fall through
// and create the runtime in memory as in non-master-slave mode.
if (isMasterSlaveMode && haContainer != null && bucketAssignStore != null) {
doAs(TableRuntimeMapper.class, mapper -> mapper.insertRuntime(meta));
return true;
}

Expand Down
Loading