Skip to content
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

Automate in place major upgrade for PostgreSQL #301

Merged
merged 195 commits into from
Aug 17, 2023
Merged

Automate in place major upgrade for PostgreSQL #301

merged 195 commits into from
Aug 17, 2023

Commits on Apr 12, 2023

  1. add upgrade role

    vitabaks committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    c0d6efc View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    1501115 View commit details
    Browse the repository at this point in the history
  2. fix no-jinja-when

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    97ed3a3 View commit details
    Browse the repository at this point in the history
  3. Update upgrade.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    d22fce4 View commit details
    Browse the repository at this point in the history
  4. Update upgrade_postgres.yml

    update TODO list
    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    9861fbe View commit details
    Browse the repository at this point in the history
  5. Update vars

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    71e3a92 View commit details
    Browse the repository at this point in the history
  6. Update update_config.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    a6dd6e9 View commit details
    Browse the repository at this point in the history
  7. Update update_config.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    8aecbdf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5d4ca13 View commit details
    Browse the repository at this point in the history
  9. Update statistics.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    3783bcf View commit details
    Browse the repository at this point in the history
  10. Update upgrade_postgres.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    7c31dee View commit details
    Browse the repository at this point in the history
  11. Configure SSH Key-Based Authentication between cluster nodes

    required for upgrade replicas with rsync
    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    0f62894 View commit details
    Browse the repository at this point in the history
  12. Update ssh-keys.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    8ecd3ad View commit details
    Browse the repository at this point in the history
  13. Update ssh-keys.yml

    vitabaks committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    3d6df52 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Update upgrade_postgres.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    e8e9e45 View commit details
    Browse the repository at this point in the history
  2. pre_checks: fix typo

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    250135d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e15bed5 View commit details
    Browse the repository at this point in the history
  4. Update upgrade_postgres.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    ad28077 View commit details
    Browse the repository at this point in the history
  5. ssh-keys: add become_user

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    fa1d45a View commit details
    Browse the repository at this point in the history
  6. Update ssh-keys.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    df7ee0d View commit details
    Browse the repository at this point in the history
  7. molecule: setup ssh service

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    21a56a5 View commit details
    Browse the repository at this point in the history
  8. Update converge.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    690e497 View commit details
    Browse the repository at this point in the history
  9. Update converge.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    20e3b9c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    368ca47 View commit details
    Browse the repository at this point in the history
  11. Update pre_checks.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2aae0b6 View commit details
    Browse the repository at this point in the history
  12. Update upgrade_check.yml

    vitabaks committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2ec51c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Update pre_checks.yml

    vitabaks committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    16586fc View commit details
    Browse the repository at this point in the history
  2. Update initdb.yml

    vitabaks committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    ea47923 View commit details
    Browse the repository at this point in the history
  3. Update initdb.yml

    vitabaks committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    2cf38c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Update upgrade_postgres.yml

    vitabaks committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    706de7e View commit details
    Browse the repository at this point in the history
  2. Update upgrade_postgres.yml

    vitabaks committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    a1bd8fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34030d6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89223f2 View commit details
    Browse the repository at this point in the history
  5. Update initdb.yml

    vitabaks committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    42d3cf5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    536ab70 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    72ab857 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    391f841 View commit details
    Browse the repository at this point in the history
  9. Update update_config.yml

    vitabaks committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    b520af3 View commit details
    Browse the repository at this point in the history
  10. Update upgrade_secondary.yml

    vitabaks committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    cc99e0b View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Update post_checks.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    3405ca3 View commit details
    Browse the repository at this point in the history
  2. Update update_config.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    703b976 View commit details
    Browse the repository at this point in the history
  3. Update upgrade_secondary.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    1168a6c View commit details
    Browse the repository at this point in the history
  4. Update post_checks.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    3a2917a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08432dc View commit details
    Browse the repository at this point in the history
  6. Update upgrade_check.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    676e180 View commit details
    Browse the repository at this point in the history
  7. Update post_checks.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    b660ff1 View commit details
    Browse the repository at this point in the history
  8. Update update_extensions.yml

    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    3d5c465 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b99db9f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5e4604d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a16ff6d View commit details
    Browse the repository at this point in the history
  12. update_extensions: Get list of installed PostgreSQL extensions

    and add 'ignore_errors' to show the error and continue the playbook execution
    vitabaks committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    b1513c0 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Configuration menu
    Copy the full SHA
    cf14bed View commit details
    Browse the repository at this point in the history
  2. post_checks: move task "Drop a table test_replication"

    Delete the test table before the error is processed, so that in case of an error, the table does not remain in the database.
    vitabaks committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    3edf149 View commit details
    Browse the repository at this point in the history
  3. Revert "Update schema_compatibility.yml"

    This reverts commit cf14bed.
    vitabaks committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    51d0b1b View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    96d7f7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba837ae View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Update initdb.yml

    vitabaks committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    a6b7e92 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Update upgrade_postgres.yml

    vitabaks committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    c3e0a82 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Update pre_checks.yml

    vitabaks committed May 1, 2023
    Configuration menu
    Copy the full SHA
    ebf9c5f View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. pre_checks: Make sure the ansible required Python library is installed

    "pexpect" required to perform the dcs_remove_cluster.yml
    vitabaks committed May 2, 2023
    Configuration menu
    Copy the full SHA
    5ab95cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3668246 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a27f6ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce47380 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77cc29d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    87d6801 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Configuration menu
    Copy the full SHA
    d2b4c71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4ede3f View commit details
    Browse the repository at this point in the history
  3. pre_checks: Test PostgreSQL database access using a unix socket

    if 'no pg_hba.conf entry'
    
    Add a temporary local access rule for pg_upgrade to allow the upgrade process to proceed without authentication issues.
    The rule grants the specified PostgreSQL user ("postgres") peer-based access to all databases locally.
    This is necessary to ensure a smooth upgrade process and will be removed after the upgrade is complete.
    vitabaks committed May 3, 2023
    Configuration menu
    Copy the full SHA
    6d64fd5 View commit details
    Browse the repository at this point in the history
  4. Add Post-Upgrade tasks

    vitabaks committed May 3, 2023
    Configuration menu
    Copy the full SHA
    8cece0e View commit details
    Browse the repository at this point in the history
  5. post_upgrade: fix yamllint warning

    fixed:
    [trailing-spaces] trailing spaces
    vitabaks committed May 3, 2023
    Configuration menu
    Copy the full SHA
    094136e View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Configuration menu
    Copy the full SHA
    ff02556 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Update upgrade.yml

    vitabaks committed May 11, 2023
    Configuration menu
    Copy the full SHA
    e12fe4b View commit details
    Browse the repository at this point in the history
  2. Ad pg_new_packages variable

    vitabaks committed May 11, 2023
    Configuration menu
    Copy the full SHA
    f41942c View commit details
    Browse the repository at this point in the history
  3. Update upgrade.yml

    vitabaks committed May 11, 2023
    Configuration menu
    Copy the full SHA
    5bd3577 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c058114 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    a8fc7bc View commit details
    Browse the repository at this point in the history
  2. molecule: Delete "/run/nologin" file (if exists)

    to prevent test failures in CI.
    
    Fixed:
      failed: [10.172.0.20] (item=10.172.0.22) => {"ansible_loop_var": "item", "changed": true, "cmd": "rsync -e \"ssh -o StrictHostKeyChecking=no\" --archive --delete --hard-links --size-only --no-inc-recursive --omit-dir-times /tmp/testrsync 10.172.0.22:/tmp/\n", "delta": "0:00:00.106121", "end": "2023-05-12 12:46:59.921732", "item": "10.172.0.22", "msg": "non-zero return code", "rc": 255, "start": "2023-05-12 12:46:59.815611", "stderr": "\"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8).\"\nConnection closed by 10.172.0.22 port 22\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]", "stderr_lines": ["\"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8).\"", "Connection closed by 10.172.0.22 port 22", "rsync: connection unexpectedly closed (0 bytes received so far) [sender]", "rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]"], "stdout": "", "stdout_lines": []}
    
      TASK [upgrade : [Pre-Check] Rsync Checks: test rsync and ssh key access] *******
    vitabaks committed May 12, 2023
    Configuration menu
    Copy the full SHA
    6ff228d View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Configuration menu
    Copy the full SHA
    7e4fe31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e692e2f View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    3504430 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a6f8ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a925f1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da0be23 View commit details
    Browse the repository at this point in the history
  5. Update upgrade_check.yml

    vitabaks committed May 25, 2023
    Configuration menu
    Copy the full SHA
    954b139 View commit details
    Browse the repository at this point in the history
  6. Update upgrade_primary.yml

    vitabaks committed May 25, 2023
    Configuration menu
    Copy the full SHA
    5ff1026 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    56eaef6 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Add become_user for task "Make sure new PostgreSQL data directory "{{…

    … pg_new_datadir }}" exists"
    
    Fixed:
    
    TASK [upgrade : Make sure new PostgreSQL data directory "/pgdata/14/main/" exists] ***
    changed: [172.30.58.33]
    changed: [172.30.58.30]
    changed: [172.30.58.34]
    fatal: [172.30.58.36]: FAILED! => {"changed": false, "msg": "There was an issue creating /pgdata/14 as requested: [Errno 13] Permission denied: '/pgdata/14'", "path": "/pgdata/14/main/"}
    vitabaks committed May 30, 2023
    Configuration menu
    Copy the full SHA
    726de42 View commit details
    Browse the repository at this point in the history
  2. schema_compatibility: Get the current cron.database_name settings

    Fixed:
    
    ERROR:  can only create extension in database postgres
    DETAIL:  Jobs must be scheduled from the database configured in cron.database_name, since the pg_cron background worker reads job descriptions from this database.
    HINT:  Add cron.database_name = 'sms' in postgresql.conf to use the current database.
    vitabaks committed May 30, 2023
    Configuration menu
    Copy the full SHA
    a416d7b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf26744 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Update upgrade_postgres.yml

    vitabaks committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    632b104 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Configuration menu
    Copy the full SHA
    9439420 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fd4aa4 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    b77750f View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    9c42889 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99617b6 View commit details
    Browse the repository at this point in the history
  3. Update postgres.yml

    vitabaks committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    b0b1e94 View commit details
    Browse the repository at this point in the history
  4. Update replication.yml

    vitabaks committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    61c1d8d View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Configuration menu
    Copy the full SHA
    e8b2713 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0a9c62 View commit details
    Browse the repository at this point in the history
  3. Update converge.yml

    vitabaks committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    f9bd92d View commit details
    Browse the repository at this point in the history
  4. Update molecule.yml

    vitabaks committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    fc0c41b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c83b36 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    d4460f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bcd5cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53d22dc View commit details
    Browse the repository at this point in the history
  4. Parallelize PostgreSQL upgrade on replicas using RSync

    This commit introduces a performance improvement to the task "Upgrade the PostgreSQL on the Replica (using rsync --hard-links)" by parallelizing the rsync operation using 'xargs'.
    
    By executing rsync in parallel on multiple secondary servers, we can significantly reduce the time required to upgrade PostgreSQL on the replicas.
    
    The updated code should ensure that the PostgreSQL update task is performed using rsync in asynchronous mode and wait for it to complete to make sure that the update was completed successfully.
    vitabaks committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    fe7acc0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9c3860 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    f5ef2cd View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. Configuration menu
    Copy the full SHA
    cdd6fe2 View commit details
    Browse the repository at this point in the history
  2. Update upgrade_postgres.yml

    vitabaks committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    3646f55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ac6165 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Update statistics.yml

    vitabaks committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    e43d855 View commit details
    Browse the repository at this point in the history
  2. Update update_config.yml

    vitabaks committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    ddcdeec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1425f8 View commit details
    Browse the repository at this point in the history
  4. Remove old PostgreSQL packages

    if pg_old_packages_remove is true
    vitabaks committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    a146a27 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Upgrade pgbackrest stanza

    vitabaks committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    aea6e7f View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    9e76371 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Configuration menu
    Copy the full SHA
    969b3d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae386b3 View commit details
    Browse the repository at this point in the history
  3. Update upgrade_postgres.yml

    vitabaks committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    8bb25c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3bea93 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Ensure ‘Latest checkpoint location’ matches on all cluster nodes befo…

    …re upgrade
    
    This commit introduces tasks to verify the consistency of the "Latest checkpoint location" across all servers in the PostgreSQL cluster before proceeding with the upgrade procedure.
    
     If the checkpoint location matches on all nodes, the playbook continues with the upgrade procedure. However, if there is a mismatch, indicating potential data inconsistency, the previously stopped cluster is started, and the playbook stopped with an error.
    
    This ensures that the upgrade is performed only when the cluster is in a consistent state, minimizing the risk of data corruption when using rsync with the --size-only option.
    
    - Added pause for patroni cluster (for the possibility of stopping the leader first
    - Replaced the order of stopping databases (first the leader then the replicas)
    - Perform the stopping only if there is no replication lag
    - Added 'Latest checkpoint location' check on all cluster servers after database shutdown
    vitabaks committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    0fc59df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4c8ef8 View commit details
    Browse the repository at this point in the history
  3. Update comment

    vitabaks committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    d61f8fa View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    a367e75 View commit details
    Browse the repository at this point in the history
  2. Update stop_services.yml

    vitabaks committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    b4ae3d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    88dfb06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad1ac4a View commit details
    Browse the repository at this point in the history
  3. Update ssh-keys.yml

    vitabaks committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    636c833 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Add rollback.yml

    vitabaks committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    57646f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. Configuration menu
    Copy the full SHA
    620cc59 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Fix jinja[spacing]

    vitabaks authored Jul 16, 2023
    Configuration menu
    Copy the full SHA
    3783405 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    d41229f View commit details
    Browse the repository at this point in the history
  2. Update rollback.yml

    vitabaks committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e61a26f View commit details
    Browse the repository at this point in the history
  3. Add pg_upgrade_rollback.yml

    vitabaks committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    2a38184 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Get the current install user

    Implemented retrieval of PostgreSQL instance owner for scenarios when the instance was created with a user different from the default 'postgres' user. This user is subsequently used to execute the 'initdb' command.
    vitabaks committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    34a2626 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8a61b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    247545e View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    db1266f View commit details
    Browse the repository at this point in the history
  2. Update rollback.yml

    vitabaks committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    fbd0027 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    916c4e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f94842 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    46763a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    fdc0b45 View commit details
    Browse the repository at this point in the history
  2. Update converge.yml

    vitabaks committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    88ea118 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    346496b View commit details
    Browse the repository at this point in the history
  2. Update converge.yml

    vitabaks committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    cca38b8 View commit details
    Browse the repository at this point in the history
  3. Update post_upgrade.yml

    vitabaks committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    a3d0781 View commit details
    Browse the repository at this point in the history
  4. Update custom_wal_dir.yml

    vitabaks committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    b516f35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4fffbb5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dc30653 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da4c758 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    679bc09 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    0d1c3cb View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Update query for task: Wait until replication lag is 0 bytes

    returns 1 if the query returned null (i.e. there is no active replication)
    vitabaks committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    23e92bf View commit details
    Browse the repository at this point in the history
  2. Update pg_upgrade.yml

    vitabaks committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    777fb07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    327ff99 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Configuration menu
    Copy the full SHA
    a9eecb0 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Copy any files located in the "files" directory to all servers

    useful when using custom Postgres Full-Text Search (FTS) configuration files.
    vitabaks committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    34f014a View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. PAUSE PgBouncer pools

    vitabaks committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    b0dbe75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c42ed03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fff23c View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. HAProxy maintenance mode

    if 'pgbouncer_install' is 'true' and 'pgbouncer_pool_pause' is 'true'
    
    We temporarily disable http-checks in order to keep database connections after stopping the Patroni service and then pause the pgbouncer pools.
    vitabaks committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    d76e6a4 View commit details
    Browse the repository at this point in the history
  2. Update stop_services.yml

    vitabaks committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    fe273e8 View commit details
    Browse the repository at this point in the history
  3. Update upgrade.yml

    vitabaks committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    697f577 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c8801ae View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Update pgbouncer_pause.yml

    vitabaks committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    4e91a4f View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Update pgbouncer_pause.yml

    vitabaks committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8a99970 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    081896e View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. pgbouncer_pause: more info about terminated queries

    write to pgbouncer_pool_pause.log information about queries that were terminated (after 30 seconds of waiting).
    vitabaks committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    804fee6 View commit details
    Browse the repository at this point in the history
  2. Enhance playbook compatibility with multiple PostgreSQL versions

    - Add separate tasks for PostgreSQL 9.x and 10+ versions.
    - Implement additional pre-checks to ensure smooth operations.
    - Refactor tasks to improve readability and maintainability.
    vitabaks committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    2b91495 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    566dde9 View commit details
    Browse the repository at this point in the history
  4. Update rollback tasks name

    vitabaks committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    d42b11c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    47b6f16 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Configuration menu
    Copy the full SHA
    32c8776 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Configuration menu
    Copy the full SHA
    121ee9d View commit details
    Browse the repository at this point in the history
  2. Update upgrade.yml

    vitabaks committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6e30953 View commit details
    Browse the repository at this point in the history
  3. Create README.md

    vitabaks committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b50826b View commit details
    Browse the repository at this point in the history
  4. Update README.md

    vitabaks committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d744a24 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. README: Add step 5

    vitabaks committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    57121bc View commit details
    Browse the repository at this point in the history
  2. README: Add step 6 and 7

    vitabaks committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b0a4861 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    vitabaks committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    679c353 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae9b280 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb4b030 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Update pre_checks.yml

    vitabaks committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    013bb7f View commit details
    Browse the repository at this point in the history
  2. Update pg_upgrade.yml

    vitabaks committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    9107750 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6611035 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d80ce2 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. README: Add recommendations

    vitabaks committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    cba97d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae10d01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    351a735 View commit details
    Browse the repository at this point in the history
  4. update the project's README

    vitabaks authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ae8f9b1 View commit details
    Browse the repository at this point in the history
  5. Describe Rollback

    vitabaks committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3991206 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f4865fb View commit details
    Browse the repository at this point in the history
  7. fix [empty-lines]

    vitabaks committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4f41a7d View commit details
    Browse the repository at this point in the history