[CONTEDIT-497] Migration of stories does not work well on huge amount of block Created: 30/Nov/22  Updated: 14/Dec/22

Status: Open
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Lam Nguyen Bao Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: AuthorX Maintenance
Team: AuthorX

 Description   

Before CONTEDIT-487 migrating of blocks may cause errors with huge amount of blocks since the query is not good enough. Prior the fix, the query will get all blocks from specific path. 

It means that there could be huge amount of blocks are retrieved. In CONTEDIT-487  there're changes in the query, it simply gets parent (composition node) and query block one by one.

DEV notes:

  • We need to do performance test on the tasks and file follow up for improving query if needed

Generated at Mon Feb 12 00:21:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.