[discourse] Flipt import overwrite file without --drop? #4319
Unanswered
markphelps
asked this question in
Q&A
Replies: 2 comments
-
Reply from mark on Discourse:
We added a
import - FliptImport Flipt data from file/stdin |
Beta Was this translation helpful? Give feedback.
0 replies
-
Reply from csyding on Discourse: 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? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Originally posted by csyding on Discourse
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.
Beta Was this translation helpful? Give feedback.
All reactions