morph: Cleanup InvocationScript
before sign #776
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#776
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:bugfix/clean-inv-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Necessary to skip check on the neo-go side.
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
@ -418,6 +418,17 @@ func (c *Client) NotarySignAndInvokeTX(mainTx *transaction.Transaction) error {
return err
}
// This is necessary to suppress this check on neo-go side:
Can we mention that this is a kludge purely for update to work?
Updated.
ac3076e5ca
to8860b2dfa7
8860b2dfa7
to6d96605190
6d96605190
toa983b68294
a983b68294
to1415bb3433
Added config "morph.keepinvscript" to disable/enable kludge.
1415bb3433
tobb5b3a93dc
bb5b3a93dc
to7d9fe03f28
WIP: morph: Cleanupto morph: CleanupInvocationScript
before signInvocationScript
before sign@ -213,2 +214,4 @@
a.EngineCfg.rebuildWorkers = engineconfig.EngineRebuildWorkersCount(c)
// Kludge
client.KeepInvScript = morphconfig.KeepInvocationScript(c)
Do we read this with SIGHUP? Could be a data race.
Yes, we read it at SIGHUP too, and yes it is possible for data race. But we use this variable when react on events which happens not so far. Also, when system upgraded, it works in both scenarios as I remember - when kludged enabled/disabled.