Skip to content
New issue

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

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

Already on GitHub? # to your account

release/v2.2007 Fix integer overflow on 32-bit architectures #1558

Merged
merged 1 commit into from
Oct 12, 2020

Conversation

jsoriano
Copy link

@jsoriano jsoriano commented Oct 7, 2020

Similar to #1541, but for v2.2007 branch.


This change is Reviewable

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2020

CLA assistant check
All committers have signed the CLA.

Copy link

@codelingo codelingo bot left a comment

Choose a reason for hiding this comment

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

1 issues found.

@@ -47,7 +47,7 @@ import (

// maxVlogFileSize is the maximum size of the vlog file which can be created. Vlog Offset is of
// uint32, so limiting at max uint32.
var maxVlogFileSize = math.MaxUint32
var maxVlogFileSize uint32 = math.MaxUint32
Copy link

Choose a reason for hiding this comment

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

Avoid global variables to improve readability and reduce complexity

View Rule

Copy link
Author

Choose a reason for hiding this comment

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

Global variable not introduced in this PR, and is still a global variable in master branch. I would keep it as is here.

Copy link
Contributor

Choose a reason for hiding this comment

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

We can ignore the comment by codelingo.

@jarifibrahim jarifibrahim merged commit f5a7e0a into dgraph-io:release/v2.2007 Oct 12, 2020
@jarifibrahim
Copy link
Contributor

Thanks @jsoriano

@g1ibby
Copy link

g1ibby commented Feb 3, 2021

@jsoriano Thanks! You helped me so much.
@jarifibrahim I would like to clarify when these changes will be included in the new release?

@jarifibrahim
Copy link
Contributor

Hey @g1ibby , we don't have the next patch for v2.2007 planned. Is it possible for you to use the latest release? v3.2011.1?

@g1ibby
Copy link

g1ibby commented Feb 6, 2021

okay, thank you for the information. I'll be thinking about using v3.*

korniltsev added a commit to korniltsev/phlare that referenced this pull request Jun 5, 2023
cyriltovena pushed a commit to grafana/phlare that referenced this pull request Jun 5, 2023
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants