nns: Add notification sending #109
Labels
No labels
P0
P1
P2
P3
good first issue
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-contract#109
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-contract:feat/add_nnsNotification"
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?
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
96c019ffd8
tofbb5b41f26
@ -339,1 +339,3 @@
return register(ctx, name, owner, email, refresh, retry, expire, ttl)
st := register(ctx, name, owner, email, refresh, retry, expire, ttl)
if st == true {
runtime.Notify("RegisterDomain", name)
If contract provides notification, they should happen on every register, not just the one invoked by user (inside
register()
)This can disrupt the order of sending already existing notifications
fixed
fbb5b41f26
to46407fbd3e
New commits pushed, approval review dismissed automatically according to repository settings
@ -359,0 +432,4 @@
err error
)
index++
e.Name, err = func(item stackitem.Item) (string, error) {
Why we need
func
here?It is automatically generated code, makes it easier to generate
Oops.