Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(core): adding C* configs for TimeSeriesMemStoreDownsampleIndexSpec#2107

Merged
kvpetrov merged 2 commits intofilodb:developfrom
kvpetrov:cassandra_config
Dec 11, 2025
Merged

fix(core): adding C* configs for TimeSeriesMemStoreDownsampleIndexSpec#2107
kvpetrov merged 2 commits intofilodb:developfrom
kvpetrov:cassandra_config

Conversation

@kvpetrov
Copy link
Contributor

@kvpetrov kvpetrov commented Dec 11, 2025

Pull Request checklist

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

Current behavior :
TimeSeriesMemStoreDownsampleIndexSpec assumes that C* runs on localhost:9042. This is true with the default installation of C* but if sidecars are used, usually it's not the case.

New behavior :
The spec checks if CASSANDRA_HOST and CASSANDRA_NATIVE_TRANSPORT_PORT variables are defined and use them if it's the case.

BREAKING CHANGES
n/a

@kvpetrov kvpetrov changed the title adding cassandra host/port config fix(core): adding C* configs for TimeSeriesMemStoreDownsampleIndexSpec Dec 11, 2025
@kvpetrov kvpetrov merged commit e75c393 into filodb:develop Dec 11, 2025
1 check passed
sandeep6189 added a commit that referenced this pull request Feb 18, 2026
* feat (core): writing part keys to downsample keyspace directly from the raw FiloDB (#2102)

* writing part keys to downsample keyspace directly from the raw FiloDB clusters

* removing accidental prints

---------

Co-authored-by: Kier Petrov <[email protected]>

* fixing clippy linting errors (#2104)

Co-authored-by: Kier Petrov <[email protected]>

* fixing nondeterministic test (#2105)

Co-authored-by: Kier Petrov <[email protected]>

* adding more debugging for the spec execution (#2106)

Co-authored-by: Kier Petrov <[email protected]>

* fix(core): adding C* configs for TimeSeriesMemStoreDownsampleIndexSpec (#2107)

* adding cassandra host/port config

* moving the config out of the spec file to the config file

---------

Co-authored-by: Kier Petrov <[email protected]>

* use absent(sum(last()) to to implement absent_over_time. (#2108)

* use absent(sum(last()) to to implement absent_over_time.

---------

Co-authored-by: Yu Zhang <[email protected]>

* fix(gateway): Simplify TestTimeSeriesProducer options and fix query link & command (#2111)

* Revert "feat(query): make unless operator timestamp-aware and correct test ut…" (#2114)

This reverts commit 58411e8.

* fix(misc): rename last-delta schema to v2 (#2101)

* fix(query) Fix the java.util.NoSuchElementException: head of empty list issue when the inner rvs of a scalar is empty (#2116)

* fix(query): Wrong rate function used on cumulative min-max-histograms (#2117)

* feat(histogram): OTEL Cummulative enhanced rate + quantile calculation with max-min values (#2119)

* feat(histogram): OTEL Cummulative enhanced rate + quantile calculation with max-min

* Adding additional unit tests

* build(deps): bump oneshot from 0.1.8 to 0.1.13 in /core/src/rust (#2124)

Bumps [oneshot](https://github.com/faern/oneshot) from 0.1.8 to 0.1.13.
- [Changelog](https://github.com/faern/oneshot/blob/v0.1.13/CHANGELOG.md)
- [Commits](faern/oneshot@v0.1.8...v0.1.13)

---
updated-dependencies:
- dependency-name: oneshot
  dependency-version: 0.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(query) Handle cases where non pipe regex are passed gracefully with a BadQueryException instead of default scala.MatchError (#2122)

* misc(cluster): Adding  helper function for ShardMapperV2 (#2123)

* misc(cluster): Adding  helper function for ShardMapperV2

* misc(cluster): Adding an async method to get the ShardMapperV2 response (#2127)

* misc(cluster): Adding an async method to get the ShardMapperV2 response

* fix(query): Handle empty histograms in ScalarOperationMapper to prevent ArrayIndexOutOfBoundsException (#2126)

* maint(all): Make changes for code to be compatible to scala 2.13 (#2112)

* perf(core): Optimize FilodbMetrics allocation in hot path (#2129)

Reduce OTel attribute allocations when additional tags are not involved. This appeared in the allocation hot path where chunks scanned counters are incremented too often resulting in lot of allocations. Perf tests after the change showed that this is not in the hot path anymore.
Also fixed a bug where we are relying on a mutable `AttributesBuilder` to create new time series. Fixed it to immutable `Attributes`.

* Add preagg delta histogram v2 schema (#2132)

* Add preagg delta histogram v2 schema

* Fix typo

---------

Co-authored-by: Srividhya Anantharamakrishnan <[email protected]>

* updating main version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: kvpetrov <[email protected]>
Co-authored-by: Kier Petrov <[email protected]>
Co-authored-by: yu-shipit <[email protected]>
Co-authored-by: Yu Zhang <[email protected]>
Co-authored-by: Vish Ramachandran <[email protected]>
Co-authored-by: Amol Nayak <[email protected]>
Co-authored-by: Shaik Sher Ali <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: srivik <[email protected]>
Co-authored-by: Srividhya Anantharamakrishnan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments