Skip to content

Releases: chengshiwen/influxdb-cluster

Release v1.8.11-c1.2.0

08 Sep 13:53
194fcaa
Compare
Choose a tag to compare

InfluxDB Cluster v1.8.11-c1.2.0 release

Features

  • chore: upgrade to go 1.21.13 (and support GOMEMLIMIT environment variable to set a soft memory limit includes the Go heap and all other memory managed by the runtime)
  • feat(gossip): gossip /announce will try to request other nodes when network failed
  • refactor(pool): optimize connection pool to reduce the number of TCP and TIME_WAIT
  • refactor(meta-executor): optimize meta executor with connection pool
  • feat(config): support shard-reader-timeout in data node configuration
  • chore(write): optimize logger output under write timeout failed

Bugfixes

  • fix(cluster): fix nil pointer dereference in marshal binary of join cluster response #15
  • fix(hinted-handoff): fix null pointer from hh caused panic #28
  • fix(hinted-handoff): fix possible deadlock in node_processor #42
  • fix(pool): fix possible deadlock in client_pool
  • fix(copy-shard): fix read tcp i/o timeout in copy-shard #39
  • fix(meta-client): fix data race in meta client
  • fix(show-shards): remove any expired shards and give empty expiry time for inf duration shards from the /show-shards output
  • fix(influxd): fix influxd close and reset issue
  • fix(coordinator): fix closing opened twice in points writer
  • fix(tsm1): Fix data race of seriesKeys in deleteSeriesRange
  • chore(config): fix indent and typo in config.sample.toml and meta.config.sample.toml

InfluxDB OSS v1.8.11 release

Note: Why does v1.8.11 exist?
Because v1.8.10 is the last version of 1.8 and has been out of maintenance for a long time.
v1.8.11 is based on v1.8.10, and applied important bug fixes from 1.9 to 1.11. For details of the commits, see chengshiwen/influxdb@v1.8.10...1.8.11

Features

  • #24764: chore: upgrade to influxdata/influxql v1.2.0
  • #20793: feat: Add WITH KEY to show tag keys
  • #21983: feat: SHOW TAG VALUES should produce results from one specific RP
  • #22388: feat: show measurements database and retention policy wildcards
  • #22620: feat: add thread-safe access to CountingWriter byte total
  • #22638: feat: optionally dump queries to log on SIGTERM
  • #23055: feat: configurable DELETE concurrency
  • #23320: feat: log slow queries even without query logging
  • #23425: feat: log the log level regardless of log level
  • #23795: feat: add version number to debug/vars
  • #23978: feat: add the ability to log queries killed by query-timeout
  • #18146: refactor(query): reuse matchAllRegex
  • #19514: refactor: Use filepath.Walk
  • #19323: refactor: Use binary.Read() instead of io.ReadFull()

Bugfixes

  • #22754: fix: detect misquoted tag values and return an error
  • #17685: fix(tsm1): Fix temp directory search bug
  • #18004: fix(httpd): Fixes key collisions when serializing /debug/vars
  • #18129: fix(tsdb): Fix variables masked by a declaration
  • #18429: fix(httpd): add option to authenticate prometheus remote read
  • #19631: fix(CORS): allow PATCH
  • #20694: fix: consistent error for missing shard
  • #20802: fix(tsm1): fix data race and validation in cache ring
  • #21558: fix: do not send non-UTF-8 characters to subscriptions
  • #21592: fix: avoid rewriting fields.idx unnecessarily
  • #21659: fix: do not close connection twice in DigestWithOptions
  • #21666: fix: do not panic on cleaning up failed iterators
  • #21792: fix: error instead of panic for statement rewrite failure
  • #21795: fix: show shards gives empty expiry time for inf duration shards
  • #22040: fix: copy names from mmapped memory before closing iterator
  • #22038: test: fix order of index teardown
  • #22273: fix: return correct count of ErrNotExecuted
  • #22353: fix: correct error return shadowing
  • #22348: fix: flux error properly read by cloud
  • #22492: fix: For Windows, close temp file before removing
  • #22566: fix(tsdb): sync series segment to disk after writing
  • #22601: fix: create shards without overlaps
  • #22661: chore: fix deadlock in influx_inspect dumptsi
  • #22703: fix: extend snapshot copy to filesystems that cannot link
  • #22796: fix(restore): fix race condition which causes restore command to fail
  • #21932: fix(tsi): sync index file before close
  • #22929: fix: use defer for unlock
  • #22998: fix: influxd-ctl backup will create a working backup when only -shard given
  • #23217: fix: return underlying error creating a subscription
  • #23197: fix(influx_inspect): multiple retention policies bug in influx_inspect export
  • #21125: chore: fix typo in config.sample.toml
  • #21746: fix(httpd): abort processing write request when encountering a precision error
  • #23286: fix: MeasurementsCardinality should not be less than 0
  • #23336: fix: remove data directory appending for influx_inspect verify
  • #23387: fix: replace unprintable and invalid characters in errors
  • #23396: fix: do not rename files on mmap failure
  • #23430: fix: fully clean up partially opened TSI
  • #23437: fix: remember shards that fail Open(), avoid repeated attempts
  • #23461: fix: lost TSI reference / close TagValueSeriesIDIterator in error case
  • #23467: fix: eliminate race condition on Monitor.globalTags
  • #23532: fix: improve error messages opening index partitions
  • #23539: fix: create TSI MANIFEST files atomically
  • #23557: fix: add paths to tsi log and index file errors
  • #23566: fix: add reporttsi to the help text
  • #23580: fix: generalize test for Windows
  • #23785: fix: use copy when a rename spans volumes
  • #23787: fix: add tests for file rename across volumes
  • #23822: fix: log errors in continuous query statistics storage
  • #23727: fix: don't write skipped shard messages to the line protocol output destination
  • #23916: fix: series file index compaction
  • #24311: fix: do not escape CSV output
  • #24509: fix: avoid SIGBUS when reading non-std series segment files
  • #24565: fix: panic index out of ...
Read more

Release v1.8.10-c1.1.2

11 Dec 15:53
Compare
Choose a tag to compare

Features

  • feat(flux): support flux query language in cluster
  • chore(influxd-ctl): optimize shard not found tips in influxd-ctl show-shards
  • chore(monitor): optimize nodeID value to tcp addr in statistics

Bugfixes

  • fix(influxql): fix show queries and kill query statement in cluster
  • fix(influxql): fix explain and explain analyze statement in cluster
  • fix(influxql): fix show measurement cardinality and show series cardinality statement in cluster

Note: All influxql (influx query language) statements are already supported in cluster.

Documents

Release v1.8.10-c1.1.1

16 Oct 12:54
Compare
Choose a tag to compare

Features

  • feat(config): support allow-out-of-order-writes and max-writes-pending in data node configuration
  • chore: update raft to v1.3.11

Bugfixes

  • fix(meta-handler): announcement concurrent map iteration and map write in meta handler
  • fix(hinted-handoff): optimize the load order of segments in hh
  • fix(hinted-handoff): optimize marshalWrite and unmarshalWrite in node processor
  • fix(hinted-handoff): do not queue partial write errors to hinted handoff
  • fix(hinted-handoff): prevent the hinted handoff from becoming blocked if it encounters field type errors
  • fix(hinted-handoff): fix issue where read bytes, blocked writes and dropped writes were not recorded in hh
  • fix(hinted-handoff): ensure the hinted handoff (hh) queue makes forward progress when segment errors occur
  • fix(hinted-handoff): verify and truncate the queue segment files if any are corrupted upon node startup
  • fix(hinted-handoff): improve hinted handoff metrics
  • fix(hinted-handoff): append bytes to buffer in hh queue to avoid OOM

Documents

v1.8.10-c1.1.0

19 Sep 04:48
Compare
Choose a tag to compare

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
  • 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

Documents

v1.8.10-c1.0.0

19 Apr 18:06
Compare
Choose a tag to compare

Release InfluxDB Cluster v1.8.10-c1.0.0 based on InfluxDB Enterprise, InfluxDB v1.8.10 and InfluxDB v0.11.1

Documents: