Releases: streamnative/oxia
v0.10.0
What's Changed
- [Go client] Recover from write stream failures by @merlimat in #521
- Fix NPE in coordinator when closing a half-initialized node controller by @merlimat in #520
- Fixed notification DB read after DB was closed by @merlimat in #519
- Include session-id in CLI tool output stats by @merlimat in #524
- fix(server): print the correct error info by @mattisonchao in #527
- fix(tool): follow up #524 to add session id to output by @mattisonchao in #528
- Pool index buffer for read-write wal segments by @merlimat in #523
- Allow to disable notifications on a namespace by @merlimat in #526
- Implementation of disabling notifications on server side by @merlimat in #529
- Configure notifications disabled on standalone CLI by @merlimat in #531
- On delete-range send 1 single notification to clients by @merlimat in #532
- Async quorum-ack-tracker should trigger callback outside of mutex by @merlimat in #533
- feat(server): return storage entry to vtpool when callback error by @mattisonchao in #535
- feat(cmd): support wal cmd
truncate
command by @mattisonchao in #530 - fix(session): expired session write request will delete other session shadow key by @mattisonchao in #534
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- fix(notification): support notification retention configuration by @mattisonchao in #515
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- Rename ShardId field to Shard by @merlimat in #511
- fix(coordinator): panic when BadVersion in coordinator by @mattisonchao in #512
- Upgrade to go lint 1.61 by @merlimat in #514
- Add term check on the internal streams, to avoid wrong closures of leader controller by @merlimat in #513
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- oxia: add write latency for writeStream by @mattisonchao in #507
- Reduce max segment size in list responses by @merlimat in #508
- Added async flushing of WAL by @merlimat in #509
- Async tracking of commit offset i QuorumAckTracker by @merlimat in #510
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #498
- Added server side support for WriteStream operation by @merlimat in #499
- server: enable pebble bloom filter for better
read
performance by @mattisonchao in #500 - Use WriteStream in client sdk by @merlimat in #501
- [improve][doc] Add info to specify different wal and dir paths if running a local test. by @heesung-sn in #504
- Use unique version ids within the same batch by @merlimat in #505
New Contributors
- @heesung-sn made their first contribution in #504
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- *: fix benchmark test issue by @mattisonchao in #487
- Upgrade all dependencies by @merlimat in #490
- Update to Alpine 3.20 by @merlimat in #491
- tls: support server TLS options by @mattisonchao in #492
- tls: support coordinator TLS options by @mattisonchao in #493
- tls: Support different TLS settings between public and internal by @mattisonchao in #494
- auth: support OIDC authentication provider and token authentication by @mattisonchao in #496
- build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 by @dependabot in #497
Full Changelog: v0.5.0...v0.6.0
v0.5.0
New Features
Get()
operation with floor/ceiling comparison
It's now possible to do a Get()
request for a key that is floor (<=
), ceiling (>=
), lower (<
) or higher >
.
eg.:
key, value, version, err := client.Get(ctx, "my-key", ComparisonFloor())
Partition Key
A PartitionKey
can be specified in all the operations. When a partition key is set, the shard routing mechanism will be based on it instead of using the record key.
eg.:
key1, v1, err := client.Put(ctx, "key-1", []byte("1"), PartitionKey("x"))
key2, v2, err := client.Put(ctx, "key-2", []byte("1"), PartitionKey("x"))
key2, v2, err := client.Put(ctx, "key-3", []byte("1"), PartitionKey("x"))
All these record are going to be stored on the same shard, even though they have different keys.
Operations such as Get()
with floor/ceiling match, List()
and RangeScan()
become more efficient when a PartitionKey()
option is set, since they only need to operate on a single shard.
Sequential Keys
Oxia can help generating unique and monotonically increasing keys composed on an arbitrary number of sequences.
key1, v1, err := client.Put(ctx, "a", []byte("0"), SequenceKeysDeltas(1), PartitionKey("x"))
// key1 -> a-00000000000000000001
key2, v2, err := client.Put(ctx, "a", []byte("0"), SequenceKeysDeltas(5), PartitionKey("x"))
// key2 -> a-00000000000000000006
RangeScan
RangeScan()
is similar to List()
, though it allows to efficiently iterate over a large set of records
Reading Coordinator configuration from config map
When running in Kubernetes, the Oxia coordinator can read the configuration directly from a config map. This will allow to get instant notifications of changes to the configuration and to get them applied immediately.
What's Changed
- improve oxia coordinatior status configmap by @labuladong in #456
- Upgrade to OTel 1.26 by @merlimat in #457
- Switch CI to Go 1.22 by @merlimat in #458
- Upgrade K8S client API lib by @merlimat in #459
- Fixed Trivy scan severity config by @merlimat in #460
- Watch config changes by @labuladong in #462
- Upgrade to protovt 0.6 by @merlimat in #463
- Bump google.golang.org/grpc from 1.58.2 to 1.58.3 by @dependabot in #464
- Ensure notification channel is always closed before client.Close() returns by @merlimat in #466
- Added support for Get() with ComparisonType in Db abstraction by @merlimat in #465
- Server side handling of floor/ceiling get requests by @merlimat in #467
- doc: add file type to avoid confusing by @mattisonchao in #468
- Added client side implementation of ceiling/floor get queries by @merlimat in #469
- Added partition-key to override shard routing by @merlimat in #470
- Only watch config file when running coordinator by @merlimat in #471
- Support sequential write operation on server dbs by @merlimat in #472
- Support sequential keys in client SDK by @merlimat in #474
- Hide internal keys in CLI listing by @merlimat in #475
- Refactored CLI client by @merlimat in #476
- Added CLI options for partition-key, comparison type and sequence keys by @merlimat in #477
- Added delete-range CLI command by @merlimat in #478
- Added range-scan support in oxia db by @merlimat in #479
- Added range-scan support in public RPC by @merlimat in #480
- Implemented range-scan in client API by @merlimat in #481
- Update Busybox to fix CVE-2023-42366 by @merlimat in #482
- Support range-scan in CLI by @merlimat in #483
- Allower to read cluster config directly from the k8s config-map by @merlimat in #484
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Fix handling of GetNotifications() request when leader is not fully initialized by @merlimat in #437
- Close all closers when shutting down by @RobertIndie in #438
- Enable Trivy scan for Oxia image by @merlimat in #439
- Check all levels of vulnerabilities with Trivy by @merlimat in #440
- improve deploy doc by @labuladong in #441
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #442
- *: support TLS/mTLS on the peer and client by @mattisonchao in #443
- Bump golang.org/x/net from 0.18.0 to 0.23.0 by @dependabot in #446
- Use single go-routine instead of mutex for shard-controller by @merlimat in #447
- Coordinator not passing Term in delete shard request by @merlimat in #448
- Close controller when delete shard fails by @merlimat in #449
- Improve CLI tools to display ephemeral node session information by @merlimat in #450
- Update Pebble to stable release v1.1.0 by @merlimat in #451
- Use
Recreate
rollout strategy for coordinator deployment by @merlimat in #452 - Add jq tool to Docker image by @merlimat in #453
- Fixed session expiry with multiple session in a shard by @merlimat in #454
New Contributors
- @RobertIndie made their first contribution in #438
- @labuladong made their first contribution in #441
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- fix(387): add more useful linter by @lsytj0413 in #394
- chore(*): enable prealloc & predel linters by @lsytj0413 in #395
- chore(*): enable nilerr, unparam linter by @lsytj0413 in #396
- fix(*): avoid infinite loop when notifications close by @lsytj0413 in #398
- test(*): flaky TestCoordinator_RebalanceCluster by @lsytj0413 in #400
- chore(*): enable revive linter by @lsytj0413 in #399
- chore(*): enable nilnil linter by @lsytj0413 in #401
- chore(*): enable thelper linter by @lsytj0413 in #402
- chore(*): enable testableexamples linter by @lsytj0413 in #403
- chore(*): enable gosec/godot linter by @lsytj0413 in #404
- chore(*): enable contextcheck、noctx、gomoddirectives linter by @lsytj0413 in #405
- chore(*): enable gocritic linter by @lsytj0413 in #406
- chore(*): enable more revive linter rules by @lsytj0413 in #408
- chore(*): enable revive.cyclomatic rules by @lsytj0413 in #409
- chore(*): enable revive.typeassert rules by @lsytj0413 in #410
- chore(*): enable revive.exported rules by @lsytj0413 in #411
- chore(*): enable revive.bare-return rules by @lsytj0413 in #413
- Start/stop node controllers on cluster expansion/shrinking by @merlimat in #414
- chore(*): enable revive.flag-parameter rules by @lsytj0413 in #416
- Fixed head offset in follower after a snapshot load by @merlimat in #415
- Perform client retry on InvalidStatus error by @merlimat in #417
- Added shard and target node info when logging gRPC failures by @merlimat in #418
- Continue to push assignment updates to nodes that were removed from the list by @merlimat in #419
- fix(327): assert the lastPushed as -1 or 0 by @lsytj0413 in #421
- chore(*): enable revive.cognitive-complexity rules by @lsytj0413 in #420
- Fixed wrong error returned after NewTerm failure by @merlimat in #422
- Add K8S startup probe by @merlimat in #423
- fix(426): discard entry and writingIdx when TruncateLog by @lsytj0413 in #427
- Fixed create and modified timestamps not getting set by @merlimat in #431
- Update Alpine base image to 3.19 by @merlimat in #433
- Allow to list keys with no min or max boundaries by @merlimat in #434
- Fixes in session manager by @merlimat in #432
- Close session in go client close by @merlimat in #435
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- Update CI to Go 1.21 by @merlimat in #382
- Update OTel to 1.20 by @merlimat in #381
- Update Pebble to latest version by @merlimat in #383
- Updated gin-gonic to 1.9.1 by @merlimat in #384
- fix(380): change module path to github.com/streamnative/oxia by @lsytj0413 in #385
- refactor(*): group import by standard/third/current by @lsytj0413 in #386
- Upgrade OpenSSL in Alpine image by @merlimat in #391
- fix(388): replace zerolog reference with slog by @lsytj0413 in #390
- Use "error" instead of "Error" as key in logs with attached errors by @merlimat in #392
- fix(324): close channel after iterator is closed by @lsytj0413 in #393
Full Changelog: v0.2.0...v0.2.1