# Latest

**URL:** https://discuss.dgraph.io/latest.md?page=5

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

**Page:** 6

---

## [Panics when opening a corrupted Badger DB](https://discuss.dgraph.io/t/panics-when-opening-a-corrupted-badger-db/14016)

<div class="topic-metadata">

**Author:** [@lukeng](https://discuss.dgraph.io/u/lukeng)\
**Replies:** 9\
**Last updated:** [November 15, 2024, 8:34am UTC](https://discuss.dgraph.io/t/panics-when-opening-a-corrupted-badger-db/14016 "2024-11-15T08:34:00Z")

</div>

What version of Go are you using (go version)? $ go version go version go1.16.2 windows/amd64 What operating system are you using? Windows 10 1903 (OS build 18362.1082) What version of Badger are you using? github.com…

---

## [Query Nodes Uniquely](https://discuss.dgraph.io/t/query-nodes-uniquely/19592)

<div class="topic-metadata">

**Author:** [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 12:33pm UTC](https://discuss.dgraph.io/t/query-nodes-uniquely/19592 "2024-11-06T12:33:29Z")

</div>

This is a query that I make: myuser(func: uid(0x5a57, 0x5a57, 0x5a57)) { uid, some\_other\_fields } this is the result: "data": { "myuser": \[ { "uid": "0x5a57" }, { …

---

## [Question about edges / relationships](https://discuss.dgraph.io/t/question-about-edges-relationships/19561)

<div class="topic-metadata">

**Author:** [@JourneyToSilius](https://discuss.dgraph.io/u/JourneyToSilius)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 5:28pm UTC](https://discuss.dgraph.io/t/question-about-edges-relationships/19561 "2024-10-31T17:28:21Z")

</div>

Is there any way to get the information of the connection between two nodes in the JSON response ? { addresses(func: eq(address, \["000F5D2f"\], \["00514912"\])) { address containerItems0: ~box0 { address …

---

## [BUG in incremental backups using vector predicates](https://discuss.dgraph.io/t/bug-in-incremental-backups-using-vector-predicates/19580)

<div class="topic-metadata">

**Author:** [@mike42](https://discuss.dgraph.io/u/mike42)\
**Replies:** 3\
**Last updated:** [October 31, 2024, 5:28am UTC](https://discuss.dgraph.io/t/bug-in-incremental-backups-using-vector-predicates/19580 "2024-10-31T05:28:47Z")

</div>

Hello, we noticed a problem using incremental backups. Since Dgraph v24 we have made some tests with vector predicates where we have found a problem after restore (live) our backups. The following behaviour could be ob…

---

## [Error installing dgraph-js v24.0.0](https://discuss.dgraph.io/t/error-installing-dgraph-js-v24-0-0/19587)

<div class="topic-metadata">

**Author:** [@nick-w-nick](https://discuss.dgraph.io/u/nick-w-nick)\
**Replies:** 3\
**Last updated:** [October 31, 2024, 1:10am UTC](https://discuss.dgraph.io/t/error-installing-dgraph-js-v24-0-0/19587 "2024-10-31T01:10:09Z")

</div>

I have been trying to debug an error we’ve been hitting since upgrading to dgraph-js v24.0.0, and noticed that it happens in the dgraph-js repo itself as well. This error seems to be related to the grpc package, as show…

---

## [Issue Connecting Dgraph Alpha Instance to Zero Leader Across Different Servers](https://discuss.dgraph.io/t/issue-connecting-dgraph-alpha-instance-to-zero-leader-across-different-servers/19578)

<div class="topic-metadata">

**Author:** [@sivak](https://discuss.dgraph.io/u/sivak)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 11:03am UTC](https://discuss.dgraph.io/t/issue-connecting-dgraph-alpha-instance-to-zero-leader-across-different-servers/19578 "2024-10-28T11:03:26Z")

</div>

What I want to do I have set up Dgraph Zero and Dgraph Alpha on one instance (xxx.xxx.x.27), and another Dgraph Alpha instance on a different server (xxx.xxx.x.28). I want to connect the Alpha instance on the second ser…

---

## [Dgraph Development](https://discuss.dgraph.io/t/dgraph-development/19577)

<div class="topic-metadata">

**Author:** [@vnium](https://discuss.dgraph.io/u/vnium)\
**Replies:** 2\
**Last updated:** [October 25, 2024, 4:02pm UTC](https://discuss.dgraph.io/t/dgraph-development/19577 "2024-10-25T16:02:33Z")

</div>

Dgraph development speed seems to have improved compared to the last few years. Thanks to all involved developers! I’m especially happy to see that glog was finally removed from Ristretto.

---

## [I have a jwt stored in httponly cookie, is there a way to pass it to dgraph for auth without proxy](https://discuss.dgraph.io/t/i-have-a-jwt-stored-in-httponly-cookie-is-there-a-way-to-pass-it-to-dgraph-for-auth-without-proxy/15662)

<div class="topic-metadata">

**Author:** [@star](https://discuss.dgraph.io/u/star)\
**Replies:** 3\
**Last updated:** [October 4, 2024, 7:27am UTC](https://discuss.dgraph.io/t/i-have-a-jwt-stored-in-httponly-cookie-is-there-a-way-to-pass-it-to-dgraph-for-auth-without-proxy/15662 "2024-10-04T07:27:26Z")

</div>

JWT is stored in httponly cookie , i donot wanna use proxy, since cookie is sent automatically i was wondering if there is a way in dgraph to parse it

---

## [In Dgraph, How to Propagate Data from One Node to Other Nodes Directly or Indirectly Connected?](https://discuss.dgraph.io/t/in-dgraph-how-to-propagate-data-from-one-node-to-other-nodes-directly-or-indirectly-connected/19554)

<div class="topic-metadata">

**Author:** [@Kapil\_Kathiriya](https://discuss.dgraph.io/u/Kapil_Kathiriya)\
**Replies:** 2\
**Last updated:** [September 26, 2024, 10:38pm UTC](https://discuss.dgraph.io/t/in-dgraph-how-to-propagate-data-from-one-node-to-other-nodes-directly-or-indirectly-connected/19554 "2024-09-26T22:38:04Z")

</div>

I’m working on clustering Bitcoin addresses using the multi-input heuristic, and I need to propagate entity labels across connected nodes. Here’s the situation: I treat each unique Bitcoin address as a node. For transa…

---

## [Convert types schema to the actual schema file](https://discuss.dgraph.io/t/convert-types-schema-to-the-actual-schema-file/19536)

<div class="topic-metadata">

**Author:** [@droslean](https://discuss.dgraph.io/u/droslean)\
**Replies:** 5\
**Last updated:** [September 25, 2024, 2:11pm UTC](https://discuss.dgraph.io/t/convert-types-schema-to-the-actual-schema-file/19536 "2024-09-25T14:11:07Z")

</div>

Currently, the types.graphql file that holds all the types can be imported into the database. Exporting the schema will also generate the predicates and the queries/mutations… To do that, it is possible to run a graphql…

---

## [Recommendation nodes with edge filter](https://discuss.dgraph.io/t/recommendation-nodes-with-edge-filter/5887)

<div class="topic-metadata">

**Author:** [@mehrdad.dev](https://discuss.dgraph.io/u/mehrdad.dev)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 1:08am UTC](https://discuss.dgraph.io/t/recommendation-nodes-with-edge-filter/5887 "2024-09-25T01:08:21Z")

</div>

Hi , i have this query for recommendation nodes. { find as var(func: eq(first\_name,"mehrdad")) { sc as math(1) fr as follow { follow { fscore as math(sc) } } } recommendationProfile(func: uid(…

---

## [Cracking DQL: Variable Propagation - Dgraph Blog](https://discuss.dgraph.io/t/cracking-dql-variable-propagation-dgraph-blog/19548)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 12:14am UTC](https://discuss.dgraph.io/t/cracking-dql-variable-propagation-dgraph-blog/19548 "2024-09-25T00:14:04Z")

</div>

Variable propagation is a powerful technique in programming and algorithms. It optimizes performance by reducing unnecessary recalculations and improving overall efficiency. This concept refers to passing known variable …

---

## [Dgraph4j release instructions out-dated](https://discuss.dgraph.io/t/dgraph4j-release-instructions-out-dated/19546)

<div class="topic-metadata">

**Author:** [@EnricoMi](https://discuss.dgraph.io/u/EnricoMi)\
**Replies:** 1\
**Last updated:** [September 24, 2024, 8:44am UTC](https://discuss.dgraph.io/t/dgraph4j-release-instructions-out-dated/19546 "2024-09-24T08:44:04Z")

</div>

This is an issue for Dgraph client Dgraph4j. The Dgraph4j repo contains instructions on publishing artifacts to Maven: Neither command ./gradlew publish (does not even build any artifacts): BUILD SUCCESSFUL in 577ms n…

---

## [Dgraph GitHub Issues is now open](https://discuss.dgraph.io/t/dgraph-github-issues-is-now-open/16451)

<div class="topic-metadata">

**Author:** [@mrjn](https://discuss.dgraph.io/u/mrjn)\
**Replies:** 12\
**Last updated:** [September 24, 2024, 1:45am UTC](https://discuss.dgraph.io/t/dgraph-github-issues-is-now-open/16451 "2024-09-24T01:45:02Z")

</div>

Hey guys, We heard your feedback about GitHub issues not being open. @dmai has just opened it up. Feel free to file issues there. https://github.com/dgraph-io/dgraph/pull/8114 Cheers, Manish

---

## [Shade grpc dependency](https://discuss.dgraph.io/t/shade-grpc-dependency/7749)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 9:12am UTC](https://discuss.dgraph.io/t/shade-grpc-dependency/7749 "2024-09-23T09:12:09Z")

</div>

Posted by mangalaman93: If we shade the grpc dependency of Java client, it would avoid conflicts with a different version of grpc dependency that user code might have. I have faced these issues with Spark (or MapR), spa…

---

## [Jemalloc missing from docker container?](https://discuss.dgraph.io/t/jemalloc-missing-from-docker-container/19532)

<div class="topic-metadata">

**Author:** [@raddi](https://discuss.dgraph.io/u/raddi)\
**Replies:** 9\
**Last updated:** [September 19, 2024, 7:56pm UTC](https://discuss.dgraph.io/t/jemalloc-missing-from-docker-container/19532 "2024-09-19T19:56:01Z")

</div>

Hi, I tried compiling dgraph from the source and I have the jemalloc dependency being built in /usr/local/lib. When I exec into the dgraph docker container (the official 24.0.0 image), the jemalloc library is missing, ho…

---

## [Not able to query across tree structure with millions of links](https://discuss.dgraph.io/t/not-able-to-query-across-tree-structure-with-millions-of-links/19527)

<div class="topic-metadata">

**Author:** [@LCL](https://discuss.dgraph.io/u/LCL)\
**Replies:** 6\
**Last updated:** [September 5, 2024, 4:11pm UTC](https://discuss.dgraph.io/t/not-able-to-query-across-tree-structure-with-millions-of-links/19527 "2024-09-05T16:11:21Z")

</div>

What I want to do I want to run a basic query. The schema is the following: type File { id: ID! name: String! @search(by: \[hash, regexp\]) buckets: \[Bucket\] @hasInverse(field: inBucket) } type Bucket { id: ID! …

---

## [Second order isn't applied](https://discuss.dgraph.io/t/second-order-isnt-applied/19521)

<div class="topic-metadata">

**Author:** [@markushedlund](https://discuss.dgraph.io/u/markushedlund)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 1:29am UTC](https://discuss.dgraph.io/t/second-order-isnt-applied/19521 "2024-08-27T01:29:08Z")

</div>

Same as Why second order not work? If first order is val(), second order is ignored. This is what I’m trying to do orderdesc: val(SECTIONS\_COUNT), orderasc: name Using Dgraph v23.1.1

---

## [Support order by combination of val() and predicate](https://discuss.dgraph.io/t/support-order-by-combination-of-val-and-predicate/19530)

<div class="topic-metadata">

**Author:** [@markushedlund](https://discuss.dgraph.io/u/markushedlund)\
**Replies:** 0\
**Last updated:** [August 27, 2024, 1:28am UTC](https://discuss.dgraph.io/t/support-order-by-combination-of-val-and-predicate/19530 "2024-08-27T01:28:35Z")

</div>

Enhancement request for supporting order by a combination of val() and predicate. orderdesc: val(SECTIONS\_COUNT), orderasc: name Please see Second order isn't applied and Why second order not work?.

---

## [Dgo Client (v230) Install Error](https://discuss.dgraph.io/t/dgo-client-v230-install-error/19529)

<div class="topic-metadata">

**Author:** [@Bob\_Bobby](https://discuss.dgraph.io/u/Bob_Bobby)\
**Replies:** 2\
**Last updated:** [August 26, 2024, 8:13pm UTC](https://discuss.dgraph.io/t/dgo-client-v230-install-error/19529 "2024-08-26T20:13:33Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: v230 What version of Dgraph are you…

---

## [DQL: Querying Subgraph at Arbitrary Depth](https://discuss.dgraph.io/t/dql-querying-subgraph-at-arbitrary-depth/19515)

<div class="topic-metadata">

**Author:** [@adriangalilea](https://discuss.dgraph.io/u/adriangalilea)\
**Replies:** 3\
**Last updated:** [August 24, 2024, 9:55pm UTC](https://discuss.dgraph.io/t/dql-querying-subgraph-at-arbitrary-depth/19515 "2024-08-24T21:55:49Z")

</div>

Current Approach I’m currently using the following DQL query to fetch a category and its subcategories recursively: query categories($path: string) { var(func: eq(Category.name, $path)) { cat as uid } categori…

---

## [@hasInverse GraphQL to DQL mapping](https://discuss.dgraph.io/t/hasinverse-graphql-to-dql-mapping/10077)

<div class="topic-metadata">

**Author:** [@spinelsun](https://discuss.dgraph.io/u/spinelsun)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 4:09pm UTC](https://discuss.dgraph.io/t/hasinverse-graphql-to-dql-mapping/10077 "2024-08-23T16:09:51Z")

</div>

ok that’s good enough. Another question abiut the gap between GQL and DQL, when I use, for example, the @hasInverse directive and look in Ratel on the schema, I can’t see the @reverse index under the relvante predicate…

---

## [\`@default\` was merged yet I get \`undefined directive default.\`](https://discuss.dgraph.io/t/default-was-merged-yet-i-get-undefined-directive-default/19526)

<div class="topic-metadata">

**Author:** [@adriangalilea](https://discuss.dgraph.io/u/adriangalilea)\
**Replies:** 1\
**Last updated:** [August 23, 2024, 9:42am UTC](https://discuss.dgraph.io/t/default-was-merged-yet-i-get-undefined-directive-default/19526 "2024-08-23T09:42:55Z")

</div>

Apparently @default was added here But I can’t use it, there’s also this issue tracking it, so it’s hard to tell what’s going on, there’s no reference to @default on the docs either… Can someone shed some light?

---

## [Latest benchmark available?](https://discuss.dgraph.io/t/latest-benchmark-available/19506)

<div class="topic-metadata">

**Author:** [@antony](https://discuss.dgraph.io/u/antony)\
**Replies:** 6\
**Last updated:** [August 21, 2024, 3:52pm UTC](https://discuss.dgraph.io/t/latest-benchmark-available/19506 "2024-08-21T15:52:19Z")

</div>

I see this post - Benchmark for dgraph But would like know if there is a latest comparison/performance metrices Our requirement : Need performance metrices to substantiate the decision to have a Dgraph. thanks in adv…

---

## [How to create edge facets in JSON mutation request](https://discuss.dgraph.io/t/how-to-create-edge-facets-in-json-mutation-request/19511)

<div class="topic-metadata">

**Author:** [@antony](https://discuss.dgraph.io/u/antony)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 8:29am UTC](https://discuss.dgraph.io/t/how-to-create-edge-facets-in-json-mutation-request/19511 "2024-08-20T08:29:15Z")

</div>

could anyone please help me with JSON request for mutation along with adding edge facets. example : { "set": \[ { "uid": "0x17", "accountNumber": "110011", …

---

## [DQL querying with an array of parameters](https://discuss.dgraph.io/t/dql-querying-with-an-array-of-parameters/19519)

<div class="topic-metadata">

**Author:** [@adriangalilea](https://discuss.dgraph.io/u/adriangalilea)\
**Replies:** 3\
**Last updated:** [August 19, 2024, 6:23pm UTC](https://discuss.dgraph.io/t/dql-querying-with-an-array-of-parameters/19519 "2024-08-19T18:23:35Z")

</div>

The documentation states: Query parameterization Parameters must have a name starting with a \` symbol. must have a type int, float, bool or string. may have a default value. In the example below, $age has a default v…

---

## [Predicate Rebalances (Moves) Across Servers Cause Transactions to Abort](https://discuss.dgraph.io/t/predicate-rebalances-moves-across-servers-cause-transactions-to-abort/19452)

<div class="topic-metadata">

**Author:** [@rahst12](https://discuss.dgraph.io/u/rahst12)\
**Replies:** 1\
**Last updated:** [August 15, 2024, 11:13pm UTC](https://discuss.dgraph.io/t/predicate-rebalances-moves-across-servers-cause-transactions-to-abort/19452 "2024-08-15T23:13:28Z")

</div>

When a predicates rebalances (moves) across groups/servers, mutation transactions abort at a significantly higher rate. Scenario: A server is sending a continuous live data flow into dgraph with a predicateA, predicat…

---

## [Alpha nodes stuck in "opPredMove"](https://discuss.dgraph.io/t/alpha-nodes-stuck-in-oppredmove/18391)

<div class="topic-metadata">

**Author:** [@aayush](https://discuss.dgraph.io/u/aayush)\
**Replies:** 4\
**Last updated:** [August 15, 2024, 11:08pm UTC](https://discuss.dgraph.io/t/alpha-nodes-stuck-in-oppredmove/18391 "2024-08-15T23:08:36Z")

</div>

Hi there, So we have a situation where our the health check on the dgraph cluster (running on GKE) gives: "ongoing": \[ "opPredMove" \] I’m wondering What does it mean exaclty and how long it will stay in this…

---

## [@hasInverse in GraphQL and @reverse in DQL: Compatibility and Best Practices](https://discuss.dgraph.io/t/hasinverse-in-graphql-and-reverse-in-dql-compatibility-and-best-practices/19514)

<div class="topic-metadata">

**Author:** [@adriangalilea](https://discuss.dgraph.io/u/adriangalilea)\
**Replies:** 6\
**Last updated:** [August 13, 2024, 2:39pm UTC](https://discuss.dgraph.io/t/hasinverse-in-graphql-and-reverse-in-dql-compatibility-and-best-practices/19514 "2024-08-13T14:39:17Z")

</div>

Context I’m working on a project where I need to use both GraphQL and DQL with Dgraph. I’ve set up my GraphQL schema using @hasInverse for relationships, but I’m encountering some confusion and potential issues when tryi…

---

## [After set SyncWrites to true, the success of db.Update doesn't not means 100% success](https://discuss.dgraph.io/t/after-set-syncwrites-to-true-the-success-of-db-update-doesnt-not-means-100-success/19517)

<div class="topic-metadata">

**Author:** [@paulzhn](https://discuss.dgraph.io/u/paulzhn)\
**Replies:** 0\
**Last updated:** [August 13, 2024, 8:21am UTC](https://discuss.dgraph.io/t/after-set-syncwrites-to-true-the-success-of-db-update-doesnt-not-means-100-success/19517 "2024-08-13T08:21:09Z")

</div>

Hello, I’m using badger as the persistency storage, and I want to make sure if the db.Update returns no err, the data is 100% safe. However, after I checked the code in value.go:808: defer func() { if vlog.opt.SyncWrit…

[Previous page](https://discuss.dgraph.io/latest.md?page=4)

[Next page](https://discuss.dgraph.io/latest.md?page=6)
