Details
-
Type:
Improvement
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:0
-
Epic Link:
-
Team:Data Release Production
Description
While Fred Moolekamp was chasing the errors in DM-29907, it was realized that `afwTable.SourceCatalog` forbids getting children if the catalog is unsorted. In checking if the catalog is sorted, it performs an operation that is O( n), which is as expensive as fetching the children even from an unsorted catalog. Moreover, this check is performed for each parent, thereby making getting the children for all parents an O(n^2) operation. However, it is desirable to check (somewhere, once) if the catalog is sorted, as "unsortedness" could indicate a potentially serious problem elsewhere. This ticket captures potential solutions, and discussions made towards that on Slack.
Attachments
Issue Links
Activity
Description |
While [~fred3m] was chasing the errors in |
While [~fred3m] was chasing the errors in |
Description |
While [~fred3m] was chasing the errors in |
While [~fred3m] was chasing the errors in |
Summary | Enable getting Children even if the SourceCatalog is unsorted | Enable getting Children without repeatedly checking if the SourceCatalog is sorted |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Assignee | Arun Kannawadi [ kannawad ] |
Reviewers | Fred Moolekamp [ fred3m ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Story Points | 2 |
Resolution | Done [ 10000 ] | |
Status | Done [ 10002 ] | To Do [ 10001 ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | To Do [ 10001 ] |
Resolution | Done [ 10000 ] | |
Status | To Do [ 10001 ] | Won't Fix [ 10405 ] |
Story Points | 2 | 0 |