-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add repair-brig-clients-table
to clean up after the fix in #3504.
#3507
Conversation
so, 36 broken clients. i suggest we remove them? |
52545ea
to
65c80bb
Compare
I think this is ready to merge (whether integration tests have passed or not...) |
tools/db/repair-brig-clients-table/repair-brig-clients-table.cabal
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,94 @@ | |||
{-# LANGUAGE OverloadedStrings #-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a default plugin, as defined in the cabal file? 🤔
@@ -0,0 +1,93 @@ | |||
{-# LANGUAGE OverloadedStrings #-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default extension as defined in the cabal file, isn't it?
@@ -0,0 +1,93 @@ | |||
{-# LANGUAGE OverloadedStrings #-} | |||
{-# LANGUAGE ScopedTypeVariables #-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default extension as defined in the cabal file, isn't it?
@@ -0,0 +1,93 @@ | |||
{-# LANGUAGE OverloadedStrings #-} | |||
{-# LANGUAGE ScopedTypeVariables #-} | |||
{-# OPTIONS_GHC -Wno-orphans -Wno-unused-imports #-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these options needed here at all? 🤔
Co-authored-by: Sven Tennie <sven.tennie@wire.com>
Co-authored-by: Sven Tennie <sven.tennie@wire.com>
…abal Co-authored-by: Sven Tennie <sven.tennie@wire.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
CI failure is unrelated. |
…3507) Co-authored-by: Sven Tennie <sven.tennie@wire.com>
https://wearezeta.atlassian.net/browse/WPB-3888
Without
--dry-run
this will actually delete the offending entries.I will attach the log as soon as it's done (currently at 7M clients and 30 of them having all fields NULL except keys and last_active).
Checklist
changelog.d