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

[core] Fix #380 by working around recorder/logger initialization timing. #381

Merged
merged 1 commit into from
Aug 6, 2015

Conversation

nitsanw
Copy link
Contributor

@nitsanw nitsanw commented Aug 5, 2015

The HdrHistogramReader makes some problematic assumptions on the roles played by start time, base time and histogram start/end times. This is to be revisited in a future release of HdrHistogram (see HdrHistogram/HdrHistogram#69). In the meantime this change will make YCSB record as expected by the current reader:
a. Set histogram log base time (same as start time)
b. Only create the recorder after the log has been setup

@busbey
Copy link
Collaborator

busbey commented Aug 5, 2015

could you redo the commit message to start the first line with "[core]"?

@busbey
Copy link
Collaborator

busbey commented Aug 5, 2015

could you amend to leave out the formatting changes?

The HdrHistogramReader makes some problematic assumptions on the roles
played by start time, base time and histogram start/end times. This is
to be revisited in a future release of HdrHistogram (see
HdrHistogram/HdrHistogram#69). In the meantime
this change will make YCSB record as expected by the reader:
a. Set histogram log base time (same as start time)
b. Only create the recorder after the log has been setup
@nitsanw
Copy link
Contributor Author

nitsanw commented Aug 6, 2015

Learned a new git trick in the process ;)
Thanks

@nitsanw nitsanw changed the title Fix #380 by working around recorder/logger initialization timing. [core] Fix #380 by working around recorder/logger initialization timing. Aug 6, 2015
busbey added a commit that referenced this pull request Aug 6, 2015
[core] Fix #380 by working around recorder/logger initialization timing.
@busbey busbey merged commit 918b155 into brianfrankcooper:master Aug 6, 2015
@busbey
Copy link
Collaborator

busbey commented Aug 6, 2015

Thanks!

@busbey busbey mentioned this pull request Aug 17, 2015
jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
[core] Fix brianfrankcooper#380 by working around recorder/logger initialization timing.
jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
[core] Fix brianfrankcooper#380 by working around recorder/logger initialization timing.
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.

2 participants