Flipt import overwrite file without --drop?

hi there!

is there any chance flipt import could support overwriting a file without having to drop the entire database? perhaps with a new flag like --overwrite?

in my use case, i have multiple namespaces under one instance of flipt. i found that the import for one of the namespaces had gone wrong (for some reason just didn’t propagate some of the segments and left them as {}), and i wanted to be able to re-import the flags for that namespace without dropping the other namespaces in the database. --skip-existing also wouldn’t have worked for the ones where the segments didn’t propagate since the flag itself already existed, it’s just the segments were a little off.

:wave: Hi @csyding !

We added a --skip-existing flag to import in a recent version to only import new data instead of requiring you to drop the DB. Does this solve your issue?

Hi Mark!

unfortunately, this doesn’t work for this use case as the flag already existed, but the rollouts/segments were corrupted. is there any way to only drop one namespace maybe?