Skip to content

As a user, I would like to fix typo in flag params without having to rm -rf * files. #5398

@MichelDiz

Description

@MichelDiz

Experience Report

What you wanted to do

I wanted to change the param from a flag and expect a normal functionality of the nodes.

Why that wasn't great, with examples

Let's say I have a typo in the flag --my. The user needs to fix this by removing the DB files (which basically means having to delete the DB to fix a typo), as it is hard recorded (persisted) in the hard drive. That's a bad experience for new users and newbies.

We should overwrite the values. I think they are recorded in badger format internally.

Originally seen on https://discuss.dgraph.io/t/unable-to-add-mutations-cannot-retrieve-predicate-information-no-connection-exists/6641

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/operationsRelated to operational aspects of the DB, including signals, flags, env vars, etc.area/usabilityIssues with usability and error messagesdgraphIssue or PR created by an internal Dgraph contributor.exp/intermediateFixing this requires some experience with the project.kind/enhancementSomething could be better.priority/P1Serious issue that requires eventual attention (can wait a bit)status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions