Skip to content

Commit

Permalink
Release 2.17.2 -- main branch (#7421)
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm authored Nov 7, 2024
1 parent 0b5017e commit 98780f7
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 8 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/pr-approvals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,23 @@ jobs:
env:
BODY: ${{ github.event.pull_request.body }}
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_NUMBER: ${{ github.event.number }}
run: |
echo "Event is: "
cat <<EOF
${{ toJSON(github.event) }}
EOF
echo "PR number is $PR_NUMBER"
echo "$BODY" | egrep -qsi '^disable-check:.*\<approval-count\>'
if [[ $? -ne 0 ]]; then
# Get the list of modified files in this pull request
echo "Modified files: "
gh pr view $PR_NUMBER --json files
files=$(gh pr view $PR_NUMBER --json files --jq '.files.[].path | select(startswith(".github") | not)')
# Get the number of approvals in this pull request
echo "Reviews: "
gh pr view $PR_NUMBER --json reviews
approvals=$(gh pr view $PR_NUMBER --json reviews --jq '[.reviews.[] | select((.authorAssociation == "MEMBER" or .authorAssociation == "CONTRIBUTOR") and .state == "APPROVED")] | length')
if [[ $approvals -lt 2 ]] && [[ "${files}" ]] ; then
Expand Down
2 changes: 0 additions & 2 deletions .unreleased/pr_7399

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/segmentby-grouping-uaf

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
accidentally triggering the load of a previous DB version.**

## 2.17.2 (2024-11-06)

This release contains bug fixes since the 2.17.1 release. We recommend that you
upgrade at the next available opportunity.

**Bugfixes**
* #7384 Fix "negative bitmapset member not allowed" and performance degradation
on queries to compressed tables with ORDER BY clause matching the order of the
compressed data
* #7388 Use-after-free in vectorized grouping by segmentby columns

**Thanks**
* @dx034 for reporting an issue with negative bitmapset members due to large OIDs

## 2.17.1 (2024-10-21)

This release contains performance improvements and bug fixes since
Expand Down
6 changes: 4 additions & 2 deletions sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ set(MOD_FILES
updates/2.15.3--2.16.0.sql
updates/2.16.0--2.16.1.sql
updates/2.16.1--2.17.0.sql
updates/2.17.0--2.17.1.sql)
updates/2.17.0--2.17.1.sql
updates/2.17.1--2.17.2.sql)

# The downgrade file to generate a downgrade script for the current version, as
# specified in version.config
Expand Down Expand Up @@ -88,7 +89,8 @@ set(OLD_REV_FILES
2.16.0--2.15.3.sql
2.16.1--2.16.0.sql
2.17.0--2.16.1.sql
2.17.1--2.17.0.sql)
2.17.1--2.17.0.sql
2.17.2--2.17.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
Empty file added sql/updates/2.17.1--2.17.2.sql
Empty file.
Empty file added sql/updates/2.17.2--2.17.1.sql
Empty file.
4 changes: 2 additions & 2 deletions version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.18.0-dev
update_from_version = 2.17.1
downgrade_to_version = 2.17.1
update_from_version = 2.17.2
downgrade_to_version = 2.17.2

0 comments on commit 98780f7

Please sign in to comment.