From a429b70bc9ea958d455a607330b637919bf826f4 Mon Sep 17 00:00:00 2001 From: chengshiwen Date: Mon, 19 Sep 2022 12:44:25 +0800 Subject: [PATCH] release v1.8.10-c1.1.0 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ CONTRIBUTING.md | 8 ++++---- DEPENDENCIES.md | 3 +++ README.md | 2 +- docker/quick/docker-compose.yml | 10 +++++----- 5 files changed, 41 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eadfe2..4fa83cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +v1.8.10-c1.1.0 [2022-09-19] +------------------- + +### Features + +- feat(influxd-ctl): support `-auth-type`, `-pwd`, `-secret` and `-user` global options +- feat(influxd-ctl): support `copy-shard`, `join`, `leave`, `remove-shard`, `show-shards`, `token` and `truncate-shards` commands +- feat(influxd-ctl): remove-data: remove data directory after data node removed +- feat(influxd-ctl): remove-meta: remove meta directory after meta node removed +- feat(influxd-ctl): show: display `version` column with health check +- feat(config): support 19 settings in meta and data node configuration +- feat(https): support https and authorization in meta and data node +- feat(auth): support jwt and basic authentication in meta and data node +- feat(gossip): support gossip announcement in influxd-meta and influxd +- feat(query): skip failed nodes that hold a shard needed for queries (if there is a replica on another node, it will retry on that node) +- feat(hinted-handoff): refactor hinted handoff to ensure purge data under node/shard/segment directory structure +- feat(hinted-handoff): remove hinted handoff queues when data nodes are removed to eliminate manual cleanup tasks +- feat(chronograf): compat chronograf access via `/user` and `/role` interface in meta service +- feat(pool): improve connection pool in shard writer and meta executor + +### Bugfixes + +- fix(influx_inspect): multiple retention policies problem in influx_inspect export [#23197](https://github.com/influxdata/influxdb/pull/23197) +- fix(iterator): float, integer, string and boolean iterator finalized by GC +- fix(query): `show measurements`, `show tag keys`, `show tag values`, `show field keys` and `show series` only query local data +- fix(query): `node_id` not workding in `/query` +- fix(hinted-handoff): segment is full + v1.8.10-c1.0.0 [2022-04-20] ------------------- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 22ad7d9..74a1d36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,7 +85,7 @@ Setup the project structure and fetch the repo like so: ```bash mkdir $HOME/gocodez export GOPATH=$HOME/gocodez - go get github.com/chengshiwen/influxdb-cluster + git clone https://github.com/chengshiwen/influxdb-cluster.git ``` You can add the line `export GOPATH=$HOME/gocodez` to your bash/zsh file to be set for every shell instead of having to manually run it everytime. @@ -130,13 +130,13 @@ If you want to build packages, see `build.py` usage information: python build.py --help # Or to run the build utility via Docker -# bash build.sh --help +bash build.sh --help # Or to build a package for your current system bash build.sh --package # Or to build all release packages by specifying the platform, arch, branch and version -bash build.sh --platform all --arch all --branch master --version 1.8.10-c1.0.0 --clean --release --package +bash build.sh --platform all --arch all --branch master --version 1.8.10-c1.1.0 --clean --release --package ``` To run the tests, execute the following command: @@ -162,7 +162,7 @@ Build and Push Multi-Arch Docker Images To build and push multi-arch docker images, run the following command: ```bash -INFLUXDB_VERSION=1.8.10-c1.0.0 +INFLUXDB_VERSION=1.8.10-c1.1.0 cd docker/data docker buildx build --platform linux/amd64,linux/arm64 --build-arg INFLUXDB_VERSION=${INFLUXDB_VERSION} --push -f Dockerfile -t chengshiwen/influxdb:${INFLUXDB_VERSION}-data . docker buildx build --platform linux/amd64,linux/arm64 --build-arg INFLUXDB_VERSION=${INFLUXDB_VERSION} --push -f Dockerfile_alpine -t chengshiwen/influxdb:${INFLUXDB_VERSION}-data-alpine . diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 227268d..3412a08 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -17,6 +17,8 @@ - github.com/golang/protobuf [BSD LICENSE](https://github.com/golang/protobuf/blob/master/LICENSE) - github.com/golang/snappy [BSD LICENSE](https://github.com/golang/snappy/blob/master/LICENSE) - github.com/google/go-cmp [BSD LICENSE](https://github.com/google/go-cmp/blob/master/LICENSE) +- github.com/hashicorp/raft [MPL LICENSE](https://github.com/hashicorp/raft/blob/main/LICENSE) +- github.com/hashicorp/raft-boltdb [MPL LICENSE](https://github.com/hashicorp/raft-boltdb/blob/master/LICENSE) - github.com/influxdata/influxql [MIT LICENSE](https://github.com/influxdata/influxql/blob/master/LICENSE) - github.com/influxdata/usage-client [MIT LICENSE](https://github.com/influxdata/usage-client/blob/master/LICENSE.txt) - github.com/jsternberg/zap-logfmt [MIT LICENSE](https://github.com/jsternberg/zap-logfmt/blob/master/LICENSE) @@ -43,6 +45,7 @@ - golang.org/x/sys [BSD LICENSE](https://github.com/golang/sys/blob/master/LICENSE) - golang.org/x/text [BSD LICENSE](https://github.com/golang/text/blob/master/LICENSE) - golang.org/x/time [BSD LICENSE](https://github.com/golang/time/blob/master/LICENSE) +- gopkg.in/fatih/pool.v2 [MIT LICENSE](https://github.com/fatih/pool/blob/v2.0.0/LICENSE) - jquery 2.1.4 [MIT LICENSE](https://github.com/jquery/jquery/blob/master/LICENSE.txt) - github.com/xlab/treeprint [MIT LICENSE](https://github.com/xlab/treeprint/blob/master/LICENSE) diff --git a/README.md b/README.md index 80ac863..a62b57a 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ docker-compose down -v ### Create your first database ``` -curl -XPOST "http://influxdb-data-01:8086/query" --data-urlencode "q=CREATE DATABASE mydb" +curl -XPOST "http://influxdb-data-01:8086/query" --data-urlencode "q=CREATE DATABASE mydb WITH REPLICATION 2" ``` ### Insert some data diff --git a/docker/quick/docker-compose.yml b/docker/quick/docker-compose.yml index c60b446..d33a580 100644 --- a/docker/quick/docker-compose.yml +++ b/docker/quick/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.5" services: influxdb-meta-01: - image: chengshiwen/influxdb:1.8.10-c1.0.0-meta + image: chengshiwen/influxdb:1.8.10-c1.1.0-meta container_name: influxdb-meta-01 hostname: influxdb-meta-01 restart: unless-stopped @@ -11,7 +11,7 @@ services: - influxdb-cluster influxdb-meta-02: - image: chengshiwen/influxdb:1.8.10-c1.0.0-meta + image: chengshiwen/influxdb:1.8.10-c1.1.0-meta container_name: influxdb-meta-02 hostname: influxdb-meta-02 restart: unless-stopped @@ -19,7 +19,7 @@ services: - influxdb-cluster influxdb-meta-03: - image: chengshiwen/influxdb:1.8.10-c1.0.0-meta + image: chengshiwen/influxdb:1.8.10-c1.1.0-meta container_name: influxdb-meta-03 hostname: influxdb-meta-03 restart: unless-stopped @@ -27,7 +27,7 @@ services: - influxdb-cluster influxdb-data-01: - image: chengshiwen/influxdb:1.8.10-c1.0.0-data + image: chengshiwen/influxdb:1.8.10-c1.1.0-data container_name: influxdb-data-01 hostname: influxdb-data-01 ports: @@ -37,7 +37,7 @@ services: - influxdb-cluster influxdb-data-02: - image: chengshiwen/influxdb:1.8.10-c1.0.0-data + image: chengshiwen/influxdb:1.8.10-c1.1.0-data container_name: influxdb-data-02 hostname: influxdb-data-02 ports: