# \#priority:p2

**URL:** https://discuss.dgraph.io/tag/priority-p2/110.md

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

---

## [Discussion: BadgerDB should offer arbitrarily sized, atomic transactions](https://discuss.dgraph.io/t/discussion-badgerdb-should-offer-arbitrarily-sized-atomic-transactions/8736)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 6\
**Last updated:** [December 9, 2023, 12:19pm UTC](https://discuss.dgraph.io/t/discussion-badgerdb-should-offer-arbitrarily-sized-atomic-transactions/8736 "2023-12-09T12:19:45Z")

</div>

Moved from GitHub badger/1325 Posted by mvanderkroon: Observation The current BadgerDB implementation keeps in-flight transactions in memory until txn.Commit() is called. If the amount of operations exceeds a predeterm…

---

## [Vlog files use lots of disk space: Add option to set LSMOnly option when opening p dir](https://discuss.dgraph.io/t/vlog-files-use-lots-of-disk-space-add-option-to-set-lsmonly-option-when-opening-p-dir/8776)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 20\
**Last updated:** [December 6, 2021, 8:04am UTC](https://discuss.dgraph.io/t/vlog-files-use-lots-of-disk-space-add-option-to-set-lsmonly-option-when-opening-p-dir/8776 "2021-12-06T08:04:35Z")

</div>

Moved from GitHub dgraph/3511 Posted by shamil: Hi, We have about 10MB of actual data in Dgraph, but the wal directory with vlog files taking about 56GB, I understand that there should be some kind of GC running each …

---

## [Improve Facets mutation handling](https://discuss.dgraph.io/t/improve-facets-mutation-handling/8744)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 12\
**Last updated:** [October 5, 2021, 6:57am UTC](https://discuss.dgraph.io/t/improve-facets-mutation-handling/8744 "2021-10-05T06:57:02Z")

</div>

Moved from GitHub dgraph/1996 Posted by 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\> …

---

## [Proposal: add metrics KeysNumber](https://discuss.dgraph.io/t/proposal-add-metrics-keysnumber/8421)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [August 10, 2021, 2:53pm UTC](https://discuss.dgraph.io/t/proposal-add-metrics-keysnumber/8421 "2021-08-10T14:53:20Z")

</div>

Moved from GitHub ristretto/135 Posted by choleraehyq: Here I want to get the key numbers current cache contains. Seems it’s easy to maintain.

---

## [Prometheus metrics for memory usage in bytes](https://discuss.dgraph.io/t/prometheus-metrics-for-memory-usage-in-bytes/8713)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [August 10, 2021, 2:52pm UTC](https://discuss.dgraph.io/t/prometheus-metrics-for-memory-usage-in-bytes/8713 "2021-08-10T14:52:05Z")

</div>

Moved from GitHub ristretto/140 Posted by bzon: It would be really helpful if we expose this as a Prometheus metric.

---

## [Documentation and Rancher community catalog PR](https://discuss.dgraph.io/t/documentation-and-rancher-community-catalog-pr/8408)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [May 1, 2021, 5:20pm UTC](https://discuss.dgraph.io/t/documentation-and-rancher-community-catalog-pr/8408 "2021-05-01T17:20:24Z")

</div>

Moved from GitHub /1793 Posted by MichelDiz: As mentioned in Issue https://github.com/dgraph-io/dgraph/issues/1790 support for Docker and Kubernetes, it would be interesting to have a PR for the Rancher community catal…

---

## [Badger.iterator needs Last() and Prev()](https://discuss.dgraph.io/t/badger-iterator-needs-last-and-prev/8662)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 6\
**Last updated:** [March 26, 2021, 11:19pm UTC](https://discuss.dgraph.io/t/badger-iterator-needs-last-and-prev/8662 "2021-03-26T23:19:43Z")

</div>

Moved from GitHub badger/786 Posted by Lawliet-Chan: We recently write a blockchain project by using badger. But we need some functions in badger.Iterator as follows: func Last() : move the iterator to the last KV…

---

## [Support logical replication / change data capture (CDC) with Kafka](https://discuss.dgraph.io/t/support-logical-replication-change-data-capture-cdc-with-kafka/8747)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 7\
**Last updated:** [February 1, 2021, 4:38pm UTC](https://discuss.dgraph.io/t/support-logical-replication-change-data-capture-cdc-with-kafka/8747 "2021-02-01T16:38:34Z")

</div>

Moved from GitHub dgraph/2122 Posted by fritzblue: The following workflow is becoming more and more common in streaming architectures: If Dgraph is to be used as a primary data store in a production system, it must…

---

## [Behavior of cascade not clear with aggregation](https://discuss.dgraph.io/t/behavior-of-cascade-not-clear-with-aggregation/8449)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [November 16, 2020, 11:06am UTC](https://discuss.dgraph.io/t/behavior-of-cascade-not-clear-with-aggregation/8449 "2020-11-16T11:06:58Z")

</div>

Moved from GitHub dgraph/4024 Posted by animesh2049: What version of Dgraph are you using? version: 5b20d411f7cb21fe575503e70f60ca48bb794bb1 Steps to reproduce the issue and expected behaviour and actual result. Beha…

---

## [Why is ristretto using so much memory?](https://discuss.dgraph.io/t/why-is-ristretto-using-so-much-memory/8418)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 17\
**Last updated:** [October 12, 2020, 2:20pm UTC](https://discuss.dgraph.io/t/why-is-ristretto-using-so-much-memory/8418 "2020-10-12T14:20:25Z")

</div>

Moved from GitHub ristretto/115 Posted by caofengl: package main import ( "fmt" "math/rand" "strconv" "github.com/dgraph-io/ristretto" ) const ( maxCnt = 1e7 maxLoop = 1e8 ) func main() { cahchePool, err :=…

---

## [Add option to override "Cycle detected: Fragment"](https://discuss.dgraph.io/t/add-option-to-override-cycle-detected-fragment/8429)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [September 18, 2020, 11:35am UTC](https://discuss.dgraph.io/t/add-option-to-override-cycle-detected-fragment/8429 "2020-09-18T11:35:47Z")

</div>

Moved from GitHub dgraph/2510 Posted by mbudge: Hi, I’m wrote a query which legitimately reuses fragments, but we get the cycle detected error, which means we have to copy and rename the fragment. Would it be possibl…

---

## [Dgraph doesn't shutdown on ctrl+c](https://discuss.dgraph.io/t/dgraph-doesnt-shutdown-on-ctrl-c/8552)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 9\
**Last updated:** [September 3, 2020, 5:15pm UTC](https://discuss.dgraph.io/t/dgraph-doesnt-shutdown-on-ctrl-c/8552 "2020-09-03T17:15:56Z")

</div>

Moved from GitHub dgraph/5627 Posted by jarifibrahim: What version of Dgraph are you using? https://github.com/dgraph-io/dgraph/commit/55e3e9fa601f14fd8323a05cea50abb9cc0c227a Have you tried reproducing the issue wit…

---

## [WriteBatch.Flush panics if called twice](https://discuss.dgraph.io/t/writebatch-flush-panics-if-called-twice/8743)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 4\
**Last updated:** [August 20, 2020, 5:39pm UTC](https://discuss.dgraph.io/t/writebatch-flush-panics-if-called-twice/8743 "2020-08-20T17:39:43Z")

</div>

Moved from GitHub badger/1394 Posted by mvdan: I understand that flushing twice doesn’t make sense, since a batch can only be flushed once, but the second call should error with a helpful message instead of panicking. …

---

## [Question: read-your-writes consistency](https://discuss.dgraph.io/t/question-read-your-writes-consistency/8708)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 6\
**Last updated:** [August 17, 2020, 9:28pm UTC](https://discuss.dgraph.io/t/question-read-your-writes-consistency/8708 "2020-08-17T21:28:01Z")

</div>

Moved from GitHub ristretto/102 Posted by maciej: Hi! Do you have any plans to add operations having read-your-writes consistency at any point in the future? Thanks!

---

## [Refactor password type to support multiple hashing algorithms and implement argon2](https://discuss.dgraph.io/t/refactor-password-type-to-support-multiple-hashing-algorithms-and-implement-argon2/8824)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 10:10pm UTC](https://discuss.dgraph.io/t/refactor-password-type-to-support-multiple-hashing-algorithms-and-implement-argon2/8824 "2020-08-10T22:10:45Z")

</div>

Moved from GitHub dgraph/4721 Posted by Fantastitech: This was touched on in #3118 but wasn’t well fleshed-out. Bcrypt being computationally bound has knocked it out of favor for new auth implementations. Scrypt is ge…

---

## [Set up TeamCity](https://discuss.dgraph.io/t/set-up-teamcity/8709)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [August 9, 2020, 10:41pm UTC](https://discuss.dgraph.io/t/set-up-teamcity/8709 "2020-08-09T22:41:15Z")

</div>

Moved from GitHub ristretto/103 Posted by karlmcguire: Migrate away from Github actions and use something else as discussed.

---

## [Badger Allocates A Lot Of Memory When Iterating Over Large Key Value Stores](https://discuss.dgraph.io/t/badger-allocates-a-lot-of-memory-when-iterating-over-large-key-value-stores/8737)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 11\
**Last updated:** [June 8, 2020, 1:28pm UTC](https://discuss.dgraph.io/t/badger-allocates-a-lot-of-memory-when-iterating-over-large-key-value-stores/8737 "2020-06-08T13:28:42Z")

</div>

Moved from GitHub badger/1326 Posted by bonedaddy: What version of Go are you using (go version)? go version go1.14.2 linux/amd64 What operating system are you using? NAME=“Ubuntu” VERSION=“18.04.4 LTS (Bionic Beaver…

---

## [Kubernetes port names don't match Istio's port naming conventions](https://discuss.dgraph.io/t/kubernetes-port-names-dont-match-istios-port-naming-conventions/8541)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 0\
**Last updated:** [May 27, 2020, 10:11pm UTC](https://discuss.dgraph.io/t/kubernetes-port-names-dont-match-istios-port-naming-conventions/8541 "2020-05-27T22:11:44Z")

</div>

Moved from GitHub dgraph/5530 Posted by danielmai: What version of Dgraph are you using? v20.03.1 latest Have you tried reproducing the issue with the latest release? Yes What is the hardware spec (RAM, OS)? Kuberne…

---

## [Schema query filtering](https://discuss.dgraph.io/t/schema-query-filtering/8777)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 5\
**Last updated:** [May 18, 2020, 10:29pm UTC](https://discuss.dgraph.io/t/schema-query-filtering/8777 "2020-05-18T22:29:12Z")

</div>

Moved from GitHub dgraph/3518 Posted by barum: Experience Report Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should …

---

## [Use real JSON in HTTP error responses](https://discuss.dgraph.io/t/use-real-json-in-http-error-responses/8493)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 11:01pm UTC](https://discuss.dgraph.io/t/use-real-json-in-http-error-responses/8493 "2020-04-16T23:01:37Z")

</div>

Moved from GitHub dgraph/4947 Posted by paulftw: Experience Report Error responses from Dgraph are too hard to parse – most useful data is in a string format that differs from error to error and most likely not documen…

---

## [Conflict names causing same color to different predicated](https://discuss.dgraph.io/t/conflict-names-causing-same-color-to-different-predicated/8024)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 7\
**Last updated:** [March 18, 2020, 2:02pm UTC](https://discuss.dgraph.io/t/conflict-names-causing-same-color-to-different-predicated/8024 "2020-03-18T14:02:12Z")

</div>

Moved from GitHub ratel/149 Posted by ptsilva: I think the ratel it’s confusing with same prefix of predicates: Queries showed are equals, changing only predicates aliases. All predicates have records. Note that in …

---

## [NewDefaultCache to encapsulate defaults](https://discuss.dgraph.io/t/newdefaultcache-to-encapsulate-defaults/8714)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 6:32pm UTC](https://discuss.dgraph.io/t/newdefaultcache-to-encapsulate-defaults/8714 "2020-03-05T18:32:37Z")

</div>

Moved from GitHub ristretto/146 Posted by WBare: The current NewCache constructor requires the user to hard code ristretto defaults in their code. Specifically, NumCounters is 100 x estimated items. The interface sho…

---

## [Facebook ent](https://discuss.dgraph.io/t/facebook-ent/8452)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [February 28, 2020, 6:25am UTC](https://discuss.dgraph.io/t/facebook-ent/8452 "2020-02-28T06:25:36Z")

</div>

Moved from GitHub dgraph/4159 Posted by pjebs: It would be good if there was a driver built for Facebook ent package for D graph

---

## [Missing docs for gRPC deadline setting](https://discuss.dgraph.io/t/missing-docs-for-grpc-deadline-setting/8250)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [February 28, 2020, 1:12am UTC](https://discuss.dgraph.io/t/missing-docs-for-grpc-deadline-setting/8250 "2020-02-28T01:12:27Z")

</div>

Moved from GitHub pydgraph/118 Posted by ptsilva: How can we set gRPC deadline on pydgraph? I can’t found any docs about. It’s mentioned on dgraph docs with shortest path and recurse query. https://docs.dgraph.io/que…

---

## [Reduce GC overhead by using custom memory allocator](https://discuss.dgraph.io/t/reduce-gc-overhead-by-using-custom-memory-allocator/8703)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 13\
**Last updated:** [February 24, 2020, 8:03am UTC](https://discuss.dgraph.io/t/reduce-gc-overhead-by-using-custom-memory-allocator/8703 "2020-02-24T08:03:05Z")

</div>

Moved from GitHub ristretto/8 Posted by mangalaman93:

---

## [Improve throughput of bulk loader with distributed loading](https://discuss.dgraph.io/t/improve-throughput-of-bulk-loader-with-distributed-loading/8431)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 21\
**Last updated:** [February 6, 2020, 2:44pm UTC](https://discuss.dgraph.io/t/improve-throughput-of-bulk-loader-with-distributed-loading/8431 "2020-02-06T14:44:14Z")

</div>

Moved from GitHub dgraph/2628 Posted by danielmai: Experience Report The dgraph bulk loader the fastest way to load data into Dgraph at close to 1M edges/sec. This currently satisfies most users, but for extremely lar…

---

## [Protect against hash attacks](https://discuss.dgraph.io/t/protect-against-hash-attacks/8420)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 0\
**Last updated:** [January 31, 2020, 12:45am UTC](https://discuss.dgraph.io/t/protect-against-hash-attacks/8420 "2020-01-31T00:45:37Z")

</div>

Moved from GitHub ristretto/131 Posted by martinmr: An attacker can prevent new items from being accepted by the policy by artificially raising the frequency of the victim. Caffeine code: https://github.com/ben-manes/…

---

## [Missing Raft index assertion failure](https://discuss.dgraph.io/t/missing-raft-index-assertion-failure/8443)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 10:41am UTC](https://discuss.dgraph.io/t/missing-raft-index-assertion-failure/8443 "2020-01-23T10:41:02Z")

</div>

Moved from GitHub dgraph/3466 Posted by danielmai: What version of Dgraph are you using? v1.0.15-rc9 Have you tried reproducing the issue with latest release? No, not with v1.0.14 or master. What is the hardware spec…

---

## [TestDebugSupport is flaky in TeamCity](https://discuss.dgraph.io/t/testdebugsupport-is-flaky-in-teamcity/8468)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 7:25pm UTC](https://discuss.dgraph.io/t/testdebugsupport-is-flaky-in-teamcity/8468 "2020-01-13T19:25:04Z")

</div>

Moved from GitHub dgraph/4560 Posted by martinmr: What version of Dgraph are you using? master Have you tried reproducing the issue with the latest release? yes Steps to reproduce the issue (command/config used to ru…

---

## [Add multidelete support](https://discuss.dgraph.io/t/add-multidelete-support/8419)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [December 19, 2019, 7:46pm UTC](https://discuss.dgraph.io/t/add-multidelete-support/8419 "2019-12-19T19:46:23Z")

</div>

Moved from GitHub ristretto/109 Posted by balajijinnah: Support multi delete. Make Del as a vardic function to support delete.

[Next page](https://discuss.dgraph.io/tag/priority-p2/110.md?match_all_tags=true&page=1&tags%5B%5D=priority%3Ap2)
