dgraph-io / dgraph-io/dgraph

[dgraph v25] failed when calling List.rollup: while encoding: cannot iterate through the list

Open
#9,794 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
21.8k
Forks
1.6k
Avg merge
2d 5h
Merged PRs (30d)
9

Description

Describe the bug

seeing error logs failed when calling List.rollup: while encoding: cannot iterate through the list in alpha pods.
It seems to happen on nodes with large-sized data. we added @lang directive for multi-languages in the predicate.

logs

W0724 09:43:14.902606       1 mvcc.go:181] Error rolling up key [failed when calling List.rollup: while encoding: cannot iterate through the list: cannot initialize iterator when calling List.iterate minTs: 58256931, plist: splits:1  splits:8523883114575535643, mutationMap: Committed List: map[58550095:postings:{uid:17043778602460988961  value: {large size html data}

To Reproduce

Expected behavior

No error logs

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

Version : v25.3.4
deployed in k8s

Additional context

Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with mvcc.go:181 and trace the List.rollup and List.iterate paths named in the log. Reproduce on Dgraph v25.3.4 with large data and a multi-language predicate in Kubernetes, then establish a testable case where rollup completes without the iterator error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.