Skip to content

Conversation

@burmanm
Copy link
Contributor

@burmanm burmanm commented Aug 1, 2019

If LSM and ValueLog were stored in the different directories, the metrics stored in the expvar would report incorrectly the directory keyname for value dir.


This change is Reviewable

@burmanm burmanm requested a review from a team August 1, 2019 08:23
@CLAassistant
Copy link

CLAassistant commented Aug 1, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

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

Thanks for sending the PR @burmanm . Please sign the CLA so that we can merge this PR.
Can you change this line as well

badger/db.go

Line 1084 in d8e1fcf

vlog = y.VlogSize.Get(db.opt.Dir).(*expvar.Int).Value()

@burmanm
Copy link
Contributor Author

burmanm commented Aug 1, 2019

Will update. I'm waiting for our legal team to answer to the CLA.

@jarifibrahim
Copy link
Contributor

The change looks harmless. I'm merging it. Thanks for the PR @burmanm.

@jarifibrahim jarifibrahim merged commit 2cd3f4d into dgraph-io:master Aug 9, 2019
jarifibrahim pushed a commit that referenced this pull request Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants