Skip to content

Backport info metrics including index error mechanism to 2.6 [MOD-8450]#5413

Merged
alonre24 merged 12 commits into2.6from
backport_metrics_info_2.6
Jan 3, 2025
Merged

Backport info metrics including index error mechanism to 2.6 [MOD-8450]#5413
alonre24 merged 12 commits into2.6from
backport_metrics_info_2.6

Conversation

@alonre24
Copy link
Collaborator

@alonre24 alonre24 commented Dec 30, 2024

Describe the changes in the pull request

Backport all info fields required for exposing metrics. Also backport the index error mechanism which is a prerequisite for backporting info fields that contain indexing errors.

We do not backport all that concerns to reply the index errors in FT.INFO as we have in other versions, but only the internal mechanism itself.

Mark if applicable

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

@alonre24 alonre24 marked this pull request as ready for review December 30, 2024 19:11
@codecov
Copy link

codecov bot commented Dec 30, 2024

Codecov Report

Attention: Patch coverage is 94.08796% with 82 lines in your changes missing coverage. Please review.

Project coverage is 84.87%. Comparing base (382bc94) to head (898a6ef).
Report is 3 commits behind head on 2.6.

Files with missing lines Patch % Lines
src/aggregate/aggregate_request.c 96.71% 28 Missing ⚠️
src/info/field_spec_info.c 0.00% 18 Missing ⚠️
src/document.c 66.66% 7 Missing ⚠️
src/field_spec.c 53.84% 6 Missing ⚠️
src/info/index_error.c 84.21% 6 Missing ⚠️
src/json.c 89.79% 5 Missing ⚠️
src/indexer.c 0.00% 3 Missing ⚠️
src/info/info_redis.c 98.13% 3 Missing ⚠️
src/aggregate/aggregate_exec.c 84.61% 2 Missing ⚠️
src/document_basic.c 71.42% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##              2.6    #5413      +/-   ##
==========================================
+ Coverage   84.85%   84.87%   +0.02%     
==========================================
  Files         178      183       +5     
  Lines       30988    31228     +240     
==========================================
+ Hits        26295    26505     +210     
- Misses       4693     4723      +30     

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

@alonre24 alonre24 changed the title Backport info metrics to 2.6 WIP Backport index error mechanism to 2.6 [MOD-8450] Jan 1, 2025
@alonre24 alonre24 requested review from DvirDukhan and GuyAv46 January 1, 2025 07:42
GuyAv46
GuyAv46 previously approved these changes Jan 1, 2025
DvirDukhan
DvirDukhan previously approved these changes Jan 1, 2025
Copy link

@DvirDukhan DvirDukhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest you'll merge the addtional PRs to this PR as feature branch

alonre24 and others added 3 commits January 2, 2025 01:07
update error stats upon deleting spec
set max dialect 3
adjust info tests (revert geoshape etc)
@alonre24 alonre24 dismissed stale reviews from DvirDukhan and GuyAv46 via a7c0a63 January 2, 2025 13:03
@alonre24 alonre24 requested review from DvirDukhan and GuyAv46 January 2, 2025 14:39
@alonre24 alonre24 changed the title Backport index error mechanism to 2.6 [MOD-8450] Backport info metrics including index error mechanism to 2.6 [MOD-8450] Jan 2, 2025
@alonre24 alonre24 enabled auto-merge January 3, 2025 07:38
@alonre24 alonre24 requested a review from GuyAv46 January 3, 2025 14:01
@alonre24 alonre24 added this pull request to the merge queue Jan 3, 2025
Merged via the queue into 2.6 with commit eb8993c Jan 3, 2025
23 checks passed
@alonre24 alonre24 deleted the backport_metrics_info_2.6 branch January 3, 2025 18:45
raz-mon added a commit that referenced this pull request Jan 30, 2025
This reverts commit 2ea41bf.

Revert "[2.6] Fix Max Frequency Misscalculation - [MOD-8158] (#5559)"

This reverts commit 7e0288d.

Revert "[2.6] Fix flakiness in a test - [MOD-8611] (#5546)"

This reverts commit 1a43260.

Revert "[2.6] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5543)"

This reverts commit 1c2be01.

Revert "Backport 4243 to 2.6 (#5509)"

This reverts commit 5d90c3b.

Revert "[2.6] Fix legacy geofilter leak - [MOD-8568] (#5519)"

This reverts commit 221f139.

Revert "MOD-7570 Backport 5422 to 2.6 (#5473)"

This reverts commit a0f9d4b.

Revert "[2.6] MOD-7864: Obfuscation API (#5486)"

This reverts commit 11864ea.

Revert "[2.6] MOD-7634: Fix NOSTEM  (#5484)"

This reverts commit 54a82e0.

Revert "[2.6] [MOD-8462] rename total_active_writes -> total_active_write_threads (#5445)"

This reverts commit 3805366.

Revert "Backport info metrics including index error mechanism to 2.6 [MOD-8450] (#5413)"

This reverts commit eb8993c.

Revert "[2.6] Fixes for inverted indexes encoding - [MOD-8248] (#5390)"

This reverts commit 382bc94.

Revert "[2.6] MOD-8221: backport info fields (for metrics) to 2.6 (#5375)"

This reverts commit 24790ec.

Revert "[2.6] Improve "Raw doc id" encoding - [MOD-8255] (#5374)"

This reverts commit 778bf80.

Revert "[2.6] Improve SkipToBlock logic - [MOD-8255] (#5368)"

This reverts commit 775508c.

Revert "[2.6][MOD-8115] Free spec resources in the main thread (#5324) (#5331)"

This reverts commit fc7b1a6.

Revert "[2.6] Fix Sorting Vector - [MOD-6783] (#5315)"

This reverts commit 990cdcb.

Revert "[2.6] Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5306)"

This reverts commit 666db12.

Revert "[2.6] Fix long PREFIX/SUFFIX/INFIX/WILDCARD queries - [MOD-7882] (#5302)"

This reverts commit 2e0da82.

Revert "[2.6] Fix missing expansions in text queries - [MOD-8142] (#5286)"

This reverts commit a39acfe.

Revert "[2.6] MOD-8188: Fix OnReopen Comments (#5289)"

This reverts commit 4a08a98.

Revert "[2.6] Fix Tag OnReopen Callback - [MOD-8011] (#5281)"

This reverts commit ee4d515.

Revert "[2.6] Fix MRIterator ownership mechanism - [MOD-8108] (#5270)"

This reverts commit 601002a.

Revert "[2.6] MOD-8129: Fix indexed_percent info stat (#5250)"

This reverts commit 4dc1713.

Revert "[2.6] Fix Numeric Tree Balance - [MOD-8081, MOD-8082] (#5201)"

This reverts commit b331af9.

Revert "[2.6] Performance improvement in indexBulkFields - [MOD-8093] (#5193)"

This reverts commit 54c9ded.

Revert "[2.6] MOD-8009: Allow Users To Configure Cursor Index Limitation Through Global Config (#5168)"

This reverts commit b86fcda.

Revert "[2.6] Improve Error Message on VecSim Syntax Error - [MOD-7887] (#5107)"

This reverts commit 4c09577.

Revert "[2.6] Fix flaky test (#5085)"

This reverts commit 8cf0465.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants