Skip to content

Conversation

@jbajic
Copy link
Contributor

@jbajic jbajic commented Feb 6, 2025

Scope & Purpose

Tries to address the issue of a query having no cache hits after by increasing the maximum number of tries. The CI reported the assertion failure on cache hits, which was 0. The tests in question were:

  • testPointLookupAndUpdate_nonUnique on CI
  • testPointLookupAndUpdate_unique on CI
  • testPointLookupAndTruncate_nonUnique locally

Increasing the number of maxTries solves the problem of local execution, but it appears on CI afterward. The assumed issue is that the caching does not happen since, in the test, the system is overwhelmed and does not manage to cache queries, therefore, dropping the bucket's size reduces the flakiness.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports
    • Backport for 3.12.0: (Please link PR)
    • Backport for 3.11: (Please link PR)
    • Backport for 3.10: (Please link PR)

Related Information

(Please reference tickets / specification / other PRs etc)

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

@jbajic jbajic self-assigned this Feb 6, 2025
@cla-bot cla-bot bot added the cla-signed label Feb 6, 2025
@jbajic jbajic requested review from KVS85 and neunhoef February 6, 2025 10:15
@KVS85 KVS85 added this to the 3.11 milestone Feb 6, 2025
@jbajic jbajic requested a review from a team as a code owner February 6, 2025 14:43
@jbajic jbajic force-pushed the increase-number-of-tries branch from 36541be to 606f0f3 Compare February 6, 2025 14:44
@jbajic jbajic changed the title Increase number of tries for query to be cached Fix flakiness of aql-index-cache test Feb 6, 2025
@KVS85 KVS85 merged commit 41aecb0 into 3.11 Feb 7, 2025
2 checks passed
@KVS85 KVS85 deleted the increase-number-of-tries branch February 7, 2025 09:23
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.

4 participants