Conversation
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
|
/retest |
|
Images are ready for the commit at 490a5bb. To use with deploy scripts, first |
ivan-degtiarenko
left a comment
There was a problem hiding this comment.
Some minor comments + questions regarding why we are leaving some groups behind
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration.go
Outdated
Show resolved
Hide resolved
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration.go
Outdated
Show resolved
Hide resolved
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration.go
Outdated
Show resolved
Hide resolved
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration.go
Outdated
Show resolved
Hide resolved
| if err := proto.Unmarshal(value, &group); err != nil { | ||
| return false | ||
| } | ||
| return group.GetProps().GetId() != "" |
There was a problem hiding this comment.
Also curious why we give up on groups without props id here
There was a problem hiding this comment.
So, no group should exist after the migration we had beforehand which doesn't have an ID associated with it.
This is just to ensure we have no "invalid" group properties in the store (if you were to try to delete this specific group, you wouldn't be able to at the moment).
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration_test.go
Outdated
Show resolved
Hide resolved
migrator/migrations/m_112_to_m_113_recreate_groups_bucket/migration_test.go
Outdated
Show resolved
Hide resolved
md2119
left a comment
There was a problem hiding this comment.
You need to update the sequence number pkg/migrations/internal/seq_num.go. After that 🚢 .
|
Also, add |
|
/retest |
e0a6c74 to
490a5bb
Compare
|
/retest |

Description
We currently run into an issue ROX-13819 where we are observing invalid group entries.
While there has been another attempt in creating a migration for that. it turns out the specific bucket of the customer was not migrated properly.
The current reasons for this are unknown.
Now, to ensure we start with a clean bucket, we have agreed on doing the following:
This way, we ensure we are reinstating a clean groups bucket after this migration.
Checklist
If any of these don't apply, please comment below.
Testing Performed