Skip to content

Commit b3b618c

Browse files
committed
Merge branch 'release-4.0.3.1' into 4.0-master
2 parents f5b543e + d49213f commit b3b618c

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 4.0.3.1 (hotfix release)
4+
5+
#### Bug Fix
6+
- [#879](https://github.com/marklogic/java-client-api/issues/879) - increase queue size (will use more memory) for QueryBatcher so iterator thread won't be distracted running batches as often and can be more focused on feeding the queue
7+
38
## 4.0.3
49

510
#### New Functionality

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.marklogic</groupId>
55
<artifactId>marklogic-client-api</artifactId>
66
<packaging>jar</packaging>
7-
<version>4.0.3</version>
7+
<version>4.0.3.1</version>
88
<name>MarkLogic Java Client API</name>
99
<description>The official MarkLogic Java client API.</description>
1010
<url>https://github.com/marklogic/java-client-api</url>

src/main/java/com/marklogic/client/datamovement/impl/QueryBatcherImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ private class QueryThreadPoolExecutor extends ThreadPoolExecutor {
793793

794794
QueryThreadPoolExecutor(int threadCount, Object objectToNotifyFrom) {
795795
super(threadCount, threadCount, 0, TimeUnit.MILLISECONDS,
796-
new LinkedBlockingQueue<Runnable>(threadCount * 5), new ThreadPoolExecutor.CallerRunsPolicy());
796+
new LinkedBlockingQueue<Runnable>(threadCount * 50), new ThreadPoolExecutor.CallerRunsPolicy());
797797
this.objectToNotifyFrom = objectToNotifyFrom;
798798
}
799799

test-complete/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jacocoTestReport {
4646
}
4747

4848
dependencies {
49-
compile('com.marklogic:marklogic-client-api:4.0.3')
50-
compile('com.marklogic:marklogic-xcc:9.0.3')
49+
compile('com.marklogic:marklogic-client-api:4.0.3.1')
50+
compile('com.marklogic:marklogic-xcc:8.0.6')
5151
compile('xmlunit:xmlunit:1.5')
5252
compile('junit:junit:4.11')
5353
compile('org.skyscreamer:jsonassert:1.2.3')

0 commit comments

Comments
 (0)