File tree 5 files changed +11
-4
lines changed
src/main/java/org/infobip/lib/popout/synced
5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
13
13
- Add batch write/read (using FileChannel) with customizable batch size;
14
14
- Add concurrent access to queue (methods with ` synchronized ` keyword or based on locks).
15
15
16
+ ## [ 2.1.1] ( https://github.com/infobip/popout/releases/tag/2.1.1 ) - 2019-09-25
17
+
18
+ ### Fixed
19
+
20
+ - ` SyncedFileQueue ` don't fall in infinity loop during restoring from backup.
21
+
16
22
## [ 2.1.0] ( https://github.com/infobip/popout/releases/tag/2.1.0 ) - 2019-04-28
17
23
18
24
### Added
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ limitations under the License.
25
25
<parent >
26
26
<groupId >org.infobip.lib</groupId >
27
27
<artifactId >parent</artifactId >
28
- <version >2.1.0 </version >
28
+ <version >2.1.1 </version >
29
29
</parent >
30
30
31
31
<artifactId >benchmarks</artifactId >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ limitations under the License.
24
24
25
25
<groupId >org.infobip.lib</groupId >
26
26
<artifactId >parent</artifactId >
27
- <version >2.1.0 </version >
27
+ <version >2.1.1 </version >
28
28
<packaging >pom</packaging >
29
29
30
30
<modules >
@@ -71,7 +71,7 @@ limitations under the License.
71
71
<url >https://github.com/infobip/popout</url >
72
72
<connection >scm:git:https://github.com/infobip/popout.git</connection >
73
73
<developerConnection >scm:git:https://github.com/infobip/popout.git</developerConnection >
74
- <tag >2.1.0 </tag >
74
+ <tag >2.1.1 </tag >
75
75
</scm >
76
76
77
77
<distributionManagement >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ limitations under the License.
25
25
<parent >
26
26
<groupId >org.infobip.lib</groupId >
27
27
<artifactId >parent</artifactId >
28
- <version >2.1.0 </version >
28
+ <version >2.1.1 </version >
29
29
</parent >
30
30
31
31
<artifactId >popout</artifactId >
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ class SyncedFileQueue<T> extends FileQueue<T> {
67
67
size = new LongAdder ();
68
68
val iterator = backend .iterator ();
69
69
while (iterator .hasNext ()) {
70
+ iterator .next ();
70
71
size .increment ();
71
72
}
72
73
}
You can’t perform that action at this time.
0 commit comments