Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-808

Throttle/reject writes to avoid running out of memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Private Beta
    • n/a
    • client, tserver
    • None

    Description

      When faced with a write-heavy workload, Kudu should take action to prevent itself from running out of memory. This includes the following:

      1. Providing operators with a mechanism to set a predefined memory limit, or choosing one based on a reasonable heuristic.
      2. When the limit is reached, taking actions to reduce memory consumption, or to at least prevent it from rising further. These actions may include:
        • throttling incoming writes
        • rejecting writes
        • performing maintenance operations that reduce memory consumption (e.g. flushing an MRS)

      A design document for this problem can be found here.

      Attachments

        Issue Links

          Activity

            People

              adar Adar Dembo
              adar Adar Dembo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: