Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: unigraph-dev/dgraph

Tags

unigraph/v0.2.6

Toggle unigraph/v0.2.6's commit message
feat(mutation): mutation now shows changed UIDs

unigraph/v0.2.0

Toggle unigraph/v0.2.0's commit message
chore: unigraph/v0.2.0

dgraph-personal/v21.12.0

Toggle dgraph-personal/v21.12.0's commit message
fix(worker): reset cache size to default size

unigraph/v0.1.1

Toggle unigraph/v0.1.1's commit message
fix(dgraph): Fix dgraph crash on windows

unigraph/v0.1.0

Toggle unigraph/v0.1.0's commit message
fix(dgraph): Fix dgraph crash on windows

v99.0.1

Toggle v99.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #6 from TheExGenesis/ci/dgraph-personal

build dgraph, make artifacts, make release

v0.0.1

Toggle v0.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #6 from TheExGenesis/ci/dgraph-personal

build dgraph, make artifacts, make release

v20.11.0-rc1

Toggle v20.11.0-rc1's commit message
First release candidate for 20.11

release/v20.11-rc1

Toggle release/v20.11-rc1's commit message
First release candidate for 20.11

v1.2.8

Toggle v1.2.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(Query): Fix wrong path response for k-shortest paths (dgraph-io#6437

) (dgraph-io#6791)

The k-shortest path query sometimes returns a wrong response. The cause
of this issue is inappropriate use of sync.pools. Whenever a valid path
is found a new variable is assigned with this route and that variable is
appended in the kroutes (which is then parsed to produce response).
But the route is also put in the sync.pool. Since the route is a
structure containing a pointer to slice along with other fields, when
it is fetched back from the pool in future then any mutation on this fetched
route causes modification in the kroutes, resulting in garbage response.

This issue is fixed by making a copy of the route struct rather
than just assigning it to a variable, which causes a shallow copy.

(cherry picked from commit 4792d8b)