Skip to content

[BUG]: dgraph live loops on error when loading a float RDF to a int predicate #8881

@rderbier

Description

@rderbier

What version of Dgraph are you using?

v23.0

Tell us a little more about your go-environment?

No response

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

cloud

What steps will reproduce the bug?

create a predicate end_index of type int

load the predicate
<_:test> <end_index> "116.0" .

with dgraph live loader

you get an infinite
Processing data file "a.rdf"
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
Error while mutating: strconv.ParseInt: parsing "116.0": invalid syntax s.Code Unknown
...

Expected behavior and actual result.

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaledgraphIssue or PR created by an internal Dgraph contributor.kind/bugSomething is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions