You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/26 09:18:04 UTC

[GitHub] [pulsar] fxbing opened a new pull request #5040: Add different cache flags to ConcurrentOpenLongPairRangeSet for size() and toString()

fxbing opened a new pull request #5040: Add different cache flags to  ConcurrentOpenLongPairRangeSet for size() and toString()
URL: https://github.com/apache/pulsar/pull/5040
 
 
   Fix #4895
   
   ### Motivation
   
   In `ConcurrentOpenLongPairRangeSet`, `size()` and `toString()` use the same cache flag.
   So, after using one of `size()` and `toString()`, another can't get the correct result.
   
   ### Modifications
   
   - add different cache flags to  `ConcurrentOpenLongPairRangeSet` for `size()` and `toString() `
   - add test for it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services