order by time#143
Merged
Merged
Conversation
santhoshatdell
approved these changes
Oct 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Submission checklist
Set order by timestamp and fetch the latest record only.
GitHub Issues
List the GitHub issues impacted by this PR:
Common PR Checklist:
Description of your changes:
After updating the select query parameter using order by time stamp and limit as 1, it fetches the latest record and is consistent across other params being fetched.
time="2024-10-11T11:33:15Z" level=debug msg="persistent volume is not nfs" persistent_volume=csivol-86b3213c6b protocol=scsi time="2024-10-11T11:33:22Z" level=debug msg="volume metrics" mirror_bandwidth=711.6486 read_bandwidth=0 read_iops=0 read_latency=0 remaining_data=0 syncronization_bandwidth=0 volume_meta="&{c2d584c3-b4f1-41d7-8ac7-14fa14ca6e5c csivol-86b3213c6b pvol-metro-136 default PS30ddf4e1d754 }" write_bandwidth=711.6486 write_iops=712.6 write_latency=5.496929