Skip to content

Add histogram in GrvProxyServer.#5278

Merged
xy-54321 merged 3 commits into
apple:masterfrom
xy-54321:histogram
Aug 4, 2021
Merged

Add histogram in GrvProxyServer.#5278
xy-54321 merged 3 commits into
apple:masterfrom
xy-54321:histogram

Conversation

@xy-54321

@xy-54321 xy-54321 commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

Add grvConfirmEpochLiveDist and grvRawDist to GrvProxyServer.

j list --stopped | grep  20210730-225754-yaoxiao-c9abab775d808237
20210730-225754-yaoxiao-c9abab775d808237           compressed=True data_size=25963959 duration=5536583 ended=106011 fail_fast=10 max_runs=100000 pass=100002 priority=100 remaining=0 runtime=0:30:21 sanity=False started=106053 stopped=20210730-232815 submitted=20210730-225754 timeout=5400 username=yaoxiao

Code-Reviewer Section

The general guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

  • The PR has a description, explaining both the problem and the solution.
  • The description mentions which forms of testing were done and the testing seems reasonable.
  • Every function/class/actor that was touched is reasonably well documented.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

  • This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or master if this is the youngest branch)
  • There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: e07f1ae
  • Result: FAILED
  • Build Logs (available for 7 days)

@xy-54321 xy-54321 force-pushed the histogram branch 2 times, most recently from 67c1388 to 8ad5fea Compare July 27, 2021 02:29
@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 67c1388
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: 67c1388
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 8ad5fea
  • Result: FAILED
  • Build Logs (available for 7 days)

halfprice
halfprice previously approved these changes Jul 27, 2021

@halfprice halfprice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Can you also post your joshua run result in the PR description?

Comment thread fdbserver/GrvProxyServer.actor.cpp Outdated
@xy-54321

Copy link
Copy Markdown
Contributor Author

Nice!

Can you also post your joshua run result in the PR description?

I'm having issue connecting to the container. I'll update the result later.

@xumengpanda xumengpanda assigned halfprice and unassigned xumengpanda Jul 28, 2021
@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: bd286ae
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: bd286ae
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 8cbe9e9
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 82be496
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@xy-54321

Copy link
Copy Markdown
Contributor Author

Added Joshua result and rebased to resolve conflict.

halfprice
halfprice previously approved these changes Aug 2, 2021
Comment thread fdbserver/GrvProxyServer.actor.cpp Outdated
bucketInterval(FLOW_KNOBS->BASIC_LOAD_BALANCE_UPDATE_RATE / FLOW_KNOBS->BASIC_LOAD_BALANCE_BUCKETS) {
bucketInterval(FLOW_KNOBS->BASIC_LOAD_BALANCE_UPDATE_RATE / FLOW_KNOBS->BASIC_LOAD_BALANCE_BUCKETS),
grvConfirmEpochLiveDist(Histogram::getHistogram(LiteralStringRef("GrvProxy"),
LiteralStringRef("grvConfirmEpochLive"),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
LiteralStringRef("grvConfirmEpochLive"),
LiteralStringRef("GrvConfirmEpochLive"),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did something happen to this? I can't tell from the GitHub history whether this and my other suggestion were applied or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I force pushed my local commit, which overwrote the suggestion. I re-applied the change. Please take a look.

Comment thread fdbserver/GrvProxyServer.actor.cpp Outdated
@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: c98c100
  • Result: FAILED
  • Build Logs (available for 7 days)

@halfprice

Copy link
Copy Markdown
Contributor

LGTM. Just one request before merging.

The CI failure seems unexpected.

9/11 Test #7: fdbcli_tests ...................................***Failed 19.10 sec
Database created

WARNING: Long delay (Ctrl-C to interrupt)
ERROR: Transaction is too old to perform reads or be committed (1007)
Traceback (most recent call last):
File "/root/src/bindings/python/tests/fdbcli_tests.py", line 441, in
consistencycheck()
File "/root/src/bindings/python/tests/fdbcli_tests.py", line 30, in wrapper
result = func(logger, *args, **kwargs)
File "/root/src/bindings/python/tests/fdbcli_tests.py", line 240, in consistencycheck
assert output1 == consistency_check_on_output
AssertionError
log-dir: /root/src/build_output/tmp/Zpq8KjFEsw3uM4bh/log
etc-dir: /root/src/build_output/tmp/Zpq8KjFEsw3uM4bh/etc
data-dir: /root/src/build_output/tmp/Zpq8KjFEsw3uM4bh/data
cluster-file: /root/src/build_output/tmp/Zpq8KjFEsw3uM4bh/etc/fdb.cluster

This doesn't seem to happen in other PRs. Can you make sure this is not related to your PR?

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: 82be496
  • Result: SUCCEEDED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build-macos
  • Commit ID: 82be496
  • Result: FAILED
  • Build Logs (available for 7 days)

@xy-54321 xy-54321 merged commit 876c6d7 into apple:master Aug 4, 2021
@xy-54321 xy-54321 deleted the histogram branch August 4, 2021 23:34
@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: f3baedd
  • Result: FAILED
  • Build Logs (available for 7 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: foundationdb-pull-request-build
  • Commit ID: f3baedd
  • Result: FAILED
  • Build Logs (available for 7 days)

xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Sep 27, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Sep 27, 2021
RenxuanW pushed a commit that referenced this pull request Sep 27, 2021
Add histogram in GrvProxyServer.
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Sep 28, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Sep 28, 2021
xy-54321 added a commit to xy-54321/foundationdb that referenced this pull request Sep 28, 2021
halfprice pushed a commit that referenced this pull request Sep 29, 2021
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.

5 participants