Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

why EventNodeDataChanged trigger children watch? #252

Open
darkterrorooo opened this issue Aug 3, 2020 · 0 comments
Open

why EventNodeDataChanged trigger children watch? #252

darkterrorooo opened this issue Aug 3, 2020 · 0 comments

Comments

@darkterrorooo
Copy link

as source code below, if data of path change , it will trigger three event.
why not only trigger watchTypeData

func (c *Conn) recvLoop(conn net.Conn) error {
....
case EventNodeDeleted, EventNodeDataChanged:
wTypes = append(wTypes, watchTypeExist, watchTypeData, watchTypeChild)

....
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant