Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.2.1 cherry picks #17294

Merged
merged 12 commits into from
May 27, 2019
Merged

v6.2.1 cherry picks #17294

merged 12 commits into from
May 27, 2019

Conversation

marefr
Copy link
Contributor

@marefr marefr commented May 27, 2019

Changes going into v6.2.1 release:

Backports:

hugohaggmark and others added 8 commits May 27, 2019 10:58
Fixes #17289

Special notes for your reviewer:
Updates jQuery to 3.4.1 (from 3.4.0) to fix the jQuery bug: https://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/
(cherry picked from commit df6a491)
The change was originally made in #16950, but that change
was too big to cherry pick. This change adds a major database
performance improvement since the number of selects to fetch
a cached item is drastically decreased and by that removes
sqlite database is locked errors.

Fixes #17247
Adds an additional sqlite error code 5 (SQLITE_BUSY) to the
transaction retry handler to add retries when sqlite
returns database is locked error.
More info: https://www.sqlite.org/rescode.html#busy
Backports #17276 for v6.2.x
@bergquist
Copy link
Contributor

missing #17118

@marefr
Copy link
Contributor Author

marefr commented May 27, 2019

Yes I know @bergquist, but don't think it was merged when I did the cherry pick. Going to try again.

@marefr marefr marked this pull request as ready for review May 27, 2019 10:48
@marefr marefr requested a review from bergquist May 27, 2019 10:48
@marefr
Copy link
Contributor Author

marefr commented May 27, 2019

Got "too many files open" error for one proxy request error, but besides that no "database is locked" errors.

> ./run.sh -d 15m -v 20 -c auth_proxy_test -u http://127.0.0.1:10080/grafana

          /\      |‾‾|  /‾‾/  /‾/   
     /\  /  \     |  |_/  /  / /    
    /  \/    \    |      |  /  ‾‾\  
   /          \   |  |‾\  \ | (_) | 
  / __________ \  |__|  \__\ \___/ .io

  execution: local
     output: -
     script: src/auth_proxy_test.js

    duration: 15m0s, iterations: -
         vus: 20,    max: 20

    done [==========================================================] 15m0s / 15m0s

    █ auth proxy test

      █ batch proxy requests

        ✗ response status is 200
         ↳  99% — ✓ 275999 / ✗ 1

    checks.....................: 99.99% ✓ 275999 ✗ 1
    data_received..............: 5.3 GB 5.9 MB/s
    data_sent..................: 86 MB  96 kB/s
    group_duration.............: avg=14.5s    min=761.72ms med=15.04s   max=24.33s   p(90)=18.1s   p(95)=19.05s
    http_req_blocked...........: avg=156.69µs min=758ns    med=2.75µs   max=174.56ms p(90)=4.74µs  p(95)=411.75µs
    http_req_connecting........: avg=142.49µs min=0s       med=0s       max=174.5ms  p(90)=0s      p(95)=304.21µs
    http_req_duration..........: avg=929.65ms min=1.45ms   med=975.68ms max=3.57s    p(90)=1.35s   p(95)=1.5s
    http_req_receiving.........: avg=53.05µs  min=9.29µs   med=40.33µs  max=32.03ms  p(90)=58.66µs p(95)=70.51µs
    http_req_sending...........: avg=62.75µs  min=5.54µs   med=21.76µs  max=135.22ms p(90)=35.51µs p(95)=69.83µs
    http_req_tls_handshaking...: avg=0s       min=0s       med=0s       max=0s       p(90)=0s      p(95)=0s
    http_req_waiting...........: avg=929.53ms min=1.4ms    med=975.59ms max=3.57s    p(90)=1.35s   p(95)=1.5s
    http_reqs..................: 278517 309.463306/s
    iteration_duration.........: avg=19.45s   min=2.15µs   med=20.02s   max=29.33s   p(90)=23.11s  p(95)=24.05s
    iterations.................: 912    1.013333/s
    vus........................: 20     min=20   max=20
    vus_max....................: 20     min=20   max=20

@bergquist
Copy link
Contributor

@marefr
Copy link
Contributor Author

marefr commented May 27, 2019

@bergquist I don't see how those changes has any effect in the datasource proxy?

@bergquist
Copy link
Contributor

Absolutely true.

Weird. Never seen too many files open during load testing. Not a blocker in this case.

Copy link
Contributor

@bergquist bergquist left a comment

Choose a reason for hiding this comment

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

LGTM

I guess we should rebase this instead of squashing? :)

@marefr
Copy link
Contributor Author

marefr commented May 27, 2019

Yes we should 👍

@marefr marefr merged commit 9e40b07 into v6.2.x May 27, 2019
@marefr marefr deleted the cp-6.2.1 branch May 27, 2019 12:31
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.

7 participants