mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-02 23:45:11 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user