Commit Graph

50245 Commits (load-generator/add-new-sequential-data-types)

Author SHA1 Message Date
wayne warren 17b22894e1 feat: add BooleanValue::Toggle and FloatValue::SequentialWithInc 2025-03-20 18:37:37 -06:00
praveen-influx a40fbe83b1
Merge pull request #631 from influxdata/chore/core-sync-20250320
chore: core sync 20250320
2025-03-20 21:40:05 +00:00
Praveen Kumar dcc99631c1
Merge remote-tracking branch 'OSS/main' into chore/core-sync-20250320 2025-03-20 21:09:44 +00:00
Trevor Hilton e3e6e867d2
Merge pull request #630 from influxdata/hiltontj/buffer-parquet-files
feat: different chunk types for enterprise
2025-03-20 16:57:46 -04:00
Trevor Hilton d48785dabe feat: different chunk types for enterprise
This adds new implementations of QueryChunk for Enterprise:

- `ReplicaBufferChunk` (includes the node-id)
- `ReplicParquetChunk` (includes the node-id)
- `CompactedParquetChunk`

These are logged with a `trace!` when chunks are got from the buffer.
2025-03-20 16:36:29 -04:00
praveen-influx d6abd8db66
chore: create release doc (#26171) 2025-03-20 20:06:28 +00:00
wayne e176483678
Merge pull request #626 from influxdata/ww/oss-sync
feat: support deterministic load generator values (#26174)
2025-03-20 14:06:12 -06:00
praveen-influx 2390ef1282
Merge pull request #620 from influxdata/chore/release-doc
chore: create release doc
2025-03-20 20:05:48 +00:00
praveen-influx 823e792c67
chore: check if build is dirty and fail (#26172) 2025-03-20 20:05:32 +00:00
wayne warren ade46d47c0 Merge remote-tracking branch 'core/main' into ww/oss-sync 2025-03-20 13:29:53 -06:00
wayne 4fd0a3b05d
feat: support deterministic load generator values (#26174)
* simplify FieldValue types by making load generator functions should be
  generic over RngCore and passing the RNG in to methods rather than
  depending on it being available on every type instance that needs it
* expose influxdb3_load_generator as library crate
* export config, spec, and measurement types publicly to suppore use in
  the antithesis-e2e crate
* fix bug that surfaced whenever the cardinality value was less than the
  lines per sample value by forcing LP lines in a set of samples to be
  distinct from one another with nanosecond increments
2025-03-20 11:58:38 -06:00
Jackson Newhouse cadc73ac44
Merge pull request #621 from influxdata/jnewhouse/oss-20250320
chore: core sync 20250320
2025-03-20 10:30:54 -07:00
Praveen Kumar d6ba759f16
chore: create release doc 2025-03-20 17:00:24 +00:00
Jackson Newhouse 956924fa1f Merge remote-tracking branch 'core/main' into jnewhouse/oss-20250320 2025-03-20 09:56:18 -07:00
Jackson Newhouse 7c02593fef
chore: Overhaul CLI tests for better ergonomics. (#26168)
* chore: Overhaul CLI tests for better ergonomics.

* chore: switch with_query() to with_sql().
2025-03-20 09:19:12 -07:00
praveen-influx 98bf325a46
chore: 3.0.0-beta.1 release ready (#26167) 2025-03-19 22:24:32 +00:00
praveen-influx 462d0d50fd
Merge pull request #606 from influxdata/chore/beta-builds
chore: create beta build
2025-03-19 20:46:43 +00:00
Praveen Kumar 1ca0510712
chore: 3.0.0-beta.1 version for release 2025-03-19 17:38:59 +00:00
praveen-influx 6730b6aef2
Merge pull request #616 from influxdata/chore/core-sync-20250319
chore: core sync 20250319
2025-03-19 16:04:23 +00:00
Praveen Kumar 7c58a38fc1
Merge remote-tracking branch 'OSS/main' into chore/core-sync-20250319 2025-03-19 15:48:57 +00:00
Jamie Strandboge 8bb09e4b82
chore(ci): update to handle release tags (#26166)
* chore(ci): use most recent ci-support images

* fix: update release_filter (thanks Praveen) and pkg version for release
2025-03-19 10:46:44 -05:00
Trevor Hilton 92727d1fc7
Merge pull request #609 from influxdata/tjh/compactor-new-nodes
feat: compactor picks up new ingest nodes for compaction
2025-03-18 15:49:41 -04:00
Trevor Hilton da2f583f07 feat: compactor picks up new ingest nodes for compaction
The compaction producer runs a background job to pick up new ingest
nodes that have been registered in the cluster.

A test was added to check that this works as expected.

refactor: change to Arc<str> for node snapshot marker
2025-03-18 14:15:13 -04:00
Michael Gattozzi b792f70960
fix: maybe fix flakiness for parquet cache test (#26159)
This adds a sleep so that the parquet cache has a little bit of time to
populate before we make another request to the query buffer. Sometimes
it does not populate and so we have a race condition where the new
request comes in and actually goes to object store. This is fine in
practice because it would also take time to fill the cache in production
as well. I haven't really seen the test fail since adding this, but
triggering it in the first place is really hard and in practice does not
happen all that often.
2025-03-18 11:31:30 -04:00
Michael Gattozzi 4e2cb630b3
fix: Prevent Catalog UUID races for new nodes (#26160)
When starting up a new cluster in Enterprise we might have multiple
nodes starting at the same time. We might have an issue wherby we have
multiple catalogs with different UUIDs in their in memory
representation.

For example:
- Let's say we have node0 and node1
- node0 and node1 start at the same time and both check object storage
  to see if there is a catalog to load
- They both see there is no catalog
- They both create a new one by generating a UUID and persisting it to
  object storage
- Whichever is written second is now the one with the correct UUID in
  their in memory representation while the other will not have the
  correct one until restarted likely

This in practice isn't an issue today as Trevor notes in
https://github.com/influxdata/influxdb_pro/issues/600, but it could be
once we start using `--cluster-id` for licensing purposes. In order to
prevent this we instead make the write to object storage use the Put
mode. If it exists then the write will fail and the node that lost the
race will instead just load the other's catalog.

For example if node1 wins the race then node0 will load the catalog
created by node1 and use that UUID instead.

As this is hard to create a test for as it involves a race condition to
happen I have not included one as we could never really be sure it was
taken care of and we rely on the underlying object store we are writing
to to handle this for us. It's also not likely to happen given this is
only on a new cluster being initiated for the first time decreasing the
chances of it occurring in the first place.
2025-03-18 11:25:08 -04:00
Trevor Hilton 4f140cf75c
Merge pull request #608 from influxdata/tjh/fix-flakey-ttbr-test
fix: flakey ttbr test
2025-03-18 10:19:15 -04:00
Trevor Hilton d2da058ded
chore: cleanup token create CLI message (#26158) 2025-03-18 10:08:16 -04:00
Trevor Hilton 9422c1bf9b fix: flakey ttbr test
The replication ttbr test was flaking due to timing issues. This fixes
the time providers used for the primary and replicated buffers in the
test, respectively, to guarantee the TTBR that is measured.
2025-03-18 10:02:25 -04:00
Trevor Hilton 040744166f
Merge pull request #605 from influxdata/tjh/no-sleep 2025-03-17 21:44:23 -04:00
Trevor Hilton 57252b55f5 fix: remove sleeps in cache tests
This removes the sleeps in some of the tests in last/disctinct cache
that were in place to wait for catalog updates to broadcast. These are
no longer needed because the catalog broadcast is ACK'd
2025-03-17 21:10:34 -04:00
Trevor Hilton 680594a8b7
Merge pull request #604 from influxdata/tjh/core-sync-863a6d0b4a
chore: core sync 863a6d0b4a
2025-03-17 21:08:52 -04:00
Trevor Hilton 12b8879590 chore: fix tests after core sync 2025-03-17 20:57:48 -04:00
Trevor Hilton 4cf03bc133 Merge remote-tracking branch 'core/main' into tjh/core-sync-863a6d0b4a 2025-03-17 20:30:52 -04:00
Trevor Hilton 863a6d0b4a
feat: ack catalog update broadcast (#26118)
This creates a CatalogUpdateMessage type that is used to send
CatalogUpdates; this type performs the send on the oneshot Sender so
that the consumer of the message does not need to do so.

Subscribers to the catalog get a CatalogSubscription, which uses the
CatalogUpdateMessage type to ACK the message broadcast from the catalog.

This means that catalog message broadcast can fail, but this commit does
not provide any means of rolling back a catalog update.

A test was added to check that it works.
2025-03-17 20:20:07 -04:00
wayne 7d63fba3f9
Merge pull request #585 from influxdata/simplify-cluster-setup/remove-unnecessary-cli-args
chore: move enterprise-specific code into enterprise module
2025-03-17 16:04:19 -06:00
peterbarnett03 98ca8dcb50
chore: Update install script for Docker with cluster changes (#26149)
* chore: update Docker install info

* fix: remove secondary script

* fix: bad copy

* fix: tiny bad copy

* fix: revert issue

* fix: adjust for Core

* fix: removing MUSL and fixing fi

* chore: whitespace updates for previous commits

---------

Co-authored-by: Jamie Strandboge <jamie@influxdata.com>
2025-03-17 14:45:34 -05:00
Trevor Hilton 011536b2b1
Merge pull request #602 from influxdata/tjh/replica-log-level
fix: excessive logs in replication
2025-03-17 14:33:17 -04:00
Trevor Hilton 46c1640b69 fix: excessive logs in replication 2025-03-17 13:38:56 -04:00
wayne 96bd6d2b26
Merge pull request #597 from influxdata/catalog/make-trigger-spec-consistent-with-node-spec
chore: clean up TriggerSpecification usage a little
2025-03-17 11:37:22 -06:00
Trevor Hilton 3ad0670452
test: small change to distinct cache cli test (#26152)
Added one check to the distinct cache create test that checks duplicate
creation behaviour while investigating influxdb_pro#601
2025-03-17 11:05:25 -04:00
Paul Dix 1f9849be83
feat: Update README with beta info (#26151) 2025-03-17 10:33:13 -04:00
Jamie Strandboge d4dfa1ed86
Merge pull request #599 from influxdata/jdstrand/oss-sync
chore: sync core 51123f2da0
2025-03-16 14:34:20 -05:00
Jamie Strandboge 95765bf80f
Merge remote-tracking branch 'core/main' into jdstrand/oss-sync 2025-03-16 14:22:26 -05:00
Jamie Strandboge 51123f2da0
fix: don't use modified .cargo/config.toml (#26148)
We need to both add and remove keys from rustflags, but modifying
.cargo/config.toml in place causes the version string to have -dirty
appended to it. Use ci-support that instead creates ./.cargo/config (a
historic filename that is preferred over ./.cargo/config.toml if it
exists) and then git ignore ./.cargo/config.

References:
- https://github.com/influxdata/influxdb/issues/26147
- https://doc.rust-lang.org/cargo/reference/config.html?highlight=rustflags#hierarchical-structure
2025-03-16 14:19:59 -05:00
wayne 6f81bea4b7
Merge pull request #596 from influxdata/catalog/refactor-processing-node-spec
chore: be consistent in use of ApiNodeSpec in LVC, DVC, & triggers
2025-03-15 18:44:09 -06:00
wayne warren 19f7055cda chore: clean up TriggerSpecification usage a little 2025-03-15 17:26:27 -06:00
wayne warren 85d99e90fd chore: be consistent in use of ApiNodeSpec in LVC, DVC, & triggers 2025-03-15 16:50:29 -06:00
Trevor Hilton 2ddee3a3c5
Merge pull request #595 from influxdata/tjh/node-id-on-triggers
feat: use node spec for processing engine triggers
2025-03-15 15:21:34 -04:00
Trevor Hilton bae81dd1ee feat: use node spec for processing engine triggers 2025-03-15 13:52:24 -04:00
praveen-influx f23d6e0a3c
Merge pull request #594 from influxdata/chore/fix-artifact-name
fix: artifact name change to fix the build
2025-03-15 15:57:58 +00:00