fix(nodes): order client pushes outside inbound mutation locks

Reserve node apply turns in database commit order and release the inbound mutation lock before waiting or calling the remote runtime. Keep lifecycle updates and full reconciliation in the same sequence, preserve dirty generations across overlapping writes, and invalidate fingerprints after uncertain or superseded remote state.
This commit is contained in:
Hamed Sanaei
2026-11-30 22:08:47 +03:30
parent 15feed9ea7
commit e80af331eb
13 changed files with 891 additions and 179 deletions
+9 -8
View File
@@ -417,14 +417,15 @@ func TestMasterNodeContract(t *testing.T) {
// Remote methods that never reach the node, or that this table must not run.
var remoteMethodsOutsideContract = map[string]string{
"Name": "local label",
"RecordAdoptedInbound": "local fingerprint bookkeeping",
"AdoptInboundAlias": "local alias bookkeeping",
"AdoptedInboundAliases": "local alias bookkeeping",
"AdvancePushedInbound": "local fingerprint bookkeeping",
"ForgetPushedInbound": "local fingerprint bookkeeping",
"ForgetInbound": "local bookkeeping for an inbound the node no longer has",
"UpdatePanel": "replaces the node binary; node-sync is denied it on purpose (#6201)",
"Name": "local label",
"RecordAdoptedInbound": "local fingerprint bookkeeping",
"AdoptInboundAlias": "local alias bookkeeping",
"AdoptedInboundAliases": "local alias bookkeeping",
"AdvancePushedInbound": "local fingerprint bookkeeping",
"ForgetAllPushedInbounds": "local fingerprint bookkeeping",
"ForgetPushedInbound": "local fingerprint bookkeeping",
"ForgetInbound": "local bookkeeping for an inbound the node no longer has",
"UpdatePanel": "replaces the node binary; node-sync is denied it on purpose (#6201)",
}
// A Remote method with no cell is how activeInbounds and bulkResetTraffic