Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0
-
Security Level: Public
-
Untriaged
-
Unknown
Description
Was looking at some indexer util code, and saw that it was parsing the ep-engine's vbucket-details stats output (sequence numbers and UUID's) by using strconv.Atoi(). Those are uint64's so using Atoi() incorrectly drops some bits...
Instead, strconv.ParseUint(theString, 10, 64) should work more correctly.
Attachments
For Gerrit Dashboard: MB-16184 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
54926,2 | MB-16184: use ParseUint for vbuuid, higseqno strings. | unstable | indexing | Status: ABANDONED | 0 | 0 |
54927,2 | MB-16184: use ParseUint for vbuuid, higseqno strings. | testing | indexing | Status: MERGED | +2 | +1 |
55015,2 | MB-16184: use ParseUint for vbuuid, higseqno strings. | unstable | indexing | Status: MERGED | +2 | +1 |