Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Z-Tim OlsenZ-Tim Olsen(Deactivated)Reporter
Z-Tim OlsenZ-Tim Olsen(Deactivated)Labels
Product Team
CoreComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Z-Tim Olsen
Z-Tim Olsen(Deactivated)Reporter
Z-Tim Olsen
Z-Tim Olsen(Deactivated)Labels
Product Team
Core
Components
Sprint
None
Fix versions
Priority
More fields
More fields
More fields
Zendesk Support
Zendesk Support
Zendesk Support
Clockify
Clockify
Clockify
Created April 4, 2023 at 4:50 PM
Updated November 16, 2023 at 5:09 PM
Resolved May 17, 2023 at 3:17 PM
On larger servers, the /subjects and /experiments queries take several minutes to return. When executed multiple times, it ties up a database connection for a long time. If its run several times, it can lock up a server by tying up all of its db connections.
Additionally, returning millions of rows at a time is generally unusable.
To prevent this we will add paging to these rest calls. And we will add a site configuration property to determine if the calls should default to paging or not. The default will be ‘not’, to stay consistent with prior behavior. But, for larger servers, they will be able to change the default to paging ‘on’ to prevent accidental DoS.
Additionally, the corresponding project-level listings (/data/projects/x/subjects & /data/projects/x/experiments) will be modified to support paging, though their default behavior will not be modifiable, as portions of the app are dependent on them returning all rows by default. We may need to revisit this to support single projects with millions of rows, but that will require refactoring of several UI components.