-
Notifications
You must be signed in to change notification settings - Fork 262
Open
Labels
P0 - criticalPriority: Release blocker or regressionPriority: Release blocker or regression
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Until now, we were invoking a background task to do this check, and we were invoking this on a CommunityLibrarySubmission creation to make sure this content database existed in a future stage. However, now we will use a migration command to ensure that all channels in Studio have a versioned content database for their most recent version. For this, we will:
- Query all
published=TrueChannels. - Iterate through each channel, and call the ensure_versioned_database_exists method for each
- Use .iterator() method to iterate through the channels to prevent fetching all channels at once.
- Since this will fix the issue from the root, we can now remove the ensure_versioned_database_exists_task and all its references.
Acceptance criteria
- All published channels should have a versioned content database after running this command.
Metadata
Metadata
Assignees
Labels
P0 - criticalPriority: Release blocker or regressionPriority: Release blocker or regression
