Release Notes for CockroachDB v19.1.3 and 2.1.8

What's New in v19.13 and v2.1.8

July 15, 2019

This week, we have two releases that included bug fixes, security improvements and docs updates:

CockroachDB v19.1.3

Bug fixes

  • Fixed help text that erroneously labeled Encryption at Rest as experimental. #38237
  • Fixed an incorrect type mismatch error when empty ARRAY values are used as DEFAULT values (and potentially in other contexts). #38300
  • Fixed a panic that could occur when decoding decimals as query parameters. #38330
  • NULLs are now correctly handled by MIN, SUM, and AVG when used as window functions. #38356
  • Fixed an issue that prevented restoring some backups if they included tables that were partitioned by columns of a certain types while also interleaved by child tables. #38494
  • Fixed possible deadlock when storage engine write fails. #38478
  • Fixed potential reappearance of deleted timeseries data, which could trip the consistency checker. #38478
  • Removed dependency on sync_file_range on Linux platforms on which it returns ENOSYS, such as WSL (Windows Subsystem for Linux). #38478
  • Nodes that have been down now recover quicker when they rejoin, assuming they weren't down for much more than the value of the server.time_until_store_dead cluster setting (which defaults to 5 minutes). #38642
  • Checking the "skip should queue" checkbox in the Manual Enqueue Range advanced debuggging page now works for the GC Queue. #38296
  • The YCSB workload no longer ignores the --dboption. #38238
  • Fixed the auto-retry counter in stats and now logs it in the statement/audit logs. #38035

Security improvements

  • Only check CommonName on first certificate in file. #38165

Doc updates

Contributors

This release includes 17 merged PRs by 14 authors.


CockroachDB v2.1.8

Bug fixes

  • Fixed crashes when trying to run certain SHOW commands via the pgwire prepare path. #37891
  • Fixed a rare crash ("close of closed channel") that would occur when shutting down a server. #37893
  • Previously, due to a bug when estimating result set sizes in the Optimizer, queries involving large INT ranges could result in poor plans being generated. #38039
  • NULLs are now correctly handled by MIN, SUM, and AVG when used as window functions. #38357
  • Prevented a possible missing row from queries that involved iterator reuse and seeking into the gap between stables bridged by a range tombstone. #37694

Security improvements

  • Only check CommonName on first certificate in file. #38166
  • Stack memory used by CockroachDB is now marked as non-executable, improving security and compatibility with SELinux. #38134

Contributors

This release includes 12 merged PRs by 11 authors.