-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge release-23.1.18-rc to release-23.1: released CockroachDB version 23.1.18. Next version: 23.1.19 #122235
merge release-23.1.18-rc to release-23.1: released CockroachDB version 23.1.18. Next version: 23.1.19 #122235
Commits on Mar 20, 2024
-
util/mon: lose more references on Stop
This commit makes it so that we also now lose the references from the monitor being `Stop`ped to its siblings to aid GC. This was omitted by mistake originally and _perhaps_ could make GC's job harder. Epic: None Release note: None
Configuration menu - View commit details
-
Copy full SHA for 2b20437 - Browse repository at this point
Copy the full SHA 2b20437View commit details
Commits on Mar 22, 2024
-
Merge pull request cockroachdb#120810 from cockroachdb/blathers/backp…
…ort-release-23.1.18-rc-120789 release-23.1.18-rc: util/mon: lose more references on Stop
Configuration menu - View commit details
-
Copy full SHA for e49c1e5 - Browse repository at this point
Copy the full SHA e49c1e5View commit details -
util/mon: remove somewhat redundant numChildren field
This commit is a reduced version of 33b1b61. It is being backported in order to avoid any possible downsides of using COCKROACH_ENABLE_MONITOR_TREE env var which, if disabled, makes it so that we don't increment `numChildren` but keep decrementing it. This is effectively a philosophical fix of an issue that shouldn't manifest itself in any way. Kudos to Nathan for identifying this. Epic: None Release note: None
Configuration menu - View commit details
-
Copy full SHA for 6029c72 - Browse repository at this point
Copy the full SHA 6029c72View commit details
Commits on Mar 25, 2024
-
release-23.1.18-rc: released CockroachDB version 23.1.17. Next versio…
…n: 23.1.18 Release note: None Epic: None Release justification: non-production (release infra) change.
Configuration menu - View commit details
-
Copy full SHA for 96f07b3 - Browse repository at this point
Copy the full SHA 96f07b3View commit details
Commits on Mar 26, 2024
-
Merge pull request cockroachdb#121076 from cockroach-teamcity/update-…
…versions-release-23.1.18-rc-v23.1.17-irt5 release-23.1.18-rc: released CockroachDB version 23.1.17. Next version: 23.1.18
Configuration menu - View commit details
-
Copy full SHA for 7952c4e - Browse repository at this point
Copy the full SHA 7952c4eView commit details -
build: validate release branch before running roachtest nightly
This introduces some validation to the `roachtest_nightly_impl` script to achieve two goals: * **Reduce the number of tests run every night**. We have seen a quick increase in the number of legitimate release branches created recently due to the baking period policy and perhaps a more quick paced patch release schedule for existing release series. Currently, we have 7 active release branches, with a new one being created soon. This volume of concurrent cluster creation leads to a lot of cluster creation errors ("zone exhausted" errors on GCE) and sometimes DNS errors as well. In this commit, we implement a policy where `-rc` branches only run 40% of the test suite by default. * **Avoid running the full suite on accidentally created release branches**. It is not immediately obvious that creating a branch with a `release-` prefix leads to a roachtest nightly build being created for that branch. The roachtest script is updated in this commit to check for these "invalid" release branches and abort execution early. It is still possible to force execution by setting an environment variable. Epic: none Release note: None
Configuration menu - View commit details
-
Copy full SHA for fcfa1cd - Browse repository at this point
Copy the full SHA fcfa1cdView commit details -
Merge pull request cockroachdb#121124 from renatolabs/rc/backport-23.…
…1.18-rc-121051
Configuration menu - View commit details
-
Copy full SHA for 9d3d9d1 - Browse repository at this point
Copy the full SHA 9d3d9d1View commit details
Commits on Mar 29, 2024
-
Merge pull request cockroachdb#121371 from cockroachdb/blathers/backp…
…ort-release-23.1.18-rc-120921 release-23.1.18-rc: util/mon: remove somewhat redundant numChildren field
Configuration menu - View commit details
-
Copy full SHA for 8813244 - Browse repository at this point
Copy the full SHA 8813244View commit details
Commits on Apr 3, 2024
-
util/mon: add cluster setting for disabling monitor tree tracking
We already have an env var for this, but it requires a node restart to apply. Having a cluster setting will allow us to disable the monitor tree tracking without the node restart, but it might also help us prove that it's Go GC deficiency to blame for the suspected memory leak: namely, if we find a cluster that has the leak and disable the tree tracking via the cluster setting, if it's Go GC deficiency, the leak would be cleaned up; if it's CRDB memory leak, then the leak will remain but will stop growing. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 630d818 - Browse repository at this point
Copy the full SHA 630d818View commit details
Commits on Apr 4, 2024
-
pkg/ui: properly derive XScale in statement details page
Fixes: cockroachdb#121362 cockroachdb#118680 introduced code to align the timeseries charts on the statement details page to the time range set by the time picker, instead of the time range that we had available data for. The code contained a bug where it would set the start & end of the XScale to `Moment.prototype.valueOf` instead of the result of *calling* `Moment.prototype.valueOf()`. This causes the start & end timestamps to be set to functions, instead of unix timestamps, which broke the charts. This PR simply invokes the function. Release note (bug fix): The timeseries graphs shown on the SQL Activity statement details page in DB Console will now render properly, after fixing a bug related to setting the time range of the charts.
Configuration menu - View commit details
-
Copy full SHA for 4b45206 - Browse repository at this point
Copy the full SHA 4b45206View commit details -
Merge pull request cockroachdb#121783 from abarganier/backport23.1.18…
…-rc-121366 release-23.1.18-rc: pkg/ui: properly derive XScale in statement details page
Configuration menu - View commit details
-
Copy full SHA for 38e06d5 - Browse repository at this point
Copy the full SHA 38e06d5View commit details -
Merge pull request cockroachdb#121787 from cockroachdb/blathers/backp…
…ort-release-23.1.18-rc-121746 release-23.1.18-rc: util/mon: add cluster setting for disabling monitor tree tracking
Configuration menu - View commit details
-
Copy full SHA for c0700bf - Browse repository at this point
Copy the full SHA c0700bfView commit details
Commits on Apr 6, 2024
-
sql: fix leak in memory accounting around TxnFingerprintIDCache
This commit is partial revert of 88ebd70. Until that change, we attempted to perform memory accounting for txn fingeprint IDs stored in the cache for each session, but we never initialized the bytes monitor, so it didn't actually count towards the root SQL memory budget. In that change, we derived an account from the "session" monitor to fix that. However, this exposed another problem with how accounting was done: namely, on `Cache.Add` call we always grow the account and on `Cache.OnEvicted` we shrink the account. The problem is that if the txn fingerprint ID already exists in the cache, we still call `Cache.Add` (growing the account) but we will never shrink it because we didn't add a new entry. As a result, until the session is closed, we'll keep on accumulating the leak. The fix in this commit is simple - just remove any attempt for memory accounting for this txn fingerprint ID cache. Effectively, this brings us back to the state of how we were before the change mentioned above (no accounting done) without the overhead of creating redundant BytesMonitor / BoundAccount objects (since they served no real purpose). Not having any accounting done for this cache seems acceptable given that the cache stores up to 100 txns (by default), and each txn results in about 56B of usage, so we'll have about 5KiB of unaccounted for (per session) memory usage. We have much larger omissions elsewhere, so for now I left a TODO to add memory accounting in the future. Release note (bug fix): CockroachDB could previously "leak" reported memory usage (as accounted by the internal memory accounting system, the limit for which is configured via --max-sql-memory flag) on long-running sessions that issue many (hundreds of thousands or more) transactions. This, in turn, could result in "root: memory budget exceeded" errors for other queries. The bug is present in versions 23.1.17 and 23.2.3 and is now fixed.
Configuration menu - View commit details
-
Copy full SHA for 356c2af - Browse repository at this point
Copy the full SHA 356c2afView commit details
Commits on Apr 8, 2024
-
Merge pull request cockroachdb#121874 from yuzefovich/backport23.1.18…
…-rc-121847 release-23.1.18-rc: sql: fix leak in memory accounting around TxnFingerprintIDCache
Configuration menu - View commit details
-
Copy full SHA for 84cf36a - Browse repository at this point
Copy the full SHA 84cf36aView commit details
Commits on Apr 11, 2024
-
merge release-23.1.18-rc to release-23.1: released CockroachDB versio…
…n 23.1.18. Next version: 23.1.19 Release note: None Epic: None Release justification: non-production (release infra) change.
Configuration menu - View commit details
-
Copy full SHA for f8bfcf4 - Browse repository at this point
Copy the full SHA f8bfcf4View commit details