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

Moved from GitHub dgraph/5398

Posted by 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 Unable to add mutations : cannot retrieve predicate information: No connection exists

1 Like