Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-7715

DCB callbacks for the write queue water marks should be usable by several routers of a session

    XMLWordPrintable

Details

    • Task
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • 23.02, 23.08, 24.02, 25.01, 25.10, 26.10
    • 27.10
    • None
    • None

    Description

      A DCB has a single callback for each of the two write queue water marks. The client DCB is shared by all routers of a session, for example the children of a SmartRouter session, and it already has the core's default callbacks for throttling the backend connections.

      A router that registers its own callback replaces the default one, and thereby changes the behaviour of the whole session. Two routers of the same session that both register callbacks overwrite each other. A router that wants to react to a slow client therefore has to avoid the callbacks, as the ODBC routers do by polling the write queue.

      The callback arrangement should let routers observe the water marks without interfering with each other or with the core's throttling.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              johan.wikman Johan Wikman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1d
                  1d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1d
                  1d

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.