-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Telemetry TABLES!] Changing performance mode changes sort order of request unexpectedly #7809
Comments
not fixed. changing sort order is not re-requesting so when you toggle from |
10/4/24: Still not fixed. Toggling from unlimited to limited should requery but doesn't; this is fixed by #7863. BUT: changing sort order from desc to asc then toggling performance always uses desc as the sort argument. |
Note that #7863 fixes stable insertion into tables, but DOES NOT fix the issue where tables in limited mode are not re-querying when sort order is changed. |
Testing
|
@charlesh88 to test |
Testathon 2024-10-10: verified not fixed. Toggling the sort method on the Timestamp column now properly preserves that sort method when toggling limited/unlimited, but sorting on another column (like Value) and toggling performance reverts sorting to the Timestamp column. |
ok, so in the current implementation, Yamcs only sorts by timestamp (it's a time-series database). This behavior is probably not unusual in time-series databases. Limited mode (aka performance mode) relies on the back-end being able to return us a sorted, limited, subset of results. In this case it literally can't, so we can't support sorting by anything other than timestamp in limited mode right now. |
Summary
Changing the performance mode on Telemetry Tables will incorrectly swap the sort order of the outgoing request.
Expected vs Current Behavior
Should keep the current order or default to descending.
Steps to Reproduce
Impact Check List
Additional Information
Related to VIPERGC-424
The text was updated successfully, but these errors were encountered: