Skip to content

Commit ce2bf29

Browse files
committed
v2.17: C Migrations and Bug Fixes
Bug Fixes: * Improve slow manifest build for very large quantities of tables/segments. (Reported by Jens Wilke.) * Fix exclusions for special files. (Reported by CluelessTechnologist, Janis Puris, Rachid Broum.) Improvements: * The stanza-create/update/delete commands are implemented entirely in C. (Contributed by Cynthia Shang.) * The start/stop commands are implemented entirely in C. (Contributed by Cynthia Shang.) * Create log directories/files with 0750/0640 mode. (Suggested by Damiano Albani.) Documentation Bug Fixes: * Fix yum.p.o package being installed when custom package specified. (Reported by Joe Ayers, John Harvey.) Documentation Improvements: * Build pgBackRest as an unprivileged user. (Suggested by Laurenz Albe.)
1 parent 0b5720c commit ce2bf29

File tree

13 files changed

+1234
-816
lines changed

13 files changed

+1234
-816
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
pgBackRest aims to be a simple, reliable backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algorithms that are optimized for database-specific requirements.
66

7-
pgBackRest [v2.16](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.16) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
7+
pgBackRest [v2.17](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.17) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
88

99
Documentation for v1 can be found [here](http://www.pgbackrest.org/1). No further releases are planned for v1 because v2 is backward-compatible with v1 options and repositories.
1010

doc/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test/test.pl --code-count
3939
## Commit release branch and push to CI for testing
4040
```
4141
git commit -m "Release test"
42-
git push release-ci
42+
git push origin release-ci
4343
```
4444

4545
## Clone web documentation into `doc/site`

doc/resource/exe.cache

Lines changed: 785 additions & 747 deletions
Large diffs are not rendered by default.

doc/resource/git-history.cache

Lines changed: 310 additions & 0 deletions
Large diffs are not rendered by default.

doc/xml/auto/metric-coverage-report.auto.xml

Lines changed: 47 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@
2828

2929
<table-row>
3030
<table-cell>command/backup</table-cell>
31-
<table-cell>9/9 (100.0%)</table-cell>
32-
<table-cell>108/108 (100.0%)</table-cell>
33-
<table-cell>259/259 (100.0%)</table-cell>
31+
<table-cell>11/11 (100.0%)</table-cell>
32+
<table-cell>114/114 (100.0%)</table-cell>
33+
<table-cell>289/289 (100.0%)</table-cell>
3434
</table-row>
3535

3636
<table-row>
3737
<table-cell>command/check</table-cell>
38-
<table-cell>1/1 (100.0%)</table-cell>
39-
<table-cell>4/4 (100.0%)</table-cell>
40-
<table-cell>20/20 (100.0%)</table-cell>
38+
<table-cell>2/2 (100.0%)</table-cell>
39+
<table-cell>8/8 (100.0%)</table-cell>
40+
<table-cell>34/34 (100.0%)</table-cell>
4141
</table-row>
4242

4343
<table-row>
4444
<table-cell>command/control</table-cell>
45-
<table-cell>2/2 (100.0%)</table-cell>
46-
<table-cell>8/8 (100.0%)</table-cell>
47-
<table-cell>17/17 (100.0%)</table-cell>
45+
<table-cell>4/4 (100.0%)</table-cell>
46+
<table-cell>34/34 (100.0%)</table-cell>
47+
<table-cell>63/63 (100.0%)</table-cell>
4848
</table-row>
4949

5050
<table-row>
@@ -89,6 +89,13 @@
8989
<table-cell>80/80 (100.0%)</table-cell>
9090
</table-row>
9191

92+
<table-row>
93+
<table-cell>command/stanza</table-cell>
94+
<table-cell>8/8 (100.0%)</table-cell>
95+
<table-cell>114/114 (100.0%)</table-cell>
96+
<table-cell>175/175 (100.0%)</table-cell>
97+
</table-row>
98+
9299
<table-row>
93100
<table-cell>command/storage</table-cell>
94101
<table-cell>2/2 (100.0%)</table-cell>
@@ -99,8 +106,8 @@
99106
<table-row>
100107
<table-cell>common</table-cell>
101108
<table-cell>129/129 (100.0%)</table-cell>
102-
<table-cell>444/444 (100.0%)</table-cell>
103-
<table-cell>1375/1375 (100.0%)</table-cell>
109+
<table-cell>442/442 (100.0%)</table-cell>
110+
<table-cell>1367/1367 (100.0%)</table-cell>
104111
</table-row>
105112

106113
<table-row>
@@ -126,23 +133,23 @@
126133

127134
<table-row>
128135
<table-cell>common/io</table-cell>
129-
<table-cell>44/44 (100.0%)</table-cell>
130-
<table-cell>106/106 (100.0%)</table-cell>
131-
<table-cell>485/485 (100.0%)</table-cell>
136+
<table-cell>45/45 (100.0%)</table-cell>
137+
<table-cell>108/108 (100.0%)</table-cell>
138+
<table-cell>492/492 (100.0%)</table-cell>
132139
</table-row>
133140

134141
<table-row>
135142
<table-cell>common/io/filter</table-cell>
136143
<table-cell>41/41 (100.0%)</table-cell>
137-
<table-cell>88/88 (100.0%)</table-cell>
138-
<table-cell>419/419 (100.0%)</table-cell>
144+
<table-cell>86/86 (100.0%)</table-cell>
145+
<table-cell>411/411 (100.0%)</table-cell>
139146
</table-row>
140147

141148
<table-row>
142149
<table-cell>common/io/http</table-cell>
143150
<table-cell>36/36 (100.0%)</table-cell>
144-
<table-cell>162/162 (100.0%)</table-cell>
145-
<table-cell>463/463 (100.0%)</table-cell>
151+
<table-cell>158/158 (100.0%)</table-cell>
152+
<table-cell>447/447 (100.0%)</table-cell>
146153
</table-row>
147154

148155
<table-row>
@@ -154,30 +161,30 @@
154161

155162
<table-row>
156163
<table-cell>common/type</table-cell>
157-
<table-cell>228/228 (100.0%)</table-cell>
158-
<table-cell>516/516 (100.0%)</table-cell>
159-
<table-cell>2730/2730 (100.0%)</table-cell>
164+
<table-cell>234/234 (100.0%)</table-cell>
165+
<table-cell>532/532 (100.0%)</table-cell>
166+
<table-cell>2770/2770 (100.0%)</table-cell>
160167
</table-row>
161168

162169
<table-row>
163170
<table-cell>config</table-cell>
164171
<table-cell>98/98 (100.0%)</table-cell>
165172
<table-cell>538/538 (100.0%)</table-cell>
166-
<table-cell>1384/1384 (100.0%)</table-cell>
173+
<table-cell>1386/1386 (100.0%)</table-cell>
167174
</table-row>
168175

169176
<table-row>
170177
<table-cell>db</table-cell>
171-
<table-cell>15/15 (100.0%)</table-cell>
172-
<table-cell>48/48 (100.0%)</table-cell>
173-
<table-cell>214/214 (100.0%)</table-cell>
178+
<table-cell>17/17 (100.0%)</table-cell>
179+
<table-cell>46/46 (100.0%)</table-cell>
180+
<table-cell>218/218 (100.0%)</table-cell>
174181
</table-row>
175182

176183
<table-row>
177184
<table-cell>info</table-cell>
178-
<table-cell>34/34 (100.0%)</table-cell>
179-
<table-cell>98/98 (100.0%)</table-cell>
180-
<table-cell>496/496 (100.0%)</table-cell>
185+
<table-cell>47/47 (100.0%)</table-cell>
186+
<table-cell>118/118 (100.0%)</table-cell>
187+
<table-cell>640/640 (100.0%)</table-cell>
181188
</table-row>
182189

183190
<table-row>
@@ -190,22 +197,22 @@
190197
<table-row>
191198
<table-cell>postgres</table-cell>
192199
<table-cell>26/26 (100.0%)</table-cell>
193-
<table-cell>110/110 (100.0%)</table-cell>
194-
<table-cell>343/343 (100.0%)</table-cell>
200+
<table-cell>108/108 (100.0%)</table-cell>
201+
<table-cell>337/337 (100.0%)</table-cell>
195202
</table-row>
196203

197204
<table-row>
198205
<table-cell>protocol</table-cell>
199-
<table-cell>60/60 (100.0%)</table-cell>
200-
<table-cell>164/164 (100.0%)</table-cell>
201-
<table-cell>738/738 (100.0%)</table-cell>
206+
<table-cell>61/61 (100.0%)</table-cell>
207+
<table-cell>158/158 (100.0%)</table-cell>
208+
<table-cell>714/714 (100.0%)</table-cell>
202209
</table-row>
203210

204211
<table-row>
205212
<table-cell>storage</table-cell>
206-
<table-cell>63/63 (100.0%)</table-cell>
207-
<table-cell>162/162 (100.0%)</table-cell>
208-
<table-cell>715/715 (100.0%)</table-cell>
213+
<table-cell>65/65 (100.0%)</table-cell>
214+
<table-cell>164/164 (100.0%)</table-cell>
215+
<table-cell>713/713 (100.0%)</table-cell>
209216
</table-row>
210217

211218
<table-row>
@@ -233,12 +240,12 @@
233240
<table-cell>storage/s3</table-cell>
234241
<table-cell>28/28 (100.0%)</table-cell>
235242
<table-cell>120/120 (100.0%)</table-cell>
236-
<table-cell>595/595 (100.0%)</table-cell>
243+
<table-cell>593/593 (100.0%)</table-cell>
237244
</table-row>
238245

239246
<table-row>
240247
<table-cell>TOTAL</table-cell>
241-
<table-cell>994/994 (100.0%)</table-cell>
242-
<table-cell>3857/3858 (99.97%)</table-cell>
243-
<table-cell>13820/13820 (100.0%)</table-cell>
248+
<table-cell>1032/1032 (100.0%)</table-cell>
249+
<table-cell>4029/4030 (99.98%)</table-cell>
250+
<table-cell>14216/14216 (100.0%)</table-cell>
244251
</table-row>

doc/xml/release.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
</intro>
1313

1414
<release-list>
15-
<release date="XXXX-XX-XX" version="2.17dev" title="UNDER DEVELOPMENT">
15+
<release date="2019-09-03" version="2.17" title="C Migrations and Bug Fixes">
1616
<release-core-list>
1717
<release-bug-list>
1818
<release-item>
1919
<release-item-contributor-list>
2020
<release-item-ideator id="jens.wilke"/>
2121
</release-item-contributor-list>
2222

23-
<p>Fix slow manifest build for very large quantities of tables/segments.</p>
23+
<p>Improve slow manifest build for very large quantities of tables/segments.</p>
2424
</release-item>
2525

2626
<release-item>

lib/pgBackRest/Version.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ push @EXPORT, qw(projectBin projectBinSet);
3939
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what
4040
# repositories or manifests can be read - that's the job of the format number.
4141
#-----------------------------------------------------------------------------------------------------------------------------------
42-
use constant PROJECT_VERSION => '2.17dev';
42+
use constant PROJECT_VERSION => '2.17';
4343
push @EXPORT, qw(PROJECT_VERSION);
4444

4545
# Repository Format Number

src/configure

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for pgBackRest 2.17dev.
3+
# Generated by GNU Autoconf 2.69 for pgBackRest 2.17.
44
#
55
#
66
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@ MAKEFLAGS=
576576
# Identity of this package.
577577
PACKAGE_NAME='pgBackRest'
578578
PACKAGE_TARNAME='pgbackrest'
579-
PACKAGE_VERSION='2.17dev'
580-
PACKAGE_STRING='pgBackRest 2.17dev'
579+
PACKAGE_VERSION='2.17'
580+
PACKAGE_STRING='pgBackRest 2.17'
581581
PACKAGE_BUGREPORT=''
582582
PACKAGE_URL=''
583583

@@ -1199,7 +1199,7 @@ if test "$ac_init_help" = "long"; then
11991199
# Omit some internal or obsolete options to make the list less imposing.
12001200
# This message is too long to be a string in the A/UX 3.1 sh.
12011201
cat <<_ACEOF
1202-
\`configure' configures pgBackRest 2.17dev to adapt to many kinds of systems.
1202+
\`configure' configures pgBackRest 2.17 to adapt to many kinds of systems.
12031203
12041204
Usage: $0 [OPTION]... [VAR=VALUE]...
12051205
@@ -1261,7 +1261,7 @@ fi
12611261

12621262
if test -n "$ac_init_help"; then
12631263
case $ac_init_help in
1264-
short | recursive ) echo "Configuration of pgBackRest 2.17dev:";;
1264+
short | recursive ) echo "Configuration of pgBackRest 2.17:";;
12651265
esac
12661266
cat <<\_ACEOF
12671267
@@ -1348,7 +1348,7 @@ fi
13481348
test -n "$ac_init_help" && exit $ac_status
13491349
if $ac_init_version; then
13501350
cat <<\_ACEOF
1351-
pgBackRest configure 2.17dev
1351+
pgBackRest configure 2.17
13521352
generated by GNU Autoconf 2.69
13531353
13541354
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1449,7 +1449,7 @@ cat >config.log <<_ACEOF
14491449
This file contains any messages produced by compilers while
14501450
running configure, to aid debugging if configure makes a mistake.
14511451
1452-
It was created by pgBackRest $as_me 2.17dev, which was
1452+
It was created by pgBackRest $as_me 2.17, which was
14531453
generated by GNU Autoconf 2.69. Invocation command line was
14541454
14551455
$ $0 $@
@@ -3619,7 +3619,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36193619
# report actual input values of CONFIG_FILES etc. instead of their
36203620
# values after options handling.
36213621
ac_log="
3622-
This file was extended by pgBackRest $as_me 2.17dev, which was
3622+
This file was extended by pgBackRest $as_me 2.17, which was
36233623
generated by GNU Autoconf 2.69. Invocation command line was
36243624
36253625
CONFIG_FILES = $CONFIG_FILES
@@ -3681,7 +3681,7 @@ _ACEOF
36813681
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36823682
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
36833683
ac_cs_version="\\
3684-
pgBackRest config.status 2.17dev
3684+
pgBackRest config.status 2.17
36853685
configured by $0, generated by GNU Autoconf 2.69,
36863686
with options \\"\$ac_cs_config\\"
36873687

src/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Initialize configuration
22
AC_PREREQ([2.69])
3-
AC_INIT([pgBackRest], [2.17dev])
3+
AC_INIT([pgBackRest], [2.17])
44
AC_CONFIG_SRCDIR([version.h])
55

66
# Check compiler

src/perl/embed.auto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14929,7 +14929,7 @@ static const EmbeddedModule embeddedModule[] =
1492914929
"\n"
1493014930
"push @EXPORT, qw(projectBin projectBinSet);\n"
1493114931
"\n\n\n\n\n\n"
14932-
"use constant PROJECT_VERSION => '2.17dev';\n"
14932+
"use constant PROJECT_VERSION => '2.17';\n"
1493314933
"push @EXPORT, qw(PROJECT_VERSION);\n"
1493414934
"\n\n\n\n\n\n"
1493514935
"use constant REPOSITORY_FORMAT => 5;\n"

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ repository will be invalid unless migration functions are written.
2323
/***********************************************************************************************************************************
2424
Software version. Currently this value is maintained in Version.pm and updated by test.pl.
2525
***********************************************************************************************************************************/
26-
#define PROJECT_VERSION "2.17dev"
26+
#define PROJECT_VERSION "2.17"
2727

2828
#endif

0 commit comments

Comments
 (0)