File tree 2 files changed +25
-1
lines changed
stroom-lmdb/src/main/java/stroom/bytebuffer
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ private ByteBuffer createNewBufferIfAllowed(final int offset) {
516
516
LOGGER .warn ("Hit {}% ({}) of the limit of {} for pooled buffers of size {}." ,
517
517
byteBufferPoolConfigProvider .get ().getWarningThresholdPercentage (),
518
518
warningThreshold ,
519
- newBufferCount ,
519
+ maxBufferCount ,
520
520
ModelStringUtil .formatCsv (bufferSizes [offset ]));
521
521
} else if (newBufferCount == maxBufferCount ) {
522
522
LOGGER .warn ("Hit limit of {} for pooled buffers of size {}. " +
Original file line number Diff line number Diff line change
1
+ * Issue ** #4196 ** : Fix warning message when the byte buffer pool hits its threshold.
2
+
3
+
4
+ ``` sh
5
+ # ********************************************************************************
6
+ # Issue title: ByteBufferPoolImpl message is incorrect
7
+ # Issue link: https://github.com/gchq/stroom/issues/4196
8
+ # ********************************************************************************
9
+
10
+ # ONLY the top line will be included as a change entry in the CHANGELOG.
11
+ # The entry should be in GitHub flavour markdown and should be written on a SINGLE
12
+ # line with no hard breaks. You can have multiple change files for a single GitHub issue.
13
+ # The entry should be written in the imperative mood, i.e. 'Fix nasty bug' rather than
14
+ # 'Fixed nasty bug'.
15
+ #
16
+ # Examples of acceptable entries are:
17
+ #
18
+ #
19
+ # * Issue **123** : Fix bug with an associated GitHub issue in this repository
20
+ #
21
+ # * Issue **namespace/other-repo#456** : Fix bug with an associated GitHub issue in another repository
22
+ #
23
+ # * Fix bug with no associated GitHub issue.
24
+ ```
You can’t perform that action at this time.
0 commit comments