Skip to content

ACCUMULO-4780 Add overflow check to seq num in CommitSession#360

Closed
jmark99 wants to merge 1 commit intoapache:1.7from
jmark99:ACCUMULO-4780
Closed

ACCUMULO-4780 Add overflow check to seq num in CommitSession#360
jmark99 wants to merge 1 commit intoapache:1.7from
jmark99:ACCUMULO-4780

Conversation

@jmark99
Copy link
Copy Markdown
Contributor

@jmark99 jmark99 commented Jan 16, 2018

ACCUMULO-4780 Add overflow check to sequence number in CommitSession

Ticket suggested adding overflow check to sequence number or converting to long.
This PR converted the sequence number from an int to long to prevent fear of future
overflow. The change propagated to several other files that made use of or called
methods that utilized the sequence number.

Updated the affected files and re-ran uni and integration (sunnyday) tests to verify all tests still passed. All tests still passed.

Add overflow check to sequence number in CommitSession.

Ticket suggested adding overflow check to sequence number or converting to long.
This PR converted the sequence number from and int to long to prevent fear of future
overflow. The change propagated to several other files that made use of or called
methods that utilized the sequence number.

Modified the various files and then re-ran tests and integration tests to verify nothing
had broken. All tests passes.
@jmark99
Copy link
Copy Markdown
Contributor Author

jmark99 commented Jan 17, 2018

The Travis build indicates failure after running for almost 7 hours, but when looking at the log output it indicates success. Any thoughts on what happened?

@ctubbsii
Copy link
Copy Markdown
Member

I saw that. It makes no sense. The Travis log shows a successful 21 minute build. I think the problem is with Travis and delays starting the build and problems with their time tracking.

@jmark99
Copy link
Copy Markdown
Contributor Author

jmark99 commented Jan 17, 2018

Thanks! I assumed there was some Travis issue, just not sure what.

@ctubbsii
Copy link
Copy Markdown
Member

They had a message about unusual backlog and delays on container-based infrastructure. My guess is that this is related. I restarted the build to see if anything changed.

@jmark99
Copy link
Copy Markdown
Contributor Author

jmark99 commented Jan 17, 2018

Appreciate it!

Copy link
Copy Markdown
Contributor

@keith-turner keith-turner left a comment

Choose a reason for hiding this comment

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

This looks good @jmark99

I will merge it

@jmark99
Copy link
Copy Markdown
Contributor Author

jmark99 commented Jan 17, 2018

Thanks, @keith-turner

keith-turner pushed a commit that referenced this pull request Jan 17, 2018
Add overflow check to sequence number in CommitSession.

Ticket suggested adding overflow check to sequence number or converting to long.
This PR converted the sequence number from and int to long to prevent fear of future
overflow. The change propagated to several other files that made use of or called
methods that utilized the sequence number.

Modified the various files and then re-ran tests and integration tests to verify nothing
had broken. All tests passes.
@keith-turner
Copy link
Copy Markdown
Contributor

Merge in d99592c

@jmark99 jmark99 deleted the ACCUMULO-4780 branch February 8, 2018 13:26
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.

3 participants