Skip to content

Commit

Permalink
Release 10.2 (#1014)
Browse files Browse the repository at this point in the history
* Bump version

* Talha says to run the pg_upgrade functions on all nodes
  • Loading branch information
jonels-msft committed Sep 17, 2021
1 parent 688b050 commit 2fbb3b7
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions admin_guide/upgrading_citus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ Upgrading the Citus version requires first obtaining the new Citus extension and
Patch Version Upgrade
---------------------

To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 10.1 is currently installed on Postgres 13:
To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 10.2 is currently installed on Postgres 13:

**Ubuntu or Debian**

.. code-block:: bash
sudo apt-get update
sudo apt-get install --only-upgrade postgresql-13-citus-10.1
sudo apt-get install --only-upgrade postgresql-13-citus-10.2
sudo service postgresql restart
**Fedora, CentOS, or Red Hat**

.. code-block:: bash
sudo yum update citus101_13
sudo yum update citus102_13
sudo service postgresql-13 restart
.. _major_minor_upgrade:
Expand All @@ -46,22 +46,22 @@ Each major and minor version of Citus is published as a package with a separate
Step 1. Update Citus Package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 9.5 to 10.1
If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 9.5 to 10.2

**Ubuntu or Debian**

.. code-block:: bash
sudo apt-get update
sudo apt-get install postgresql-12-citus-10.1
sudo apt-get install postgresql-12-citus-10.2
sudo service postgresql restart
**Fedora, CentOS, or Red Hat**

.. code-block:: bash
# Fedora, CentOS, or Red Hat
sudo yum swap citus95_12 citus101_12
sudo yum swap citus95_12 citus102_12
sudo service postgresql-12 restart
Step 2. Apply Update in DB
Expand Down Expand Up @@ -120,7 +120,7 @@ For Every Node

.. code-block:: postgres
-- this step for the coordinator node only, not workers
-- run this on the coordinator and worker nodes
SELECT citus_prepare_pg_upgrade();
Expand Down Expand Up @@ -165,6 +165,6 @@ For Every Node

.. code-block:: postgres
-- this step for the coordinator node only, not workers
-- run this on the coordinator and worker nodes
SELECT citus_finish_pg_upgrade();
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = '10.1'
version = '10.2'
# The full version, including alpha/beta/rc tags.
release = '10.1'
release = '10.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
8 changes: 4 additions & 4 deletions extra/enterprise-ms-sku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ Debian/Ubuntu
.. code:: bash
sudo apt-get update
# Change to postgresql-12-citus-enterprise-10.1 if you want to install Citus for
# Change to postgresql-12-citus-enterprise-10.2 if you want to install Citus for
# PostgreSQL 12
sudo apt-get install -y postgresql-13-citus-enterprise-10.1
sudo apt-get install -y postgresql-13-citus-enterprise-10.2
Redhat/CentOS
~~~~~~~~~~~~~
Expand All @@ -153,8 +153,8 @@ remove the old package
.. code:: bash
# Change to citus-enterprise101_12 for PostgreSQL 12)
sudo yum install -y citus-enterprise101_13
# Change to citus-enterprise102_12 for PostgreSQL 12)
sudo yum install -y citus-enterprise102_13
.. _sku_setup:
Expand Down
8 changes: 4 additions & 4 deletions extra/enterprise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Ubuntu or Debian with Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# install the server and initialize db
sudo apt-get install -y postgresql-13-citus-enterprise-10.1
sudo apt-get install -y postgresql-13-citus-enterprise-10.2
# preload citus extension
sudo pg_conftool 13 main set shared_preload_libraries citus
Expand All @@ -46,7 +46,7 @@ Ubuntu or Debian without Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
sudo apt-get clean
sudo apt-get install -y --download-only postgresql-13-citus-enterprise-10.1
sudo apt-get install -y --download-only postgresql-13-citus-enterprise-10.2
# go to package downloads
cd /var/cache/apt
Expand Down Expand Up @@ -88,7 +88,7 @@ Fedora, CentOS, or Red Hat with Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# install PostgreSQL with Citus extension
sudo yum install -y citus-enterprise101_13
sudo yum install -y citus-enterprise102_13
# initialize system database (using RHEL 6 vs 7 method as necessary)
sudo service postgresql-13 initdb || \
Expand All @@ -113,7 +113,7 @@ Fedora, CentOS, or Red Hat without Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# get package
sudo yum install --downloadonly --downloaddir=. citus-enterprise101_13
sudo yum install --downloadonly --downloaddir=. citus-enterprise102_13
# put them into a tarball
tar czf ~/citus-enterprise.tar.gz *.rpm
Expand Down
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Citus Documentation
===================

Welcome to the documentation for Citus 10.1! Citus is an open source extension
Welcome to the documentation for Citus 10.2! Citus is an open source extension
to PostgreSQL that transforms Postgres into a distributed database. To scale
out Postgres horizontally, Citus employs distributed tables, reference tables,
and a distributed SQL query engine. The query engine parallelizes SQL queries
Expand Down
2 changes: 1 addition & 1 deletion installation/multi_node_debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Steps to be executed on all nodes
::

# install the server and initialize db
sudo apt-get -y install postgresql-13-citus-10.1
sudo apt-get -y install postgresql-13-citus-10.2

# preload citus extension
sudo pg_conftool 13 main set shared_preload_libraries citus
Expand Down
2 changes: 1 addition & 1 deletion installation/multi_node_rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Steps to be executed on all nodes
::

# install PostgreSQL with Citus extension
sudo yum install -y citus101_13
sudo yum install -y citus102_13
# initialize system database (using RHEL 6 vs 7 method as necessary)
sudo service postgresql-13 initdb || sudo /usr/pgsql-13/bin/postgresql-13-setup initdb
# preload citus extension
Expand Down
2 changes: 1 addition & 1 deletion installation/single_node_debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This section describes the steps needed to set up a single-node Citus cluster on
curl https://install.citusdata.com/community/deb.sh | sudo bash
# install the server and initialize db
sudo apt-get -y install postgresql-13-citus-10.1
sudo apt-get -y install postgresql-13-citus-10.2
.. _post_install:
Expand Down
2 changes: 1 addition & 1 deletion installation/single_node_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can start Citus in Docker with one command:
# start the image
docker run -d --name citus -p 5432:5432 -e POSTGRES_PASSWORD=mypass \
citusdata/citus:10.1
citusdata/citus:10.2
# verify it's running, and that Citus is installed:
psql -U postgres -h localhost -d postgres -c "SELECT * FROM citus_version();"
Expand Down
2 changes: 1 addition & 1 deletion installation/single_node_rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This section describes the steps needed to set up a single-node Citus cluster on
curl https://install.citusdata.com/community/rpm.sh | sudo bash
# install Citus extension
sudo yum install -y citus101_13
sudo yum install -y citus102_13
.. _post_install:

Expand Down

0 comments on commit 2fbb3b7

Please sign in to comment.