Skip to content

Improve Facets mutation handling #1996

@willcj33

Description

@willcj33

Currently, if I write a facet like so <n1> <pred> <n2> (fromMerge:true) . and then afterwards, another process "upserts" the same two nodes and edge like so <n1> <pred> <n2> ., the fromMerge boolean facet is removed.

If I don't alter the facets in any way, would it make sense to not delete them? It would make managing edge facets easier on us, or at least allow an option to NOT overwrite the current facets.

This is currently an issue for us because when the fromMerge is written, there are specific things that only ever happen in that context that no other process that upserts items knows about. Thus I continue to lose that facet, which is used for specific and critical actions down the road.

Using 1.0.1 and the Golang Client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/facetsIssues related to face handling, querying, etc.area/mutationsRelated to mutations JSON or RDF.kind/enhancementSomething could be better.priority/P2Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.status/confirmedThe issue has been triaged but still not reproduced.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions