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

why EventNodeDataChanged trigger children watch? #252

@darkterrorooo

Description

@darkterrorooo

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)

....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions