Skip to content

Commit 6397366

Browse files
committed
release: v0.9.2
Signed-off-by: Michele Meloni <[email protected]>
1 parent 75a3f7c commit 6397366

File tree

2 files changed

+140
-2
lines changed

2 files changed

+140
-2
lines changed

CHANGELOG.md

Lines changed: 139 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,143 @@ All notable changes to this project will be documented in this file. This projec
44
## [Unreleased]
55

66

7+
<a name="v0.9.2"></a>
8+
## [v0.9.2] - 2021-04-07
9+
### Bug Fixes
10+
- fix StreamVerifiedSet and Get and add an (integration) test for them
11+
- fix inclusion proofs in StreamVerifiedSet and Get
12+
- password reader 'inappropriate ioctl for device' from stdin ([#658](https://github.com/vchain-us/immudb/issues/658))
13+
- include AtTx in StreamZScan response
14+
- **embedded:** fix data races
15+
- **embedded:** use mutex to sync ops at tx lru-cache
16+
- **embedded/store:** sync ReadTx operation
17+
- **embedded/store:** fix indexing sync and error retrieval
18+
- **embedded/store:** ensure waitees get notified when store is restarted
19+
- **embedded/store:** remove checking for closed store when fetching any vlog
20+
- **embedded/store:** continue indexing once index is replaced with compacted index
21+
- **embedded/store:** set delay with duration in ms
22+
- **embedded/store:** ensure watchers get notified when indexing is up-to-date
23+
- **embedded/tbtree:** release lock when compaction thld was not reached
24+
- **embedded/tbtree:** insertion delay while compacting not affecting compaction
25+
- **embedded/tbtree:** set lastSnapshot once flushed is completed
26+
- **pkg/auth:** add missing stream write methods to permissions
27+
- **pkg/client:** fix minor leftover
28+
- **pkg/client:** fix security issue: if client local state became corrupted an error is returned
29+
- **pkg/client:** ensure dual proof verification is made when there is a previously verified state
30+
- **pkg/database:** wrap seekKey with prefix only when seekKey is non-empty
31+
- **pkg/server:** use latest snapshot when listing users
32+
33+
### Changes
34+
- add max tx values length guard and remove code duplication
35+
- move stream service to a proper package
36+
- improve serverside stream error handling
37+
- add video streamer command
38+
- renaming stream methods
39+
- updating copyright
40+
- renaming stream methods, add stubs and stream service factory
41+
- fix binary notation
42+
- in server store creation max value entry is fixed to 32Mb
43+
- mocked server uses the inner immudb grpc server and can be gracefully stopped
44+
- set stream supports multiple key values
45+
- fixed minimum chunk size at 4096 bytes
46+
- refactor code quality issues
47+
- increase stream coverage and add a guard if key is present on a stream but no value is found
48+
- remove fake proveSinceTxBs key send in streamVerifiableSet
49+
- polish streams methods and add comments
50+
- **embedded:** remove unused cbuffer package
51+
- **embedded:** add logger
52+
- **embedded:** fix some typos with comments
53+
- **embedded:** log indexing notifications
54+
- **embedded:** descriptive logs on indexing and already closed errors
55+
- **embedded:** add logs into relevant operations
56+
- **embedded:** compaction and snapshot handling
57+
- **embedded/appendable:** thread-safe multi-appendable
58+
- **embedded/appendable:** sync before copying appendable content
59+
- **embedded/appendable:** multi-appendable fine-grained locking
60+
- **embedded/store:** remove duplicated logging
61+
- **embedded/store:** stop indexing while commiting with callback
62+
- **embedded/store:** leverage fine-grained locking when reading tx data
63+
- **embedded/store:** general improvements on snapshot management
64+
- **embedded/store:** log number of transactions yet to be indexed
65+
- **embedded/store:** use buffered channel instead of a circular buffer
66+
- **embedded/store:** set a limit on indexing iteration
67+
- **embedded/store:** set max file size to 2Gb ([#649](https://github.com/vchain-us/immudb/issues/649))
68+
- **embedded/store:** remove conditional locking before dumping index
69+
- **embedded/store:** lock-less readTx
70+
- **embedded/tbtree:** terminate reader if prefix won't match any more
71+
- **embedded/tbtree:** optimize seek position
72+
- **embedded/tbtree:** revert seek key setting
73+
- **embedded/tbtree:** sync key-history log during compaction
74+
- **embedded/tbtree:** sync before dumping
75+
- **embedded/tbtree:** optimize seek position
76+
- **embedded/watchers:** broadcasting optimisation
77+
- **embedded/watchers:** minor renaming
78+
- **embedded/watchers:** accept non-continuous notification
79+
- **pkg/client:** add a guard to check for min chunk size
80+
- **pkg/client:** add stream service factory on client and increase stream coverage
81+
- **pkg/client:** maps server error on client package
82+
- **pkg/client:** remove local files tests
83+
- **pkg/client:** add GetKeyValuesFromFiles helper method
84+
- **pkg/client:** integration test is skipped if immudb server is not present
85+
- **pkg/database:** return error while waiting for index to be up to date
86+
- **pkg/database:** use in-mem current snapshot in execAll operation
87+
- **pkg/database:** leverage lightweight waiting features of embedded store
88+
- **pkg/database:** return error while waiting for index to be up to date
89+
- **pkg/database:** ensure scan runs over fully up-to-date snapshot
90+
- **pkg/database:** illegal state guard is added to verifiable get and getTx methods
91+
- **pkg/server:** max recv msg size is set to 32M
92+
- **pkg/server:** add a guard to check for min chunk size
93+
- **pkg/server:** revert quit chan exposure
94+
- **pkg/server:** add server error mapper interceptor
95+
- **pkg/server:** add small delay for indexing to be completed
96+
- **pkg/server:** exposes Quit chan
97+
- **pkg/stream:** remove bufio.reader when not needed
98+
- **pkg/stream:** remove duplicated code
99+
- **pkg/stream:** add ErrNotEnoughDataOnStream error and ImmuServiceReceiver_StreamMock
100+
- **pkg/stream:** renamed stream test package
101+
- **pkg/stream:** add a guard to detect ErrNotEnoughDataOnStream on client side
102+
- **pkg/stream:** remove bufio and add ventryreceiver unit test
103+
- **pkg/stream:** add some comments to mesasge receiver
104+
- **pkg/stream:** add more corner cases guards
105+
- **pkg/stream/streamtest:** add dummy file generator
106+
- **tools:** fix copyright
107+
- **tools/stream:** get stream content directly from immudb
108+
- **tools/stream/benchmark:** add stream benchmark command
109+
- **tools/stream/benchmark/streamb:** add SinceTx value to getStream
110+
111+
### Code Refactoring
112+
- stream kvreceiver expose Next method to iterate over key values
113+
- stream receiver implements reader interface
114+
- use of explicit messages for stream request
115+
- **pkg/stream:** use ParseValue func in zreceiver and remove the redundant readSmallMsg func
116+
- **pkg/stream:** refactor receiver to increase simplicity
117+
118+
### Features
119+
- add flusher to stream data to client
120+
- add Stream Scan and client stream ServiceFactory
121+
- Add StreamVerifiedSet and StreamVerifiedGet
122+
- add client->server stream handler
123+
- increase default store max value length to 32MB
124+
- refactors and implement server->client stream handler
125+
- Remove unnecessary dependencies ([#665](https://github.com/vchain-us/immudb/issues/665))
126+
- add support for user, password and database flags in immuclient ([#659](https://github.com/vchain-us/immudb/issues/659))
127+
- chunk size is passed as argument in client and server
128+
- **embedded/store:** expose insertion delay while compacting
129+
- **embedded/store:** configurable compaction threshold to set the min number of snapshots for a compaction to be done
130+
- **embedded/store:** integrate watchers to support indexing synchronicity
131+
- **embedded/store:** tx header cache to speed up indexing
132+
- **embedded/tbtree:** configurable insertion delay while compaction is in progress
133+
- **embedded/tbtree:** automatically set seekKey based on prefixKey when it's not set
134+
- **embedded/watchers:** lightweight watching center
135+
- **embedded/watchers:** fetchable current state
136+
- **pkg/client:** handle illegal state error
137+
- **pkg/database:** non-blocking, no history compaction
138+
- **pkg/database:** non-blocking index compaction
139+
- **pkg/database:** default scan parameters using up-to-date snapshot
140+
- **pkg/server:** add signature on stream verifiable methods and tests
141+
- **pkg/stream:** add exec all stream
142+
143+
7144
<a name="v0.9.1"></a>
8145
## [v0.9.1] - 2021-02-08
9146
### Bug Fixes
@@ -1381,7 +1518,8 @@ All notable changes to this project will be documented in this file. This projec
13811518
- **tree:** MTH reference impl
13821519

13831520

1384-
[Unreleased]: https://github.com/vchain-us/immudb/compare/v0.9.1...HEAD
1521+
[Unreleased]: https://github.com/vchain-us/immudb/compare/v0.9.2...HEAD
1522+
[v0.9.2]: https://github.com/vchain-us/immudb/compare/v0.9.1...v0.9.2
13851523
[v0.9.1]: https://github.com/vchain-us/immudb/compare/v0.9.0...v0.9.1
13861524
[v0.9.0]: https://github.com/vchain-us/immudb/compare/v0.9.0-RC2...v0.9.0
13871525
[v0.9.0-RC2]: https://github.com/vchain-us/immudb/compare/v0.9.0-RC1...v0.9.0-RC2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export GO111MODULE=on
1616

1717
SHELL=/bin/bash -o pipefail
1818

19-
VERSION=0.9.1
19+
VERSION=0.9.2
2020
TARGETS=linux/amd64 windows/amd64 darwin/amd64 linux/s390x
2121
SERVICE_EXE=${SERVICE_NAME}-v${VERSION}-windows-amd64.exe
2222

0 commit comments

Comments
 (0)