-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area/apiIssues related to current API limitations.Issues related to current API limitations.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/more-info-neededThe issue has been sent back to the reporter asking for clarificationsThe issue has been sent back to the reporter asking for clarifications
Milestone
Description
Currently you can only have one iterator on a read / write transaction:
https://github.com/dgraph-io/badger/blob/master/iterator.go#L396
I have a scenario where I would want to read the consistent state of the current transaction before it's committed. I'm currently getting around this by re-seeking a single iterator, but the ideal situation would allow for using multiple iterators.
According to this comment: #704 (comment) it may be possible.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/apiIssues related to current API limitations.Issues related to current API limitations.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/more-info-neededThe issue has been sent back to the reporter asking for clarificationsThe issue has been sent back to the reporter asking for clarifications