Add tassert to LRUKeyValue

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Recently an invariant failed in LRUKeyValue code. I wasn't able to figure out why it happened. The linked invariant would only be violated when: the linked list is empty AND the container is over budget.

      Instead of failing the invariant and crashing the server, we should have a tassert and set the budget to zero if the list is empty. This way we can improve stability and still understand what might have happened.

            Assignee:
            Chris Wolff
            Reporter:
            Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: