anastasia
|
ebf7a0e1f8
|
Merge branch 'PBCKP-114'
|
2021-02-19 14:19:04 +03:00 |
|
anastasia
|
302f231440
|
merge master
|
2021-02-19 11:37:11 +03:00 |
|
anastasia
|
6619f82c43
|
Merge branch 'fix_cfs_backup_test'
|
2021-02-12 13:29:54 +03:00 |
|
anastasia
|
31a8ea3ff0
|
tests: Skip test_incr_lsn_long_xact_1, when testing with PostgresPro Enterprise
|
2021-02-12 13:08:12 +03:00 |
|
anastasia
|
5207900fb8
|
Update tests/Readme.md. Add note about python3.
|
2021-02-11 12:01:13 +03:00 |
|
anastasia
|
2305d1fdda
|
Tests. Expect failure in test_validate_target_lsn, because it requires multi-timeline WAL validation, which is not implemented yet
|
2021-02-10 19:44:38 +03:00 |
|
anastasia
|
6dcf64a907
|
Tests. Fix cfs_backup tests compatibility with ptrack 2.1
|
2021-02-10 16:22:40 +03:00 |
|
anastasia
|
17cc612089
|
tests: remove debug messages in module 'archive'
|
2021-02-08 15:04:51 +03:00 |
|
anastasia
|
23b5ea58d9
|
Merge branch 'master' into release_2_5
|
2021-02-04 15:15:33 +03:00 |
|
anastasia
|
736b9c2a0c
|
Refactoring. Fixes of previous changes
|
2021-02-04 15:05:47 +03:00 |
|
anastasia
|
f89793158b
|
Refactoring. Remove redundand fields from InstanceConfig
|
2021-02-03 22:10:17 +03:00 |
|
anastasia
|
6c52147c47
|
Refactoring. Get rid of global variable backup_instance_path (2)
|
2021-02-03 21:48:53 +03:00 |
|
anastasia
|
d9b3fb22d6
|
Refactoring. Get rid of global variable archlog_path
|
2021-02-03 21:44:32 +03:00 |
|
anastasia
|
9940967657
|
Refactoring. Get rid of global variable backup_instance_path
|
2021-02-03 21:28:34 +03:00 |
|
anastasia
|
b956febb7b
|
Refactoring. Get rid of global variable backup_path
|
2021-02-03 20:50:34 +03:00 |
|
anastasia
|
341d7b8274
|
Refactoring. Get rid of global variable instance_name
|
2021-02-03 20:00:43 +03:00 |
|
anastasia
|
dbf523308b
|
Refactoring. Use instanceState instead of global variable instance_name
|
2021-02-03 18:39:51 +03:00 |
|
anastasia
|
cc58553514
|
Refactoring. Cleanup comments
|
2021-02-03 18:00:21 +03:00 |
|
anastasia
|
3d62e2a1d6
|
Refactoting. Move new state definitions to a separate header
|
2021-02-03 17:48:59 +03:00 |
|
anastasia
|
48b8f60fdb
|
Refactoring. Introduce instanceState structure. Update code in init.c
|
2021-02-03 17:35:14 +03:00 |
|
anastasia
|
2284c2b006
|
Refactoring. Introduce catalogState structure. Update code in init.c
|
2021-02-03 15:28:11 +03:00 |
|
anastasia
|
7ef802d02f
|
Add a comment declaring code refactoring plan
|
2021-02-03 14:30:45 +03:00 |
|
anastasia
|
24a7a085c3
|
Code cleanup. Pass backup_catalog_path explicitly to functions that need it
|
2021-02-03 13:41:01 +03:00 |
|
anastasia
|
c1e81edd49
|
Code cleanup. Start removing global variables in pg_probackup.c
|
2021-02-03 13:03:46 +03:00 |
|
anastasia
|
da2c49dfe1
|
code cleanup
|
2021-02-02 22:41:45 +03:00 |
|
anastasia
|
94d42366bd
|
Merge branch 'master' into release_2_5
|
2021-02-02 20:24:06 +03:00 |
|
anastasia
|
f26c959647
|
remove unneeded funtion dir_read_file_list()
|
2021-02-02 19:44:16 +03:00 |
|
anastasia
|
0fd2fdeec0
|
Code cleanup. Remove unused pgBackupGetPath() function
|
2021-02-02 19:12:08 +03:00 |
|
anastasia
|
2ae2908ea7
|
Code cleanup. Remove unused functions
|
2021-02-02 18:19:47 +03:00 |
|
 alubennikovaandGitHub
|
030f171576
|
Merge pull request #302 from postgrespro/issue_301
Issue 301. Update CI and readme.
|
2021-01-26 16:00:06 +03:00 |
|
anastasia
|
7b3d13f164
|
Update README: Add Development section. Fix broken link to documentaiton
|
2021-01-26 15:38:54 +03:00 |
|
anastasia
|
0f296ffbf5
|
[issue #301] Only run CI tests for master branch commits to limit our travis usage.
|
2021-01-26 15:25:49 +03:00 |
|
anastasia
|
302455a4c6
|
Remove outdated Documentation.md file. Documentation now lives in doc/ subdirectory.
|
2021-01-26 15:16:41 +03:00 |
|
anastasia
|
40aeb8be17
|
fix merge conflict
|
2021-01-22 22:43:35 +03:00 |
|
anastasia
|
1d50157053
|
calm down compiler warning
|
2021-01-22 21:48:21 +03:00 |
|
anastasia
|
0fdcc73b02
|
Merge branch 'master' into release_2_5
|
2021-01-22 21:44:29 +03:00 |
|
anastasia
|
bd29752456
|
Fix test test_basic_ptrack_truncate_replica. Pause replication before taking backup to make datadir comparison more stable.
|
2020-11-20 13:42:55 +03:00 |
|
anastasia
|
1d3c333641
|
Refactor code related to WAL streaming. Optimize filelist gathering for streamed xlog files.
Now streaming thread calculates CRC and adds file info to the filelist after each finished segment.
|
2020-11-11 23:10:44 +03:00 |
|
anastasia
|
dad2747ddc
|
Refactor code related to WAL streaming. Move it to stream.c
|
2020-11-11 22:19:09 +03:00 |
|
anastasia
|
29f28e5588
|
Disable incremental backups with ptrack 1.X, as it is unsafe.
Instead of throwing an error, throw a warning and fall back to performing DELTA backup, as we don't want to break existing scripts.
|
2020-08-06 19:20:26 +03:00 |
|
Anastasia
|
95459a8363
|
fix buffer size in write_backup_filelist
|
2019-12-30 12:59:14 +03:00 |
|
Anastasia
|
c2f52dc86d
|
Fix for [Issue #155]. Allocate destination buffer size correctly
|
2019-12-30 12:29:18 +03:00 |
|
Anastasia
|
64d546780e
|
[Issue #58] Handle SIGTERM and SIGQUIT
|
2019-09-23 14:00:24 +03:00 |
|
Anastasia
|
1f67593175
|
code cleanup for wal_delete refactoring
|
2019-09-23 13:14:57 +03:00 |
|
Anastasia
|
c9d3c5845a
|
Fix archive_catalog problem exposed by b1975e3ba.
Now it's legal to find in archive two files with equal segno. This can happen if both compressed and non-compessed versions are present.
|
2019-09-20 16:08:12 +03:00 |
|
Anastasia
|
0e2336fb6f
|
code review for issue_115. add TODO comments
|
2019-09-05 16:14:50 +03:00 |
|
Anastasia
|
dc76fb13d5
|
add verbose message
|
2019-08-09 17:13:31 +03:00 |
|
Anastasia
|
6179808d23
|
implement partial validate. add db-include and db-exclude options to validate command
|
2019-08-08 17:55:23 +03:00 |
|
Anastasia
|
f36d81dc08
|
fix uninitialized var
|
2019-08-08 16:40:26 +03:00 |
|
Anastasia
|
037b7cf53b
|
Merge branch 'master' into issue_79
|
2019-08-08 15:31:16 +03:00 |
|
Anastasia
|
d92434ff84
|
Refactoring of restore and validate options.
Collect them into pgRestoreParams structure
|
2019-08-08 15:29:36 +03:00 |
|
Anastasia
|
5ae396f7d6
|
fix comparator
|
2019-08-07 17:13:19 +03:00 |
|
Anastasia
|
e8b9ca1ba8
|
code cleanup, add comments
|
2019-08-07 16:56:56 +03:00 |
|
Anastasia
|
52bf25ccd2
|
minor refactoring in restore.c to improve code readability
|
2019-08-07 13:23:17 +03:00 |
|
Anastasia
|
23697fff67
|
Review issue_79. Added several TODO comments
|
2019-08-05 16:22:07 +03:00 |
|
Anastasia
|
4611ee38f8
|
Merge branch 'master' into issue_79
|
2019-08-05 14:30:18 +03:00 |
|
 AnastasiaandGrigory Smolkin
|
1590e2d259
|
fix show-config in json format: add quotes for all values
|
2019-06-17 21:51:52 +03:00 |
|
Anastasia
|
48959dc131
|
Merge branch 'backup_content_control_updates'
|
2019-06-14 17:36:47 +03:00 |
|
Anastasia
|
19c30a8997
|
code cleanup: remove unneeded backuped variable
|
2019-06-14 11:58:33 +03:00 |
|
Anastasia
|
594badfe2f
|
Merge branch 'doc_markdown'
|
2019-06-13 17:58:11 +03:00 |
|
Anastasia Lubennikova
|
5a739fa6e2
|
Update Documentation.md
|
2019-06-13 17:57:39 +03:00 |
|
Anastasia Lubennikova
|
a1f2f1f85a
|
Update Documentation.md
|
2019-06-13 17:49:02 +03:00 |
|
Anastasia Lubennikova
|
4cbd8fbb40
|
Update Documentation.md
|
2019-06-13 17:34:15 +03:00 |
|
Anastasia
|
bc0952a959
|
add Documentaion.md
|
2019-06-13 17:32:43 +03:00 |
|
Anastasia
|
52a5487025
|
code cleanup
|
2019-06-11 18:53:29 +03:00 |
|
Anastasia
|
8ea9bcac87
|
remove duration variable as unrelated to this feature,
code cleanup.
|
2019-06-11 18:50:35 +03:00 |
|
Anastasia
|
6f2d3f5cc5
|
use data_bytes field instead of introducing new one
|
2019-06-11 18:04:02 +03:00 |
|
Anastasia
|
096a12b9bc
|
add size and duration fields to backup.control.
update it during backup every 10 seconds
|
2019-06-11 14:29:10 +03:00 |
|
Anastasia
|
7ef294501a
|
write only completed files to backup_content_control of running backup
|
2019-06-11 12:58:50 +03:00 |
|
Anastasia
|
66a1c643d5
|
update backup_content.control during backup;
implement buffered write of backup_content.control
|
2019-06-07 22:22:26 +03:00 |
|
Anastasia
|
30126c6eb5
|
Refactoring of checkdb. Move code to a separate file, improve error messages
|
2019-05-31 18:15:43 +03:00 |
|
Anastasia
|
b09140af4d
|
remove unused function: create_data_directories_manual()
|
2019-05-27 16:05:00 +03:00 |
|
Anastasia
|
85afe5a273
|
Merge branch 'refactoring_after_2.1.1'
|
2019-05-06 17:12:35 +03:00 |
|
Anastasia
|
c411a8cffd
|
refactoring. remove unused move_file(), remove_trailing_space(), remove_not_digit() functions
|
2019-05-06 11:43:26 +03:00 |
|
Anastasia
|
109af56a50
|
refactoring. remove unneeded calc_file_checksum() function
|
2019-05-06 11:32:34 +03:00 |
|
Anastasia
|
14418a200f
|
refactoring. move WAL related functions to archive.c
|
2019-05-06 11:27:42 +03:00 |
|
Anastasia
|
9dacdaad8f
|
remove unused code related to remote backup via replication protocol, which was not implemented
|
2019-05-06 11:16:00 +03:00 |
|
Anastasia
|
9a785d6fa0
|
fix compiler warning. TODO: fix checkdb test
|
2019-04-18 17:20:22 +03:00 |
|
Anastasia
|
c00bd3cd77
|
code and comments cleanup
|
2019-04-18 16:12:57 +03:00 |
|
Anastasia
|
6d0059092c
|
Merge branch 'master' into pgpro-2065
|
2019-04-17 17:20:33 +03:00 |
|
Anastasia
|
ce29d91957
|
Merge master into pgpro-2065. Resolve conflicts.
TODO: review compatibility of checkdb and remote backup
|
2019-04-16 16:33:03 +03:00 |
|
Anastasia
|
df8fe86d6d
|
code cleanup
|
2019-04-12 18:41:33 +03:00 |
|
Anastasia
|
1d5b9e469d
|
Merge branch 'master' into pgpro-2065
|
2019-04-12 16:03:18 +03:00 |
|
Anastasia
|
01fedaf04c
|
pgpro-2605. Use absolute path of pg_probackup binary in recovery.conf generated by pg_probackup
|
2019-04-03 16:35:57 +03:00 |
|
 AnastasiaandArthur Zakirov
|
7acccb4220
|
PGPRO-2413. Use PG_LIBS_INTERNAL instead of PG_LIBS to link with libpq library within build tree
|
2019-03-25 16:40:41 +03:00 |
|
Anastasia
|
38bd369145
|
PGPRO-2413. Use PG_LIBS_INTERNAL instead of PG_LIBS to link with libpq library within build tree
|
2019-03-04 17:09:00 +03:00 |
|
Anastasia
|
0220ae5146
|
Merge branch 'master' into pgpro_2370
|
2019-02-11 18:23:51 +03:00 |
|
Anastasia
|
5c247d0ffa
|
treat snap files as not datafiles.
fix a typo in snapfs.py
|
2019-02-11 18:14:31 +03:00 |
|
Anastasia
|
b99097a71b
|
pgpro-2065. fix cycle in do_amcheck, remove unused variables and debug messages. TODO: code cleanup, fix exit statuses for threads
|
2018-12-17 16:03:58 +03:00 |
|
Anastasia
|
ac2236cc3d
|
pgpro-2065. WIP. refactor code, add snapshot to amcheck. TODO fix eternal cycle in do_amchecl
|
2018-12-14 20:59:47 +03:00 |
|
Anastasia
|
5401eeb857
|
pgpro-2065. fix options parsing
|
2018-12-13 17:13:21 +03:00 |
|
Anastasia
|
1654eea349
|
Merge master into pgpro-2065
|
2018-12-13 16:44:46 +03:00 |
|
Anastasia
|
5b2cae5e81
|
pgpro-2065. filter global indexes
|
2018-12-13 16:20:51 +03:00 |
|
Anastasia
|
65e0ff9565
|
pgpro-2065. refactor the code, add option --block-validation аfor checkdb command
|
2018-12-13 14:14:59 +03:00 |
|
Anastasia
|
ffd4b2f5cf
|
pgpro-2065. WIP. fix amcheck return status, call amcheck function using correct schema name
|
2018-12-12 18:19:04 +03:00 |
|
Anastasia
|
26c2e066f6
|
code cleanup. remove obsolete exit_or_abort() function
|
2018-12-12 17:07:18 +03:00 |
|
Anastasia
|
5f404b5de4
|
pgpro-2065. fix logging for checkdb command
|
2018-12-11 17:37:52 +03:00 |
|
Anastasia
|
0eab1f6c13
|
PGPRO-2065 checkdb --amcheck. Draft version
|
2018-12-03 22:04:40 +03:00 |
|
Anastasia
|
a9fd90a831
|
PGPRO-2065 checkdb. Draft version
|
2018-12-03 11:31:10 +03:00 |
|
Anastasia
|
2a62342e8b
|
WIP checkdb command
|
2018-11-30 18:24:14 +03:00 |
|