mirror of https://github.com/apache/lucene.git
LUCENE-3711: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5f33d8d2ae
commit
53270bdb9c
|
@ -825,6 +825,12 @@ Bug fixes
|
||||||
* LUCENE-3605: don't sleep in a retry loop when trying to locate the
|
* LUCENE-3605: don't sleep in a retry loop when trying to locate the
|
||||||
segments_N file (Robert Muir, Mike McCandless)
|
segments_N file (Robert Muir, Mike McCandless)
|
||||||
|
|
||||||
|
* LUCENE-3711: SentinelIntSet with a small initial size can go into
|
||||||
|
an infinite loop when expanded. This can affect grouping using
|
||||||
|
TermAllGroupsCollector or TermAllGroupHeadsCollector if instantiated with a
|
||||||
|
non default small size. (Martijn van Groningen, yonik)
|
||||||
|
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
|
|
||||||
* LUCENE-3653: Improve concurrency in VirtualMethod and AttributeSource by
|
* LUCENE-3653: Improve concurrency in VirtualMethod and AttributeSource by
|
||||||
|
|
|
@ -48,18 +48,6 @@ public class TestSentinelIntSet extends LuceneTestCase {
|
||||||
assertEquals(24, set.rehashCount);
|
assertEquals(24, set.rehashCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testRehash() throws Exception {
|
|
||||||
SentinelIntSet set = new SentinelIntSet(3, -1);
|
|
||||||
set.put(1);
|
|
||||||
set.find(99);
|
|
||||||
set.put(2);
|
|
||||||
set.find(99);
|
|
||||||
set.put(3);
|
|
||||||
set.find(99);
|
|
||||||
set.put(4);
|
|
||||||
set.find(99);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testRandom() throws Exception {
|
public void testRandom() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue