v2.0.1 release notes

Released October 08, 2019.

Downloads

Binaries

Docker

  1. docker pull yugabytedb/yugabyte:2.0.1.0-b19

YSQL changes

  • [YSQL] Allow ALTER COLUMN add/set/drop identity.#2226
  • [YSQL] PostgreSQL error code handling to avoid string-based error comparisons.#1289
  • [YSQL] Fix duplicate key error being suppressed in COPY.#2289
  • [YSQL] VERIFY_RESULT creates undesirable copy of Result’s value.#2298
  • [YSQL] Warn on non-txn COPY with incompatible relation.#2278
  • [YSQL] PostgreSQL error code handling to avoid string-based error comparisons.#1289
  • [YSQL] Aggregate pushdowns in YSQL.#1851
  • [YSQL] Skip dropped columns when iterating through the columns for UPDATE statement.#1969
  • [YSQL] Use keyspace id instead of name in requests from yb-admin to catalog_manager.#1476
  • [YSQL] Fix insert into temp table in function body assertion error.#1541
  • [YSQL] Fix memory leak in psql. #2388
  • [YSQL] Add default password for yugabyte user.#2465

YCQL changes

  • [YCQL] Fixed permission check for DROP TYPE.#2373
  • [YCQL] Fix for ‘value too long’ error code mapping.#2116
  • [YCQL] ‘expression not yet supported’ error for old-format index update.#2470

System improvements

  • Do not retry flush/compact async tasks.#2229
  • Make yb-admin log an error message instead of fatal-ing on failed init.#2141
  • Propagate timeout to transaction. #2334
  • Warn on non-txn COPY with incompatible relation.#2278
  • [2DC] Add Exponential Backoff to CDC Consumer.#2362
  • Add support for cotable id in EnumerateIntents (needed for transactional DDL).#1404
  • TServer blacklisting for leadership role.#1748
  • Avoid unnecessary RocksDB lookup when we have multiple ops to one tablet.#2186
  • [2DC] Reduce checkpoint frequency, avoid self looping in CDC producer, apply polling delaycorrectly. #2364
  • Request intents cleanup even on failed replicas.#2411
  • Add number of sst files to tables and tablets pages for tserver.#2230
  • Fix role and term cache. #2267
  • yb-admin add RF to add_read_replicas. #2395
  • [2DC] Fix transaction status and record handling in CDC producer/consumer.#2386
  • Handle concurrent shutdown and remote bootstrap.#2428
  • [CDC] Fix bug in condition check for tablet leader.#2449
  • Fix remote bootstrap for encryption at rest.#2462
  • Implement dynamic priorities for compaction tasks.#2004
  • [2DC] Update checkpoint for replicated records, ignore tablet status while looking up peer.#2487
  • [2DC] yb-admin command to pause/resume replication.#2367

Note on upgrades from pre 2.0 releases

NoteVersion 2.0 release includes a backward incompatible file format change for YSQL. Note: Prior to 2.0, YSQL was still in beta. This means that if you have an existing cluster running releases older than 2.0 with YSQL enabled, then you will not be able to upgrade to version 2.0 or higher release.

There are two ways to address the above note.

  • If you don’t care about preserving your existing data, then delete your cluster, and create a newcluster with 2.0.x.x
  • If you want to continue using your existing data, then please save your data,delete the cluster, create a new cluster with 2.0.x.x and then load the previously saved data.