Skip to content
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

MOD-6002: Fixes for FT.PROFILE's time reporting #4264

Merged
merged 8 commits into from Jan 7, 2024
Merged

Conversation

raz-mon
Copy link
Collaborator

@raz-mon raz-mon commented Dec 26, 2023

Currently, our FT.PROFILE response is populated with many 0's, due to bad casting which cuts off the accumulated time per result in the aggregation pipeline. This PR reverts the changes introduced in #2989, back to working with the clock function (which is still in use in other parts of the project).

If we wish to support higher clock resolution later on, we should use the struct timespec that supports nano-second resolution rather than the clock's micro-seconds.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a35598e) 83.81% compared to head (b2b1462) 84.35%.
Report is 14 commits behind head on master.

Files Patch % Lines
src/aggregate/aggregate_exec.c 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4264      +/-   ##
==========================================
+ Coverage   83.81%   84.35%   +0.53%     
==========================================
  Files         192      192              
  Lines       33791    33460     -331     
==========================================
- Hits        28323    28225      -98     
+ Misses       5468     5235     -233     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raz-mon raz-mon requested a review from oshadmi December 26, 2023 12:15
oshadmi
oshadmi previously approved these changes Dec 26, 2023
@raz-mon raz-mon added this pull request to the merge queue Dec 26, 2023
@raz-mon raz-mon removed this pull request from the merge queue due to a manual request Dec 26, 2023
oshadmi
oshadmi previously approved these changes Dec 26, 2023
@raz-mon raz-mon added this pull request to the merge queue Dec 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 26, 2023
@raz-mon raz-mon added this pull request to the merge queue Dec 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Dec 26, 2023
oshadmi
oshadmi previously approved these changes Dec 27, 2023
@oshadmi oshadmi added this pull request to the merge queue Dec 27, 2023
@raz-mon raz-mon removed this pull request from the merge queue due to a manual request Dec 27, 2023
oshadmi
oshadmi previously approved these changes Dec 27, 2023
@raz-mon raz-mon added this pull request to the merge queue Dec 27, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 27, 2023
oshadmi
oshadmi previously approved these changes Jan 4, 2024
@raz-mon raz-mon added this pull request to the merge queue Jan 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 4, 2024
@raz-mon raz-mon added this pull request to the merge queue Jan 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 7, 2024
@raz-mon raz-mon added this pull request to the merge queue Jan 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 7, 2024
@raz-mon raz-mon added this pull request to the merge queue Jan 7, 2024
Merged via the queue into master with commit efc8293 Jan 7, 2024
11 checks passed
@raz-mon raz-mon deleted the razmon-fix_profile branch January 7, 2024 15:07
Copy link

github-actions bot commented Jan 7, 2024

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-4264-to-2.8 origin/2.8
cd .worktree/backport-4264-to-2.8
git switch --create backport-4264-to-2.8
git cherry-pick -x ea69686de07ee8fac53b8b253f4e570e6e458b22 6f5f24be9f51be3059363049dcc6c18d15dd18a5 8bef3cb191281aab05714dcdd097080ea6ddd6f5 bc58460d77d449db3dffd9843355525e93b6402e 4c9e20e527e5fcfee12be943c13452d35dd51588 e7ef2c6d2be7d2a01b6ef9cec030a35e8840300c b2b1462d335482d387a338fc036b08118b534e28

Copy link

github-actions bot commented Jan 7, 2024

Backport failed for 2.6, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.6
git worktree add -d .worktree/backport-4264-to-2.6 origin/2.6
cd .worktree/backport-4264-to-2.6
git switch --create backport-4264-to-2.6
git cherry-pick -x ea69686de07ee8fac53b8b253f4e570e6e458b22 6f5f24be9f51be3059363049dcc6c18d15dd18a5 8bef3cb191281aab05714dcdd097080ea6ddd6f5 bc58460d77d449db3dffd9843355525e93b6402e 4c9e20e527e5fcfee12be943c13452d35dd51588 e7ef2c6d2be7d2a01b6ef9cec030a35e8840300c b2b1462d335482d387a338fc036b08118b534e28

raz-mon added a commit that referenced this pull request Jan 7, 2024
* revert transition to hires clock

* fix

* fix flaky test

* Add test

* Skip on sanitizer, reduce number of docs

* Test coordinator timer, remove duplicate code

* Add docs to test (remove flakiness)
github-merge-queue bot pushed a commit that referenced this pull request Jan 7, 2024
* revert transition to hires clock

* fix

* fix flaky test

* Add test

* Skip on sanitizer, reduce number of docs

* Test coordinator timer, remove duplicate code

* Add docs to test (remove flakiness)
raz-mon added a commit that referenced this pull request Mar 6, 2024
* revert transition to hires clock

* fix

* fix flaky test

* Add test

* Skip on sanitizer, reduce number of docs

* Test coordinator timer, remove duplicate code

* Add docs to test (remove flakiness)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants