ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

System - Do not send very large update lists from DB #501

Open dvstans opened 4 years ago

dvstans commented 4 years ago

Certain operations now return a list of records/collections that have been updated by a DB operation (such as annotation propagation or collection deletion). This is to enable clients to only update the UI elements that require it, instead of reloading the entire UI. In some cases, however, the number of updates can be very large (10K+) so this approach will be very stressful on the back-end and client. For these cases, the DB should send a "refresh all" flag indicating to the client that a reload is required.