# \[RELEASE\] ScyllaDB 5.0.9

**URL:** <https://forum.scylladb.com/t/release-scylladb-5-0-9/266>\
**Category:** Release Notes\
**Tags:** open-source, open-source-release, open-source-5-0\
**Created:** [January 19, 2023, 10:56am UTC](https://forum.scylladb.com/t/release-scylladb-5-0-9/266 "2023-01-19T10:56:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tzach](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/tzach/32/172_2.png) [@tzach](https://forum.scylladb.com/u/tzach)\
**Post date:** [January 19, 2023, 10:56am UTC](https://forum.scylladb.com/t/release-scylladb-5-0-9/266/1 "2023-01-19T10:56:23Z")

</div>

The ScyllaDB team announces ScyllaDB Open Source 5.0.9, a bugfix release of the ScyllaDB [5.0](https://www.scylladb.com/product/release-notes/scylladb-open-source-5-0/) stable branch. Like all past and future 5.x.y releases, it is backward compatible and supports[rolling upgrades](https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-4.x.y-to-4.x.z/).

Note that the latest stable branch of [ScyllaDB is 5.1](https://forum.scylladb.com/t/release-scylla-5-1-0-part-1/126), and you are encouraged to upgrade.

Related links:

- [ScyllaDB Open Source 5.0](https://www.scylladb.com/product/release-notes/scylladb-open-source-5-0/)
- [Get ScyllaDB Open Source](https://www.scylladb.com/download/open-source/) - AWS AMI, GCP Docker, binary packages and unified installer
- [ScyllaDB Web Installer for Linux](https://docs.scylladb.com/stable/getting-started/install-scylla/scylla-web-installer.html) (all releases)
- [Upgrade from ScyllaDB Open Source 5.x.y to Scylla Open Source 5.x.z](https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-5.x.y-to-5.x.z/)
- [Upgrade from ScyllaDB Open Source 4.6.x to 5.0.y](https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-4.5-to-4.6/)
- Please[let us know](https://github.com/scylladb/scylla/issues) if you encounter any problems.

Issues fixed in this release:

- CQL: Different token calculation functions for “empty” partition keys cause sstable reader to misuse index [#9352](https://github.com/scylladb/scylladb/issues/9352)
- CQL: Wrong validation of blobs in INSERT JSON [#10114](https://github.com/scylladb/scylladb/issues/10114)
- CQL: batch statements, inserting a row with a null key column should be forbidden [#12060](https://github.com/scylladb/scylladb/issues/12060)
- CQL: Deleting a long base partition may leave some undeleted materialized view rows [#12297](https://github.com/scylladb/scylladb/issues/12297)
- CQL: in Scylla, returning incomplete results when using paging [#12361](https://github.com/scylladb/scylladb/issues/12361) (introduced in 5.1.0 and 5.07). The issue manifests only in specific circumstances: when a page starts with a dead row. This page (and consequently the query) will be wrongfully terminated immediately. In 5.1 this has to be a row covered by the partition tombstone.
- CQL mutation::consume doesn’t emit a closing range\_tombstone\_change if the highest tombstone is open ended. In a rare use case, this can lead to missing data in the result. [#10316](https://github.com/scylladb/scylladb/issues/10316)
- Stability: Memtable(s) are not flushed when cleaning up a table, leaving disowned tokens in the memtable, which might be resurrected.[#1239](https://github.com/scylladb/scylladb/issues/1239)
- Stability: A crash in Scylla memory management code, triggered by index file caching, [was fixed](https://github.com/scylladb/scylla/commit/7038dc7003ac64d393eb3f19da38c04cfab966a8). The bug was caused by an allocation from within the memory allocator, causing cache eviction to free memory. Freeing the evicted items re-enters the memory allocator in a way that was not expected by the code. Fixes [#9573](https://github.com/scylladb/scylla/issues/9573)
- Stability: preemption pitfall around waiting for readmission (found is fuzzy tests) [#10187](https://github.com/scylladb/scylladb/issues/10187)
- Stability: Gossip now uses [a better source](https://github.com/scylladb/scylladb/commit/16bd9ec8b1b890fd03618c80e3528028db96fc7a) to get live node information for truncate, reducing false failures of the TRUNCATE operation. [#10296](https://github.com/scylladb/scylladb/issues/10296), [#11928](https://github.com/scylladb/scylladb/issues/11928)
- Stability: During rebuild on asymmetric cluster several aborts and coredump happened [#11923](https://github.com/scylladb/scylladb/issues/11923) (introduced by the fix for #11770 above)
- Init: scylla\_setup “provisioning in a similar environment” message is missing a value for --online-discard parameter [#11700](https://github.com/scylladb/scylladb/issues/11700)
- Stability: reader\_concurrency\_semaphore: inactive readers are only evicted on the admission path [#11770](https://github.com/scylladb/scylladb/issues/11770)
- performance: parsers are compiled without inlining, even in release mode [#12463](https://github.com/scylladb/scylladb/issues/12463)
