Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/cockroachdb/cockroach. Pull mirroring updated .
  1. Jun 13, 2024
    • celiala's avatar
      Merge pull request #125612 from nicktrav/nickt.release-24.1.1-rc+gossip · 484f8e2f
      celiala authored
      release-24.1.1-rc: kvserver: constrain store gossip chatter
      v24.1.1
      484f8e2f
    • Austen McClernon's avatar
      kvserver: deflake rebalance multi-store · ad2dcb31
      Austen McClernon authored
      After #125276, which reduced gossip frequency,
      `TestReplicateQueueRebalanceMultiStore/multi-store` became flaky
      as the queue processing speed is artificially increased but gossip
      updates remain limited.
      
      Increase the gossip frequency to deflake the test.
      
      Fixes: #125360
      Fixes: #125450
      Release note: None
      ad2dcb31
    • Austen McClernon's avatar
      kvserver: add cluster settings for key store gossip params · 3a6de8d5
      Austen McClernon authored
      Introduce `kv.store_gossip.capacity_delta_threshold` and
      `kv.store_gossip.max_frequency`, which control the capacity delta
      required to trigger eager gossip for lease/range counts and the maximum
      frequency of eager store gossip.
      
      The defaults for these settings remained unchanged from the previously
      hard-coded defaults:
      
      `kv.store_gossip.capacity_delta_threshold`: 0.10
      `kv.store_gossip.max_frequency`: 2s
      
      Resolves: #125227
      Release note: None
      3a6de8d5
    • Austen McClernon's avatar
      kvserver: increase req for lease/range count store gossip trigger · b0633cfb
      Austen McClernon authored
      Increase the relative requirement for triggering store gossip on
      capacity changes for lease and ranges. Previously, the requirement was a
      +-5% delta from the previously gossiped value, in addition to a minimum
      (5). Increase the relative delta from 5 to 10%.
      
      Informs: #125227
      Release note: None
      b0633cfb
    • Austen McClernon's avatar
      kvserver: limit eager store gossip frequency · b511616b
      Austen McClernon authored
      Previously, it was possible that stores would gossip their store
      descriptors rapidly on capacity changes, without limit. This patch
      introduces a hard frequency limit of 2s on capacity change triggered
      gossip. In other words, irrespective of any capacity changes that may
      have taken place, a store will gossip at most every 2s if satisfying the
      capacity delta trigger.
      
      Resolves: #125210
      Release note: None
      b511616b
  2. Jun 12, 2024
  3. Jun 10, 2024
  4. Jun 06, 2024
  5. Jun 04, 2024
  6. Jun 03, 2024
    • Michael Erickson's avatar
      sql/stats: evict stats cache entry if user-defined types have changed · 8c4ed0e0
      Michael Erickson authored
      When adding table statistics to the stats cache, we decode histogram
      upper bounds into datums. If the histogram column uses a user-defined
      type, we hydrate the type and use this to decode.
      
      In statistics builder, these histogram upper bound datums are compared
      against datums in spans and constraints. The comparisons assume that the
      datums are of equivalent type, but if the user-defined type has changed
      sometime after loading the stats cache entry, this might not be true.
      
      If the user-defined type has changed, we need to evict and re-load the
      stats cache entry so that we decode histogram datums with a freshly-
      hydrated type.
      
      (We were already checking UDT versions when building the optTable in
      sql.(*optCatalog).dataSourceForTable, but the newly-built optTable used
      the existing table statistics instead of refreshing those, too.)
      
      Fixes: #124181
      
      Release note (bug fix): Fix a bug where a change to a user-defined type
      could cause queries against tables using that type to fail with an error
      message like:
      
        "histogram.go:694: span must be fully contained in the bucket"
      
      The change to the user-defined type could come directly from an ALTER
      TYPE statement, or indirectly from an ALTER DATABASE ADD REGION or DROP
      REGION statement (which implicitly change the crdb_internal_region
      type).
      
      This bug has existed since UDTs were introduced in v20.2.
      8c4ed0e0
    • Rail Aliiev's avatar
      ci: paginate all available check runs · 234c3391
      Rail Aliiev authored
      Previously, we used the default API request to list check runs per SHA.
      In some cases the number of checks is greater than the default `30` per
      page.
      
      This PR adds logic to fetch all check runs.
      
      Epic: none
      Release note: None
      234c3391
  7. May 31, 2024
  8. May 30, 2024
  9. May 29, 2024
  10. May 28, 2024
Loading