[ { "commit": "4629237d6a308a250cd52fff49693cd0a1069253", "date": "2019-10-01 16:02:07 -0400", "subject": "v2.18: PostgreSQL 12 Support" }, { "commit": "29e132f5e928298e9be135d76674f2016b122029", "date": "2019-10-01 13:20:43 -0400", "subject": "PostgreSQL 12 support.", "body": "Recovery settings are now written into postgresql.auto.conf instead of recovery.conf. Existing recovery_target* settings will be commented out to help avoid conflicts.\n\nA comment is added before recovery settings to identify them as written by pgBackRest since it is unclear how, in general, old settings will be removed.\n\nrecovery.signal and standby.signal are automatically created based on the recovery settings." }, { "commit": "6be7e6fde54f2dc3edbed802efc3f5cb1e050fd2", "date": "2019-10-01 10:25:08 -0400", "subject": "Fix misplaced String declarations." }, { "commit": "309ae66e2fbd128b54f0859b231c14f6ab1518c4", "date": "2019-10-01 08:47:56 -0400", "subject": "Remove unneeded static declarations and use sizeof() where appropriate." }, { "commit": "f96c54c4ba0e526cda4cf9bed5cc1231b1d819b5", "date": "2019-09-30 12:39:38 -0400", "subject": "Add info command set option for detailed text output.", "body": "The additional details include databases that can be used for selective restore and a list of tablespaces and symlinks with their default destinations.\n\nThis information is not included in the JSON output because it requires reading the manifest which is too IO intensive to do for all manifests. We plan to include this information for JSON in a future release." }, { "commit": "33ec5a3aacdfe0dd258463c0cbcd43f0d155152e", "date": "2019-09-29 09:05:55 -0400", "subject": "Sort lists where it might help performance.", "body": "Most of these lists should be quite small with the exception of the list in get.c, but it doesn't cost much to sort them and may help in corner cases we have not thought of." }, { "commit": "a58635ac0285fbb3178329bdc222221fe7160380", "date": "2019-09-28 14:24:27 -0400", "subject": "Move C performance tests out of unit tests.", "body": "Performance tests were being done in unit tests until there was a better place to put them.\n\nNow there is, so move them there." }, { "commit": "f1ba428fb037eac7b6c6ea5b9f617d1ad4579026", "date": "2019-09-28 14:02:12 -0400", "subject": "Add performance test capability in C with scaling.", "body": "Scaling allows the starting values to be increased from the command-line without code changes.\n\nAlso suppress valgrind and assertions when running performance testing. Optimization is left at -O0 because we should not be depending on compiler optimizations to make our code performant, and it makes profiling more informative." }, { "commit": "004ff99a2d918fa3a5079ce9d7ff2f5b120176e3", "date": "2019-09-28 13:17:21 -0400", "subject": "Identify Perl performance test by appending -perl.", "body": "This is intended to differentiate the upcoming C performance tests from the Perl performance tests that will eventually be migrated." }, { "commit": "cb62bebadf62613b770f79cd4fd43e20ec7db10c", "date": "2019-09-28 10:08:20 -0400", "subject": "Use bsearch() on sorted lists rather than an iterative method.", "body": "bsearch() is far more efficient than an iterative approach except in the most trivial cases.\n\nFor now insert will reset the sort order to none and the list will need to be resorted before bsearch() can be used. This is necessary because item pointers are not stable after a sort, i.e. they can move around. Until lists are stable it's not a good idea to surprise the caller by mixing up their pointers on insert." }, { "commit": "d3d2a7cd8606be9696957eb052ca6569db1a8167", "date": "2019-09-28 09:57:06 -0400", "subject": "Add line number and fix spacing in TEST_LOG*() macros." }, { "commit": "afc483ef86aefe2cf8f057b6159af2c54f77c28b", "date": "2019-09-27 13:37:59 -0400", "subject": "Clarify which timeline should be used for timeline integration test." }, { "commit": "0a4122c77dc2e3fb866b95be73c2831530b2def1", "date": "2019-09-27 13:34:59 -0400", "subject": "Add reviewer." }, { "commit": "6355451870c90be346a378ef8b301f182c635edb", "date": "2019-09-27 13:33:14 -0400", "subject": "Fix old option name in documentation." }, { "commit": "d82102d6ef5445e5c96e47a095210f36a618b800", "date": "2019-09-27 13:04:36 -0400", "subject": "Add explicit promotes to recovery integration tests.", "body": "PostgreSQL 12 will shutdown in these cases which seems to be the correct action (according to the documentation) when hot_standby = off, but older versions are promoting instead. Set target_action explicitly so all versions will behave the same way.\n\nThis does beg the question of whether the PostgreSQL 12 behavior is wrong (though it matches the docs) or the previous versions are." }, { "commit": "833d0da0d96036ada9e2397e2b1484d2032c25fa", "date": "2019-09-27 12:29:33 -0400", "subject": "Store recovery file name in integration when testing preserve recovery.", "body": "This makes the test a little more maintainable and is friendly with the changes needed for PostgreSQL 12." }, { "commit": "80eb561cafc1af645e689cca865158e4336c143d", "date": "2019-09-27 09:45:11 -0400", "subject": "Add missing PostgreSQL 11 control/WAL versions in Perl tests.", "body": "These values don't seem to be used for testing but better to be tidy." }, { "commit": "d6a6d93a041af1b8e333d8e9b68b151ae43e564d", "date": "2019-09-27 09:35:59 -0400", "subject": "Add PostgreSQL 12 to u18 container.", "body": "This does not add PostgresQL 12 support; it simply adds PostgreSQL 12 to the u18 container for development and testing." }, { "commit": "03a7bda511b293cf40fd8324951ace1252d40ac2", "date": "2019-09-27 09:19:12 -0400", "subject": "Refactor recovery file generation.", "body": "Separate the generation of recovery values and formatting them into recovery.conf format. This is generally a good idea, but also makes the code ready to deal with a different recovery file in PostgreSQL 12.\n\nAlso move the recovery file logic out of cmdRestore() into restoreRecoveryWrite()." }, { "commit": "cf1e96e827d154a62c0b52ff5531dd687695bf73", "date": "2019-09-27 08:50:33 -0400", "subject": "Refactor handling of ignored files in restore delta cleanup.", "body": "Replace the boolean logic with a simple list that will be checked to see if the file should be ignored." }, { "commit": "c41fb575fbef7b4ce9714986b08f48d32b719862", "date": "2019-09-26 17:39:45 -0400", "subject": "Add standby restore type.", "body": "This restore type automatically adds standby_mode=on to recovery.conf.\n\nThis could be accomplished previously by setting --recovery-option=standby_mode=on but PostgreSQL 12 requires standby mode to be enabled by a special file named standby.signal.\n\nThe new restore type allows us to maintain a common interface between PostgreSQL versions." }, { "commit": "89793368196e4073ca7137f2bf21edb385fb9ef6", "date": "2019-09-26 16:02:39 -0400", "subject": "Comment out unprivileged user documentation.", "body": "We haven't had the time to complete this documentation and it has suffered bit rot.\n\nThis prevents us from building the docs on PostgreSQL >= 11 so just comment it all out until it can be updated." }, { "commit": "451ae397bec3f3bc070c4db674cc5df61bd63498", "date": "2019-09-26 07:52:02 -0400", "subject": "The restore command is implemented entirely in C.", "body": "For the most part this is a direct migration of the Perl code into C.\n\nThere is one important behavioral change with regard to how file permissions are handled. The Perl code tried to set ownership as it was in the manifest even when running as an unprivileged user. This usually just led to errors and frustration.\n\nThe C code works like this:\n\nIf a restore is run as a non-root user (the typical scenario) then all files restored will belong to the user/group executing pgBackRest. If existing files are not owned by the executing user/group then an error will result if the ownership cannot be updated to the executing user/group. In that case the file ownership will need to be updated by a privileged user before the restore can be retried.\n\nIf a restore is run as the root user then pgBackRest will attempt to recreate the ownership recorded in the manifest when the backup was made. Only user/group names are stored in the manifest so the same names must exist on the restore host for this to work. If the user/group name cannot be found locally then the user/group of the PostgreSQL data directory will be used and finally root if the data directory user/group cannot be mapped to a name." }, { "commit": "92e48c856ac87838c479c2a454fe007cf026d4bd", "date": "2019-09-26 07:27:07 -0400", "subject": "Add missing asserts." }, { "commit": "f2781bdad4bbe2afba4a0eda7df90753c63ccf03", "date": "2019-09-25 16:38:13 -0400", "subject": "Allow documentation to be built without encryption.", "body": "This is mainly useful for testing, where an encrypted repo is a real nuisance." }, { "commit": "e968acbdd74db8f78f718cbe5bd6358107bcf822", "date": "2019-09-24 16:55:11 -0400", "subject": "Fix outdated comment.", "body": "This was probably missed when a new test was added and the timeline was updated." }, { "commit": "6af64df9b6519897a55a733583ee40a571a51ee6", "date": "2019-09-23 19:26:24 -0400", "subject": "Thoughts on repository version 6." }, { "commit": "71349c89aecdb3b158d1638d0310cdba6c96362a", "date": "2019-09-23 17:56:17 -0400", "subject": "Add TEST_TITLE() macro.", "body": "This macro displays a title for each test. A test frequently has multiple parts and it was hard to tell which subparts went together. We used ad hoc indentation to do this.\n\nAnything that is a not a title is automatically indented so manually indenting is not longer needed. This should make the tests and the test output easier to read." }, { "commit": "2fd2fe509f3039ef28766b865f3b66cc524dee04", "date": "2019-09-23 17:20:47 -0400", "subject": "Add TEST_RESULT_LOG*() and TEST_SYSTEM*() macros.", "body": "These macros encapsulate the functionality provided by direct calls to harnessLogResult() and system(). They both have _FMT() variants.\n\nThe primary advantage is that {[path]}, {[user]}, and {[group]} will be replaced with the test path, user, and group respectively. This saves a log of strNewFmt() calls and makes the tests less noisy." }, { "commit": "d3a7055ee5d290da0196ba266051846c107ddede", "date": "2019-09-23 15:15:04 -0400", "subject": "Only enable test.pl --debug-test-trace option when --debug also enabled.", "body": "The other way makes no sense and leads to compile errors since --debug-test-trace requires some code that is only enabled by --debug." }, { "commit": "072aeb810932605bb5e2b8ef64288f24913ddd04", "date": "2019-09-23 15:10:31 -0400", "subject": "Add LFs to storage list tests.", "body": "This makes the diffs easier to read when testing." }, { "commit": "c969137021da5dc03e5f95d36080f4e4fd08522b", "date": "2019-09-23 13:50:46 -0400", "subject": "Migrate backup manifest load/save to C.", "body": "The backup manifest stores a complete list of all files, links, and paths in a backup along with metadata such as checksums, sizes,\ntimestamps, etc. A list of databases is also included for selective restore.\n\nThe purpose of the manifest is to allow the restore command to confidently reconstruct the PostgreSQL data directory and ensure that\nnothing is missing or corrupt. It is also useful for reporting, e.g. size of backup, backup time, etc.\n\nFor now, migrate enough functionality to implement the restore command." }, { "commit": "5b64c93e8b1de010176b8d3927f80cc8039f4dbc", "date": "2019-09-20 17:50:49 -0400", "subject": "Add local option for cfgExecParam().", "body": "cfgExecParam() was originally written to provide options for remote processes. Remotes processes do not have access to the local config so it was necessary to pass every non-default option.\n\nLocal processes on the other hand, e.g. archive-get, archive-get-async, archive-push-async, and local, do have access to the local config and therefore don't need every parameter to be passed on the command-line. The previous way was not wrong, but it was overly verbose and did not align with the way Perl had worked.\n\nUpdate cfgExecParam() to accept a local option which excludes options from the command line which can be read from local configs." }, { "commit": "3f18040aab5707c9be9b51fe37f3464d222fceb5", "date": "2019-09-20 08:13:36 -0400", "subject": "Rename MANIFEST_FILE to BACKUP_MANIFEST_FILE.", "body": "This is a bit more descriptive and avoids a naming conflict in the new C manifest code." }, { "commit": "174cb7b3af6b40d171186060509252c256208cd6", "date": "2019-09-19 22:42:28 -0400", "subject": "Add strPathAbsolute() and strLstRemoveIdx().", "body": "strPathAbsolute() generates an absolute path from an absolute base path and an absolute/relative path.\n\nstrLstRemoveIdx() is a support function based on lstRemoveIdx()." }, { "commit": "9421493d09033efda2d5e2cc6eb60d13491beca3", "date": "2019-09-19 22:34:12 -0400", "subject": "Allow resets when generating local/remote command options.", "body": "Somehow this was left out of the original implementation, but it is particularly important for certain types of restores." }, { "commit": "e24b2e3f4dcb0a288b4e742fd0b198b768d6320a", "date": "2019-09-18 22:23:04 -0400", "subject": "Only test timestamps for files.", "body": "In general we don't care about path and link times since they are easily recreated when restoring.\n\nSo, outside of storageInfo() we don't need to bother testing them." }, { "commit": "54638e87042b2315f24abef2d7f8c5610c53762e", "date": "2019-09-18 22:17:22 -0400", "subject": "Add strLstRemove().", "body": "Allow a string to be removed from a StringList using the underlying lstRemove()." }, { "commit": "a6a42b18a9c28b1410df803d7073340b2d7d52c6", "date": "2019-09-18 22:09:49 -0400", "subject": "Use switch instead of if else tree in jsonFromKvInternal().", "body": "This is more efficient but more importantly it is easier to read." }, { "commit": "60d93df503c234730109c87114068dde4203804e", "date": "2019-09-18 07:15:16 -0400", "subject": "Use a callback to feed jobs to ProtocolParallel.", "body": "Loading jobs in advance uses a lot of memory in the case that there are millions of jobs to be performed. We haven't seen this yet, but with backup and restore on the horizon it will become the norm.\n\nInstead, use a callback so that jobs are only created as they are needed and can be freed as soon as they are completed." }, { "commit": "ce1c7b02520f2e37dfcfb283471fb4ec263b5d50", "date": "2019-09-17 21:04:38 -0400", "subject": "Ignore write errors when the ls command is writing to stdout.", "body": "It's possible (even likely) that the ls output is being piped to something like head which will exit when it gets what it needs and leave us writing to a broken pipe.\n\nIt would be better to just ignore the broken pipe error but currently we don't store system error codes." }, { "commit": "8675699d08b91c57294becfcf27dbf7ddb594c46", "date": "2019-09-16 14:09:53 -0400", "subject": "Add FAQ for time-based Point-in-Time Recovery." }, { "commit": "49b421d372144df726d71552850e55cee298a566", "date": "2019-09-16 13:56:25 -0400", "subject": "Add documentation clarifications regarding standby repositories.", "body": "Clarify that placing the repository on a standby is not a robust configuration and recommend against it." }, { "commit": "09ef03b7ef69d2760756146cad86b784b0b5d7c3", "date": "2019-09-15 08:27:38 -0400", "subject": "Add FAQ regarding backup-standby." }, { "commit": "f9c8bd31de89cc1140fe37e3996672bbb1c99934", "date": "2019-09-14 14:10:04 -0400", "subject": "Add required FreeBSD header." }, { "commit": "56bf9d0566bbb9708d1687e9d2e59be306e32dda", "date": "2019-09-14 12:21:08 -0400", "subject": "Update HINT messages to conform to new standard detailed in CODING.md." }, { "commit": "c5f496b903ab9a4fa545d5f1a0a8dae9ec5c49af", "date": "2019-09-14 11:56:29 -0400", "subject": "Rename parameter processId to processIdx in harnessFork.h for clarity." }, { "commit": "f57e119b25d73a4b33aa83b5484898c5d7e84dfb", "date": "2019-09-13 12:28:39 -0400", "subject": "Document the relationship between db-timeout and protocol-timeout." }, { "commit": "15d04ca19c0bd1aafe9d4389e8429bcc392e842d", "date": "2019-09-12 16:29:50 -0400", "subject": "Add recursion and json output to the ls command.", "body": "These features finally make the ls command practical.\n\nCurrently the JSON contains only name, type, and size. We may add more fields in the future, but these seem like the minimum needed to be useful." }, { "commit": "e45baa1830ac5251fc4284d094c3e12920e50862", "date": "2019-09-12 16:03:05 -0400", "subject": "Add sorting, filters, and recursion to storageInfoList().", "body": "These are needed for the ls command and are also useful for testing." }, { "commit": "92365fb801543f8d6d52037b1936b3cd42512238", "date": "2019-09-12 15:55:18 -0400", "subject": "Disable missing-field-initializers warnings in unit testing.", "body": "This warning gives very unpredictable results between compiler versions and seems unrealistic since most of our structs are zeroed for initialization.\n\nThis warning has been disabled in the Makefile for a long time." }, { "commit": "f809d2f008a4d8d769b72a68ffff9ef75ab9de22", "date": "2019-09-12 15:16:42 -0400", "subject": "Ignore apt-get update errors in Travis CI.", "body": "Broken vendor packages have been causing builds to break due to an error on apt-get update.\n\nIgnore errors and proceed directory to apt-get install. It's possible that we'll try to reference an expired package version and get an error anyway, but that seems better than a guaranteed hard error." }, { "commit": "506c10f7f270806aca8acecaa303bf4458463720", "date": "2019-09-12 12:04:25 -0400", "subject": "Sort and find improvements to List and StringList objects.", "body": "Push the responsibility for sort and find down to the List object by introducing a general comparator function that can be used for both sorting and finding.\n\nUpdate insert and add functions to return the item added rather than the list. This is more useful in the core code, though numerous updates to the tests were required." }, { "commit": "e4a071ce033ae53dafb35eb9ccd4daba1030064c", "date": "2019-09-12 10:56:45 -0400", "subject": "Add missing header in common/user module." }, { "commit": "b53305cc361e9978807d506e3e8ec13b3ae93511", "date": "2019-09-12 08:17:07 -0400", "subject": "Update incorrect pipelining references to connection reuse.", "body": "Connection reuse and pipelining are not the same thing and should not have been conflated.\n\nUpdate comments and release notes to reflect the correct usage." }, { "commit": "dca5b63f970be8a13cd11222f4b5a9d4ca71261e", "date": "2019-09-10 13:06:44 -0400", "subject": "Move documentation job first for Travis CI.", "body": "Since this job has been running long recently this should improved overall performance when multiple commits are queued up." }, { "commit": "f4f21d0df7217bcb583189d0fc4ecaac3faed146", "date": "2019-09-10 13:02:05 -0400", "subject": "Add groupIdFromName() and userIdFromName() to user module.", "body": "Update StorageWritePosix to use the new functions.\n\nA side effect is that storageWritePosixOpen() will no longer error when the user/group name does not exist. It will simply retain the original user/group, i.e. the user that executed the restore.\n\nIn general this is a feature since completing a restore is more important than setting permissions exactly from the source host. However, some notification of this omission to the user would be beneficial." }, { "commit": "f8d0574759340f0260f06e377da412041987f582", "date": "2019-09-10 12:29:36 -0400", "subject": "Increase process timeout and emit occasional warnings.", "body": "Travis will timeout after 10 minutes with no output. Emit a warning every 5 minutes to keep Travis alive and increase the total timeout to 20 minutes.\n\nDocumentation builds have been timing out a lot recently so hopefully this will help." }, { "commit": "e043c6b1bc388422aee9255077544c3644b8f69d", "date": "2019-09-09 07:37:57 -0400", "subject": "Update comment missed in d957acb3." }, { "commit": "1049632873d5a70cda90e5c4ed87312bfe4810d6", "date": "2019-09-08 20:11:51 -0400", "subject": "Add user module for managing system users/groups.", "body": "Centralize the management of users and groups.\n\nAlso update Posix storage driver where users/groups were already in use." }, { "commit": "d957acb36b6b50c6166d9a68b03f239cdc508fa7", "date": "2019-09-08 06:53:23 -0400", "subject": "Add function to generate PostgreSQL tablespace identifier.", "body": "In PostgreSQL >= 9.0 each tablespace data is stored in a specially named directory so different major versions can share the same tablespace path." }, { "commit": "051128ed9ee0ebc63fb35e69818c6213397a053f", "date": "2019-09-08 06:47:52 -0400", "subject": "Add test macro for comparing String to zero-terminated strings.", "body": "This macro avoids the need to wrap the first parameter in strPtr() and should improve readability." }, { "commit": "0a96764cb8daa615121069e840268e216d1983ff", "date": "2019-09-07 18:04:39 -0400", "subject": "Remove most references to PostgreSQL control and catalog versions.", "body": "The control and catalog versions were stored a variety of places in the optimistic hope that they would be useful. In fact they never were.\n\nWe can't remove them from the backup.info and backup.manifest files due to backwards compatibility concerns, but we can at least avoid loading and storing them in C structures.\n\nAdd functions to the PostgreSQL interface which will return the control and catalog versions for any supported version of PostgreSQL to allow backwards compatibility for backup.info and backup.manifest. These functions will be useful in other ways, e.g. generating the tablespace identifier in PostgreSQL >= 9.0." }, { "commit": "843a602080e13ea0f205720892f7bfee58e075fb", "date": "2019-09-07 15:41:55 -0400", "subject": "Add user/group id to storageInfo().", "body": "This is required for some operations on Posix storage." }, { "commit": "1c7c1042b4509ff3ad42dad240d895617f01d644", "date": "2019-09-07 12:32:25 -0400", "subject": "Remove extraneous semicolons and add spaces." }, { "commit": "2eb1d1fee315e1e757856d3d88eb74b8434dad74", "date": "2019-09-06 16:50:57 -0400", "subject": "Rename lstRemove() to lstRemoveIdx().", "body": "This works better with the names of upcoming functions and seems sensible even in isolation." }, { "commit": "dde0c2b0c9c9743a863b6064e7dbb69de26fa364", "date": "2019-09-06 16:43:53 -0400", "subject": "Rename INFO_MANIFEST_FILE to MANIFEST_FILE.", "body": "This was missed in 5c314df0 when the module was renamed." }, { "commit": "4d84820021ad2a96922c87263d9200aace42358f", "date": "2019-09-06 13:48:28 -0400", "subject": "Improve performance of info file load/save.", "body": "Info files required three copies in memory to be loaded (the original string, an ini representation, and the final info object). Not only was this memory inefficient but the Ini object does sequential scans when searching for keys making large files very slow to load.\n\nThis has not been an issue since archive.info and backup.info are very small, but it becomes a big deal when loading manifests with hundreds of thousands of files.\n\nInstead of holding copies of the data in memory, use a callback to deliver the ini data directly to the object when loading. Use a similar method for save to avoid having an intermediate copy. Save is a bit complex because sections/keys must be written in alpha order or older versions of pgBackRest will not calculate the correct checksum.\n\nAlso move the load retry logic to helper functions rather than embedding it in the Info object. This allows for more flexibility in loading and ensures that stack traces will be available when developing unit tests." }, { "commit": "7334f30c350b5275106b9acf28b60d999287d800", "date": "2019-09-06 13:35:28 -0400", "subject": "Add helper function for adding CipherBlock filters to groups." }, { "commit": "5c314df098ee2295af400fb0b6b4f0cccd96fb69", "date": "2019-09-05 19:53:00 -0400", "subject": "Rename infoManifest module to manifest.", "body": "The manifest is not an info file so if anything it should be called backupManifest. But that seems too long for such a commonly used object so manifest seems better.\n\nNote that unlike Perl there is no storage manifest method so this stands as the only manifest in the C code, as befits its importance." }, { "commit": "8df7d68c8dca2c61b665bbbd1f26800c0dca3ae8", "date": "2019-09-03 18:28:53 -0400", "subject": "Fix sudo missed in \"Build pgBackRest as an unprivileged user\".", "body": "286a106a updated the documentation to build pgBackRest as an unprivileged user, but the wget command was missed. This command is not actually run, just displayed, because the release is not yet available when the documentation is built.\n\nUpdate the wget command to run as the local user." }, { "commit": "005684bf1f55206f122e1d0fcb4164cc84875ff5", "date": "2019-09-03 17:53:50 -0400", "subject": "Begin v2.18 development." }, { "commit": "ce2bf2999892f689001b084af4d5feb63dc9b402", "date": "2019-09-03 16:39:32 -0400", "subject": "v2.17: C Migrations and Bug Fixes" }, { "commit": "0b5720c642c040e16373f72a9058df094d05ca10", "date": "2019-09-03 14:34:49 -0400", "subject": "Fix yum.p.o package being installed when custom package specified.", "body": "The {[os-type-is-centos]} expression was missing parens which meant \"and\" expressions built on it would always evaluate true if the os-type was centos6." }, { "commit": "7d8068f27b6b695f9616fd985517692236dda47d", "date": "2019-09-03 12:30:45 -0400", "subject": "Don't decode manifest data when it is generated on a remote.", "body": "Decoding a manifest from the JSON provided by C to the hash required by Perl is an expensive process. If manifest() was called on a remote it was being decoded into a hash and then immediately re-encoded into JSON for transmission over the protocol layer.\n\nInstead, provide a function for the remote to get the raw JSON which can be transmitted as is and decoded in the calling process instead.\n\nThis makes remote manifest calls as fast as they were before 2.16, but local calls must still pay the decoding penalty and are therefore slower. This will continue to be true until the Perl storage interface is retired at the end of the C migration.\n\nNote that for reasonable numbers of tables there is no detectable difference. The case in question involved 250K tables with a 10 minute decode time (which was being doubled) on a fast workstation." }, { "commit": "1e55b876206c73d0ce32424814d100ef82d8da05", "date": "2019-09-03 07:49:04 -0400", "subject": "Add more commonly-used buffer constants." }, { "commit": "7ade3fc1c31f09425547d1869e82863582b1b137", "date": "2019-09-02 21:09:43 -0400", "subject": "Move constants from the infoManifest module to the infoBackup module.", "body": "These constants should be kept separate because the implementation of any info file might change in the future and only the interface should be expected to remain consistent.\n\nIn any case, infoBackup requires Variant constants while infoManifest uses String constants so they are not shareable. Modern compilers should combine the underlying const char * constants." }, { "commit": "3a28b68b8bde996252ad8941107744c74a062453", "date": "2019-09-02 19:06:12 -0400", "subject": "Disable S3 and encryption on u18 integration tests for mock/all/1.", "body": "This test is commonly used for sanity checking but the combination of S3 and encryption makes it hard to use and encourages temporary changes to make it usable.\n\nAcknowledge this and disable S3 and encryption for this test and move them to mock/all/2." }, { "commit": "05abab5e72e2e4d5d394b79533621dcf06d1f324", "date": "2019-08-30 14:36:02 -0400", "subject": "Add OBJECT_DEFINE_MOVE() macro.", "body": "The object *Move() functions are very repetitive so replace them with a macro that works similarly to OBJECT_DEFINE_FREE()." }, { "commit": "d1675b7e914a3e25a3d6cff2c73f36f69ec9f729", "date": "2019-08-28 10:46:54 -0400", "subject": "Add ioReadLineParam() to allow return on eof.", "body": "ioReadLine() errors on eof because it has previously been used only for protocol reads.\n\nReturning on eof is handy for reading lines from files where eof is not considered an error." }, { "commit": "a605117a2329965d65f985b4b8e991a5267416c2", "date": "2019-08-28 10:36:21 -0400", "subject": "Add required header.", "body": "Apparently this header is already included everywhere convert.h is included." }, { "commit": "8074ca6a2613f6b9310654b5e0f5c468ae7821e8", "date": "2019-08-26 12:30:22 -0400", "subject": "Fix typos in variable names." }, { "commit": "4a88791a0af78ba6f5496ec4e4351e9726662546", "date": "2019-08-26 12:29:43 -0400", "subject": "Fix typos in the release notes." }, { "commit": "545ccfa8786b631476c232a1d78791687e638432", "date": "2019-08-26 12:26:00 -0400", "subject": "Fix typos in the documentation." }, { "commit": "08bac74d38b126515e2620cdf129cd4cbd53f6e8", "date": "2019-08-26 12:20:51 -0400", "subject": "Fix typo in stack trace message." }, { "commit": "c2771e5469ecd94899243e86668a4bcc0d2c65f5", "date": "2019-08-26 12:05:36 -0400", "subject": "Fix comment typos.", "body": "This includes some variable names in tests which don't seem important enough for their own commits." }, { "commit": "22aa532be1be83c5b1df8db5fa85047e1255a789", "date": "2019-08-26 11:37:21 -0400", "subject": "Add storage tests for files beginning with dots.", "body": "Prevent a regression of the issue fixed in f88012ce by adding some tests." }, { "commit": "8c9df8c290f760b6a1f8a6a0acb6b4d9b8fa4056", "date": "2019-08-26 11:35:35 -0400", "subject": "Fix typo in httpClientReponseHeader() function name." }, { "commit": "d1cc22f886a865d5b7e0c3e699e4fbe89c11aade", "date": "2019-08-26 11:25:14 -0400", "subject": "Fix typo in CFGDEFDATA_OPTION_OPTIONAL_COMMAND_OVERRIDE macro name." }, { "commit": "01c2669b9764491ec3ca96ffd0de6676bef9e5dc", "date": "2019-08-23 07:47:54 -0400", "subject": "Fix exclusions for special files.", "body": "Prior to 2.16 the Perl manifest code would skip any file that began with a dot. This was not intentional but it allowed PostgreSQL socket files to be located in the data directory. The new C code in 2.16 did not have this unintentional exclusion so socket files in the data directory caused errors.\n\nWorse, the file type error was being thrown before the exclusion check so there was really no way around the issue except to move the socket files out of the data directory.\n\nSpecial file types (e.g. socket, pipe) will now be automatically skipped and a warning logged to notify the user of the exclusion. The warning can be suppressed with an explicit --exclude." }, { "commit": "2862f480cd1712ee9c188c28d79f2f9ed1bb9c6b", "date": "2019-08-23 07:24:25 -0400", "subject": "Add special file type to storageInfo().", "body": "There's not much we can do with special files, but higher level logic can at least exclude them gracefully rather than throwing a hard error." }, { "commit": "04e4fde5733bbe885ef94098f0114a3a160a88e5", "date": "2019-08-22 10:28:08 -0400", "subject": "Remove unneeded strFree() in storagePosixInfoListEntry().", "body": "This strFree() was the primary culprit in the performance issue fixed in 9eaeb33c.\n\nSince the parent mem context is now freed regularly, this strFree() performs better, but still adds time so removing it seems best." }, { "commit": "f88012cef3acc29fb5311c73ea1a84c1409d88ee", "date": "2019-08-22 10:18:34 -0400", "subject": "Fix regexp to ignore ./.. directories in the Posix driver.", "body": "In versions <= 2.15 the old regexp caused any file or directory beginning with . to be ignored during a backup. This has caused behavioral differences in 2.16 because the new C code correctly excludes ./.. directories.\n\nThis Perl code is only used for testing now, but it should still match the output of the C functions." }, { "commit": "c002a2ce2fb7a1bc4bbeaa5dee2f3e7d719ccc24", "date": "2019-08-21 19:45:48 -0400", "subject": "Move info file checksum to the end of the file.", "body": "Putting the checksum at the beginning of the file made it impossible to stream the file out when saving. The entire file had to be held in memory while it was checksummed so the checksum could be written at the beginning.\n\nInstead place the checksum at the end. This does not break the existing Perl or C code since the read is not order dependent.\n\nThere are no plans to improve the Perl code to take advantage of this change, but it will make the C implementation more efficient." }, { "commit": "c733319063bbc9d67ba99b96c178f1d9f863b8fe", "date": "2019-08-21 16:26:28 -0400", "subject": "The stanza-create/update/delete commands are implemented entirely in C." }, { "commit": "53f27da3a6d770608de6aa6059c40526b83b31dd", "date": "2019-08-21 15:41:52 -0400", "subject": "Add checkDbConfig() to compare pgBackRest/PostgreSQL configs.", "body": "Checking the PostgreSQL-reported path and version against the pgBackRest configuration helps ensure that pgBackRest is operating against the correct cluster.\n\nIn Perl this functionality was in the Db object, but check seems like a better place for it in C." }, { "commit": "8b93fdf3493d96fcbbc127604b502d246928ec8e", "date": "2019-08-21 15:26:52 -0400", "subject": "Add storagePg*() variants to get storage for a specified host id.", "body": "Previously the host id to use was pulled from the host-id option or defaulted to 1.\n\nThe stanza, check, and backup commands will all need the ability to address a specified pg host, so add functions to make that possible." }, { "commit": "fa640f22add9af88c2ddd584812d8fde93c8f8c5", "date": "2019-08-21 15:12:00 -0400", "subject": "Allow Info* objects to be created from scratch in C.", "body": "Previously, info files (e.g. archive.info, backup.info) were created in Perl and only loaded in C.\n\nThe upcoming stanza commands in C need to create these files so refactor the Info* objects to allow new, empty objects to be created. Also, add functions needed to initialize each Info* object to a valid state." }, { "commit": "aa6f7eb862f71bf0b8f64d3c5e3d67903b048214", "date": "2019-08-21 14:14:30 -0400", "subject": "Fix comment indents." }, { "commit": "71d96531f8b581d460ff24a229b676607fc8992b", "date": "2019-08-21 12:10:09 -0400", "subject": "Fix comment typo." }, { "commit": "c4533765fb5cd4b72f9fcb27f53db2a30165b9b2", "date": "2019-08-21 11:59:51 -0400", "subject": "Add Db object getters missed in e4901d50.", "body": "dbOpen() loaded the version and data directory but there was no way to get the data externally." }, { "commit": "27e823581201374df831abc4cf299ce4da29b910", "date": "2019-08-21 11:41:36 -0400", "subject": "Add repoIsLocalVerify() to verify repository locality.", "body": "Some commands can only be run on a host where the repository is local. This function centralizes the check and error." }, { "commit": "6a09d9294d0ef13158fbc96c9d38a28ac7a6f150", "date": "2019-08-21 11:29:30 -0400", "subject": "Require storage when calling pgControlFromFile().", "body": "Previously storageLocal() was being used internally but loading pg_control from remote storage is often required.\n\nAlso, storagePg() is more appropriate than storageLocal() for all current usage." }, { "commit": "286a106ae4932ae8213d62528de934afa99c246e", "date": "2019-08-20 09:46:29 -0400", "subject": "Build pgBackRest as an unprivileged user.", "body": "pgBackRest was being built by root in the documentation which is definitely not best practice.\n\nInstead build as the unprivileged default container user. Sudo privileges are still required to install." }, { "commit": "6b5366a663f8c408e56bb2f8e5b27821898a91cc", "date": "2019-08-19 21:57:14 -0400", "subject": "Remove Perl info command invocation missed in 205525b6." }, { "commit": "f6aef6e466ccba368fb53cc00450b501f35782fc", "date": "2019-08-19 21:45:54 -0400", "subject": "Properly reset conflicting pg-* options for the remote protocol.", "body": "The pg1-socket-path and pg1-port options were not being reset when options from a higher index were being pushed down for processing by a remote. Since remotes only talk to one cluster they always use the options in index 1. This requires moving options from the original index to 1 before starting the remote. All options already set on index 1 must be removed if they are not being overwritten." }, { "commit": "9eaeb33c882b79a1cade3ce65b5d1b51b6978b05", "date": "2019-08-19 21:36:01 -0400", "subject": "Improve slow manifest build for very large quantities of tables/segments.", "body": "storagePosixInfoList() processed each directory in a single memory context. If the directory contained hundreds of thousands of files processing became very slow due to the number of allocations.\n\nInstead, reset the memory context every thousand files to minimize the number of allocations active at once, improving both speed and memory consumption." }, { "commit": "d411321d28d2c94f3376b82984981624fe30e287", "date": "2019-08-19 21:16:10 -0400", "subject": "Add reset to temp memory contexts to save memory and processing time.", "body": "Processing large datasets in a memory context can lead to high memory usage and long allocation times. Add a new MEM_CONTEXT_TEMP_RESET_BEGIN() macro that allows temp allocations to be automatically freed after N iterations." }, { "commit": "7d97d49f41e961dcaa0d54b56538d3c5a0b8f6ce", "date": "2019-08-18 20:46:34 -0400", "subject": "Add MostCommonValue object.", "body": "Calculate the most common value in a list of variants. If there is a tie then the first value passed to mcvUpdate() wins.\n\nmcvResult() can be called multiple times because it does not end processing, but there is a cost to calculating the result each time\nsince it is not stored." }, { "commit": "8aa1e552b00cb3a9cf5665812e6de782f0805675", "date": "2019-08-18 20:09:44 -0400", "subject": "Add backup type conversion functions.", "body": "Convert back and forth between the string and enum representations of backup types." }, { "commit": "3df075bf4022e84f0238591b18bc5e866d6a2aa8", "date": "2019-08-18 15:29:18 -0400", "subject": "Fix test writing \"null\" into manifest files.", "body": "\"null\" is not allowed in the manifest format (null values should be missing instead) but Perl was treating the invalid values written by this test as if they were missing.\n\nUpdate the test code to remove the values rather than setting them to \"null\"." }, { "commit": "8edc57b5819a41d43524452de378ec409d05f4d9", "date": "2019-08-18 15:19:10 -0400", "subject": "Remove RHEL package patch merged to upstream." }, { "commit": "0da3352d59c3d985d6fad7b08d28446900932857", "date": "2019-08-17 17:52:00 -0400", "subject": "Add cvtZToMode() replacement missed in 969e5817." }, { "commit": "d0dee2e26027f866c282050457d61d6907f3263f", "date": "2019-08-17 17:47:13 -0400", "subject": "Add bool rendering to jsonFromVar()." }, { "commit": "8fc1d3883b2d96d4f518ff2bfa810b082cc48b38", "date": "2019-08-17 17:43:56 -0400", "subject": "Fix expire not immediately writing into separate file after backup.", "body": "Logging stayed in the backup log until the Perl code started. Fix this so it logs to the correct file and will still work after the Perl code is removed." }, { "commit": "41b6795a374391d66dcfb2df0521f1d7acf84b3e", "date": "2019-08-17 14:15:37 -0400", "subject": "Create log directories/files with 0750/0640 mode.", "body": "The log directories/files were being created with a mix of modes depending on whether they were created in C or Perl. In particular, the C code was creating log files with the execute bit set for the user and group which was just odd.\n\nStandardize on 750/640 for both code paths." }, { "commit": "bc5385142c75f5fa390531a8ff1bd660dd1380ef", "date": "2019-08-09 15:18:42 -0400", "subject": "Change comment for searchability." }, { "commit": "382ed9282504b2adced37275937d2414632bb968", "date": "2019-08-09 15:17:18 -0400", "subject": "The start/stop commands are implemented entirely in C.", "body": "The Perl versions remain because they are still being used by the Perl stanza commands. Once the stanza commands are migrated they can be removed." }, { "commit": "fe196cb0dffacb5d2d1488e3b592cc8ba3f39a5e", "date": "2019-08-09 14:52:26 -0400", "subject": "Update RHEL patch for upstream changes.", "body": "This isn't correct, but we can't test anything else if the package doesn't build." }, { "commit": "0e7134d114af1767addce36a3857ea3fd38abc5f", "date": "2019-08-08 18:50:54 -0400", "subject": "Constify some globals." }, { "commit": "e9517dcec05c75a03fa73029250de4f5b21fdfd3", "date": "2019-08-08 18:47:02 -0400", "subject": "Add hash constants for zero-length data.", "body": "No need to calculate a hash when the data length is known to be zero. Use one of these constants instead." }, { "commit": "56c24b7669f1e636a8221106547469065eb7d161", "date": "2019-08-08 16:20:51 -0400", "subject": "Fix typo in parameter logging." }, { "commit": "1076b142e38a4960af1157bd117fa2aacee7d8e6", "date": "2019-08-08 16:15:42 -0400", "subject": "Remove Debian package patch merged to upstream." }, { "commit": "969e5817c5d29890cbe12fa95422cd8703abf8d9", "date": "2019-08-08 11:59:39 -0400", "subject": "Add cvtZToMode().", "body": "The companion function to cvtModeToZ()." }, { "commit": "1f93e147fa8563028db8b58621db4a1a12387c87", "date": "2019-08-08 11:41:49 -0400", "subject": "Add kvGetDefault() to KeyValue object.", "body": "Return the default only if the key is not found, not when the value is NULL." }, { "commit": "289b47902ba1f49a1baea9fdce53eec52d5358bb", "date": "2019-08-08 10:50:25 -0400", "subject": "Allow NULLs in strEq().", "body": "Bring this function more in line with the way varEq() works. NULL == NULL but NULL != NOT NULL." }, { "commit": "feec674b6ff88bdfa62b20dd706d724c79ca1bcd", "date": "2019-08-08 06:48:25 -0400", "subject": "Add constant for lock file extension." }, { "commit": "efc62c90573bd7a0595d81bcf8a261f732fa1fa9", "date": "2019-08-05 12:32:06 -0400", "subject": "Begin v2.17 development." }, { "commit": "9e730c1bd61b00fa506ea443cdd6161e88ed31ae", "date": "2019-08-05 12:03:04 -0400", "subject": "v2.16: C Migrations and Bug Fixes" }, { "commit": "3d3003e9ca6dd449ea16c6812d1cabc392c9d294", "date": "2019-08-01 20:35:01 -0400", "subject": "The check command is implemented partly in C.", "body": "Implement switch WAL and archive check in C but leave the rest in Perl for now.\n\nThe main idea was to have some real integration tests for the new database code so the rest of the migration can wait." }, { "commit": "e4901d50d5e99168f7962b93f7a327e45f7b7fed", "date": "2019-08-01 15:38:27 -0400", "subject": "Add Db object to encapsulate PostgreSQL queries and commands.", "body": "Migrate functionality from the Perl Db module to C. For now this is just enough to implement the WAL switch check.\n\nAdd the dbGet() helper function to get Db objects easily.\n\nCreate macros in harnessPq to make writing pq scripts easier by grouping commonly used functions together." }, { "commit": "f9e1f3a79823ee1bd6656e4f7a8fb23e735b8ccf", "date": "2019-08-01 14:28:30 -0400", "subject": "Retry S3 RequestTimeTooSkewed errors instead of immediately terminating.", "body": "The cause of this error seems to be that a failed request takes so long that a subsequent retry at the http level uses outdated headers.\n\nWe're not sure if pgBackRest it to blame here (in one case a kernel downgrade fixed it, in another case an incorrect network driver was the problem) so add retries to hopefully deal with the issue if it is not too persistent. If SSL_write() has long delays before reporting an error then this will obviously affect backup performance." }, { "commit": "2eb3c9f95f6e57072b65da81cb07a1268ebbf38e", "date": "2019-08-01 09:58:24 -0400", "subject": "Improve error handling for SSL_write().", "body": "Error codes were not being caught for SSL_write() so it was hard to see exactly what was happening in error cases. Report errors to aid in debugging.\n\nAlso add a retry for SSL_ERROR_WANT_READ. Even though we have not been able to reproduce this case it is required by SSL_write() so go ahead and implement it." }, { "commit": "89c67287bcb8bc7884b5dd37703b0d7786c68b95", "date": "2019-07-31 20:44:49 -0400", "subject": "Improve multi-host handling in protocol helper.", "body": "Multiple PostgreSQL hosts were supported via the host-id option but there are cases where it is useful to be able to directly specify the host id required, e.g. to iterate through pg* hosts when looking for candidate primaries and standbys during backup." }, { "commit": "893ae24284e506c551fbc28bec8719881a856e2a", "date": "2019-07-31 19:58:57 -0400", "subject": "Add timeout to walSegmentFind().", "body": "Keep trying to locate the WAL segment until timeout. This is useful for the check and backup commands which must wait for segments to arrive in the archive." }, { "commit": "03b28da1cac8f39c7f57d2c15a83ad667a51b997", "date": "2019-07-31 11:35:58 -0400", "subject": "Rename control/control module to control/common.", "body": "This is more consistent with how other common modules are named." }, { "commit": "a04baa1bdc07f85041bfaf910f122b7ae278d6aa", "date": "2019-07-30 11:42:56 -0400", "subject": "Fix incorrect comment (obviously pasted from S3 code)." }, { "commit": "3d892cfb75c3303b0b592d4481d415d25c3f0df9", "date": "2019-07-30 11:39:01 -0400", "subject": "Remove extra linefeed." }, { "commit": "88c1929ec5a41915753e3d3078bdaae62d14bf0f", "date": "2019-07-26 08:37:58 -0400", "subject": "Don't pass local config* options to the remote.", "body": "The remotes have their own config options (repo-host-config, etc.) so don't pass the local config* options.\n\nThis was a regression from the behavior of the Perl code and while there have been no field reports it caused breakage on test systems with multiple configurations." }, { "commit": "f8b0676fd6edbe915bc23d2f082b4862004ca151", "date": "2019-07-25 20:15:06 -0400", "subject": "Allow modules to be included for testing without requiring coverage.", "body": "Sometimes it is useful to get at the internals of a module that is not being tested for coverage in order to provide coverage for another module that is being tested. The include directive allows this.\n\nUpdate modules that had previously been added to coverage that only need to be included." }, { "commit": "554d98746a96d5a93e3449d62c81c9b7a7c84e9d", "date": "2019-07-25 17:36:51 -0400", "subject": "Add repo-s3-port option for setting a non-standard S3 service port.", "body": "If this option is set then ports appended to repo-s3-endpoint or repo-s3-host will be ignored.\n\nSetting this option explicitly may be the only way to use a bare ipv6 address with S3 (since multiple colons confuse the parser) but we plan to improve this in the future." }, { "commit": "d8ca0e5c5bc2af6b85b20f48b40b83762d415b7a", "date": "2019-07-25 17:05:39 -0400", "subject": "Add Perl interface to C PgQuery object.", "body": "This validates that all current queries work with the new interface and removes the dependency on DBD::Pg." }, { "commit": "415542b4a3589ff7b25dbd97d1041a9b1ff87815", "date": "2019-07-25 14:50:02 -0400", "subject": "Add PostgreSQL query client.", "body": "This direct interface to libpq allows simple queries to be run against PostgreSQL and supports timeouts.\n\nTesting is performed using a shim that can use scripted responses to test all aspects of the client code. The shim will be very useful for testing backup scenarios on complex topologies." }, { "commit": "59f135340d4f76c522c8b24ecb23d56b57b2b0f8", "date": "2019-07-25 14:34:16 -0400", "subject": "The local command for backup is implemented entirely in C.", "body": "The local process is now entirely migrated to C. Since all major I/O operations are performed in the local process, the vast majority of I/O is now performed in C." }, { "commit": "54ec8f151e4164c3f363f417bece7c4b1533dfd6", "date": "2019-07-24 19:45:35 -0400", "subject": "Add int rendering to jsonFromVar()." }, { "commit": "615735e7eed32c429a13559584a7268e4dbff3fc", "date": "2019-07-24 06:52:49 -0400", "subject": "Add new types to JSON render.", "body": "Add bool, array, and int64 as valid array subtypes.\n\nPretty print for the array subtype is not correct but is currently not in use (this can be seen at line 328 in typeJsonTest.c)." }, { "commit": "62f0c7fb37e160d4a8a2dbe410fe8a569bc4ba38", "date": "2019-07-22 13:09:51 -0400", "subject": "Add lock bot configuration.", "body": "Lock closed issues after ninety days to prevent posting on old issues." }, { "commit": "38ba458616f450232dc1090306e651561c9b3076", "date": "2019-07-18 08:42:42 -0400", "subject": "Add IoSink filter.", "body": "Discard all data passed to the filter. Useful for calculating size/checksum on a remote system when no data needs to be returned.\n\nUpdate ioReadDrain() to automatically use the IoSink filter." }, { "commit": "d1dd6add4853a77d2ebbf27c326bbb4670b78955", "date": "2019-07-17 16:55:21 -0400", "subject": "Remove never-used infoBackupCheckPg() function.", "body": "Contributed by Cynthia Shang." }, { "commit": "3bdba4933d45451a3fa6f5dafcb79fd976bffef6", "date": "2019-07-17 16:49:42 -0400", "subject": "Fix incorrect handling of transfer-encoding response to HEAD request.", "body": "The HTTP server can use either content-length or transfer-encoding to indicate that there is content in the response. HEAD requests do not include content but return all the same headers as GET. In the HEAD case we were ignoring content-length but not transfer-encoding which led to unexpected eof errors on AWS S3. Our test server, minio, uses content-length so this was not caught in integration testing.\n\nIgnore all content for HEAD requests (no matter how it is reported) and add a unit test for transfer-encoding to prevent a regression." }, { "commit": "6f981c53bb63d3a644a8573cb9edb162c443d03b", "date": "2019-07-17 15:44:55 -0400", "subject": "Remove obsolete ignoreMissing parameter.", "body": "Contributed by Cynthia Shang." }, { "commit": "7662d32e6020148d822fd5080f2a5ebda7ebe103", "date": "2019-07-17 15:42:37 -0400", "subject": "Fix comment typos and clarify HEAD response behavior." }, { "commit": "eee67db4d611bb18950daf7bddb84217b010d767", "date": "2019-07-17 14:09:50 -0400", "subject": "Allow pg storage to be remote.", "body": "None of the currently migrated commands needed remote pg storage but now backup, check, stanza-* will need it." }, { "commit": "30f55a3c2a139ffd59547fd8e422c3fae3feecd3", "date": "2019-07-15 17:36:24 -0400", "subject": "Add compressed storage feature.", "body": "This feature denotes storage that can compress files so that they take up less space than what was written. Currently this includes the Posix and CIFS drivers. The stored size of the file will be rechecked after write to determine if the reported size is different. This check would be wasted on object stores such as S3, and they might not report the file as existing immediately after write.\n\nAlso add tests to each storage driver to check features." }, { "commit": "3e1062825dde7cab506225a3b0658552b44de7ce", "date": "2019-07-15 16:49:46 -0400", "subject": "Allow multiple filters to be pushed to the remote and return results.", "body": "Previously only a single filter could be pushed to the remote since order was not being maintained. Now the filters are strictly ordered.\n\nResults are returned from the remote and set in the local IoFilterGroup so they can be retrieved.\n\nExpand remote filter support to include all filters." }, { "commit": "d5654375a5152764f76335eb5265eb994d1df6bd", "date": "2019-07-15 08:44:41 -0400", "subject": "Add ioReadDrain().", "body": "Read all data from an IoRead object and discard it. This is handy for calculating size, hash, etc. when the output is not needed.\n\nUpdate code where a loop was used before." }, { "commit": "cdb75ac8b38810e2e7c6f5d0161443650f94bb31", "date": "2019-07-15 07:13:36 -0400", "subject": "Add constants for path and archive.info/backup.info combinations.", "body": "Contributed by Cynthia Shang." }, { "commit": "ede7df9fb1d937f228e982d987d306345007dfe0", "date": "2019-07-14 15:53:31 -0400", "subject": "Allow NULL in JSON list." }, { "commit": "c836c483dc7198a685991753300bae49d3caa73c", "date": "2019-07-14 15:42:55 -0400", "subject": "Add lstClear() to List object." }, { "commit": "e10577d0b0c8054a08513b069e2f2647ddd51fb7", "date": "2019-07-11 09:13:56 -0400", "subject": "Fix incorrect offline upper bound for ignoring page checksum errors.", "body": "For offline backups the upper bound was being set to 0x0000FFFF0000FFFF rather than UINT64_MAX. This meant that page checksum errors might be ignored for databases with a lot of past WAL in offline mode.\n\nOnline mode is not affected since the upper bound is retrieved from pg_start_backup()." }, { "commit": "2fd0ebb78aabe882d4b080d4014d7ecabbded3da", "date": "2019-07-10 15:08:35 -0400", "subject": "Fix links broken by non-standard version.", "body": "Using version 2.15.1 fixed the duplicate tarball problem but broke the auto-generated links. Fix them manually since this should not be a common problem." }, { "commit": "6a89c1526e1ecc2940ed2bf42258ceb9ef85f0e0", "date": "2019-07-10 12:04:25 -0400", "subject": "Revert a2dcdc07.", "body": "It is simpler to implement the required logic in stanza-delete rather than add complexity to this function." }, { "commit": "04646599a776348914b3e9bb9b707d2845540aac", "date": "2019-07-10 06:17:33 -0400", "subject": "Remove extraneous test macro." }, { "commit": "4e7db608dc6488feb99e5f2707f06e3ca39d78e8", "date": "2019-07-10 06:11:21 -0400", "subject": "Clarify that return statements are not removed in production builds." }, { "commit": "a22a6dc08c25a2af9ac9a6f2331144f2bae8dcbe", "date": "2019-07-10 06:06:07 -0400", "subject": "Update contributor name." }, { "commit": "a2dcdc0711a8dfb7d562b2ee0a8586de9676669f", "date": "2019-07-09 16:41:58 -0400", "subject": "Update lockStopTest() to optionally return a result rather than error.", "body": "Some commands (e.g. stanza-delete) would prefer to throw a customized error." }, { "commit": "27b3246e852e98902f21589f5cdfece9ebb27b39", "date": "2019-07-08 08:29:25 -0400", "subject": "Exclude more build files from rsync between tests.", "body": "Files (especially build.auto.h) were being removed and forcing a full build between separate invocations of test.pl.\n\nThis affected ad-hoc testing at the command-line, not a full test run in CI." }, { "commit": "5e1ed2e8a52c2c4d2151ef17496f0847cd9ae939", "date": "2019-07-05 18:34:15 -0400", "subject": "Remove clang static analysis.", "body": "This analysis never produced anything but false positives (var might be NULL) but took over a minute per test run and added 600MB to the test container." }, { "commit": "488fb672948c07abfd7e38604eacbd0f82610b1a", "date": "2019-07-05 17:25:01 -0400", "subject": "Force PostgreSQL versions to string for newer versions of JSON:PP.", "body": "Since 2.91 JSON::PP has a bias for saving variables that look like numbers as numbers even if they were declared as strings.\n\nForce versions to strings where needed by appending ''.\n\nUpdate the json-pp-perl package on Ubuntu 18.04 to 2.97 to provide test coverage." }, { "commit": "9836578520e3fb5c038230ebfb123001a7eb32fa", "date": "2019-07-05 16:55:17 -0400", "subject": "Remove perl critic and coverage.", "body": "No new Perl code is being developed, so these tools are just taking up time and making migrations to newer platforms harder. There are only a few Perl tests remaining with full coverage so the coverage tool does not warn of loss of coverage in most cases.\n\nRemove both tools and associated libraries." }, { "commit": "fc2101352206a87f8471fd37455d9cd990fce95d", "date": "2019-07-05 16:25:28 -0400", "subject": "Fix scoping violations exposed by optimizations in gcc 9.", "body": "gcc < 9 makes all compound literals function scope, even though the C spec requires them to be invalid outside the current scope. Since the compiler and valgrind were not enforcing this we had a few violations which caused problems in gcc >= 9.\n\nEven though we are not quite ready to support gcc 9 officially, fix the scoping violations that currently exist in the codebase." }, { "commit": "1708f1d1514b3f2afb69664317df705a1fccfaf7", "date": "2019-07-02 22:20:35 -0400", "subject": "Use minio for integration testing.", "body": "ScalityS3 has not received any maintenance in years and is slow to start which is bad for testing. Replace it with minio which starts quickly and ships as a single executable or a tiny container.\n\nMinio has stricter limits on allowable characters but should still provide enough coverage to show that our encoding is working correctly.\n\nThis commit also includes the upgrade to openssl 1.1.1 in the Ubuntu 18.04 container." }, { "commit": "b9b21315ead6610bb41ee19794763555a7265261", "date": "2019-07-02 22:09:12 -0400", "subject": "Updates for openssl 1.1.1.", "body": "Some HTTP error tests were failing after the upgrade to openssl 1.1.1, though the rest of the unit and integration tests worked fine. This seemed to be related to the very small messages used in the error testing, but it pointed to an issue with the code not being fully compliant, made worse by auto-retry being enabled by default.\n\nDisable auto-retry and implement better error handling to bring the code in line with openssl recommendations.\n\nThere's no evidence this is a problem in the field, but having all the tests pass seems like a good idea and the new code is certainly more robust.\n\nCoverage will be complete in the next commit when openssl 1.1.1 is introduced." }, { "commit": "c55009d0f9ebfea746ab270be167dc2d78976ce9", "date": "2019-06-27 14:39:11 -0400", "subject": "Community yum package can be installed with --var=package=yum.", "body": "Like apt, the community yum package can now be installed instead of a user-specified package." }, { "commit": "b0728c33dbd7c99a7b785c152f20d5cdfa902bff", "date": "2019-06-27 14:30:20 -0400", "subject": "Remove Debian package patch merged to upstream." }, { "commit": "020101b30bfe9f2d34b878fcd51fad932781d9f8", "date": "2019-06-27 09:38:40 -0400", "subject": "Update release notes to explicitly select release commit when tagging." }, { "commit": "33e3d316d63a41cd64d217abe30786cfb48bf09e", "date": "2019-06-26 19:52:04 -0400", "subject": "Reverse loop in infoPgSave() to be consistent with infoPgNewLoad().", "body": "Contributed by Cynthia Shang." }, { "commit": "4bffa0c5bb7d551c60b8d8bcff9a3bbe6e02eddd", "date": "2019-06-26 15:02:30 -0400", "subject": "Add test function to create the S3 bucket instead of using aws cli.", "body": "Eventually the idea is to remove the dependency on aws cli since Python is a big install." }, { "commit": "4815752ccc46ff742f67b369bc75ad3efcf11204", "date": "2019-06-26 08:24:58 -0400", "subject": "Add Perl interface to C storage layer.", "body": "Maintaining the storage layer/drivers in two languages is burdensome. Since the integration tests require the Perl storage layer/drivers we'll need them even after the core code is migrated to C. Create an interface layer so the Perl code can be removed and new storage drivers/features introduced without adding Perl equivalents.\n\nThe goal is to move the integration tests to C so this interface will eventually be removed. That being the case, the interface was designed for maximum compatibility to ease the transition. The result looks a bit hacky but we'll improve it as needed until it can be retired." }, { "commit": "bd6c0941e9e3aa2dab84f7404da1f9dc60cd693b", "date": "2019-06-25 17:27:19 -0400", "subject": "Fix missing dash in site name.", "body": "Without this the project name and tagline just run together." }, { "commit": "466602387bc279aa44a811dc2948b893e4127b2c", "date": "2019-06-25 08:42:20 -0400", "subject": "Begin v2.16 development." }, { "commit": "6650d8144cba46f93ad75c11ad98d87c57d2ea7f", "date": "2019-06-25 08:29:06 -0400", "subject": "v2.15: C Implementation of Expire" }, { "commit": "51fcaee43edf022aea0f94b76d254f2de8b6e1d1", "date": "2019-06-25 07:58:38 -0400", "subject": "Add host-repo-path variable internal replacement.", "body": "This variable needs to be replaced right before being used without being added to the cache since the host repo path will vary from system to system.\n\nThis is frankly a bit of a hack to get the documentation to build in the Debian packages for the upcoming release. We'll need to come up with something more flexible going forward." }, { "commit": "5cbe2dee855577ccd14051cad35f30376db21d50", "date": "2019-06-25 07:36:16 -0400", "subject": "Add compress-level-network option to ls command.", "body": "039e515a added a dependency on compress-level-network but the ls command did not get updated." }, { "commit": "d7f12f268a370e388c6a6375666831ecd8fad72c", "date": "2019-06-24 19:27:13 -0400", "subject": "Redact secure options in the help command.", "body": "Secure options could show up in the help as \"current\". While the user must have permissions to see the source of the options (e.g. environment, config file) it's still not a good idea to display them in an unexpected context.\n\nInstead show secure options as in the help command." }, { "commit": "c22e10e4a938b444ac7912efc3b751829401360f", "date": "2019-06-24 15:42:33 -0400", "subject": "Honor configure --prefix option.", "body": "The --prefix option was entirely ignored and DESTDIR was a combination of DESTDIR and bindir.\n\nBring both in line with recommendations for autoconf and make as specified in https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html and https://www.gnu.org/prep/standards/html_node/DESTDIR.html." }, { "commit": "b498188f01f8d2ccd4d0ce2cce3af2e5069d9ac3", "date": "2019-06-24 11:59:44 -0400", "subject": "Error on db history mismatch when expiring.", "body": "Amend commit 434cd832 to error when the db history in archive.info and backup.info do not match.\n\nThe Perl code would attempt to reconcile the history by matching on system id and version but we are not planning to migrate that code to C. It's possible that there are users with mismatches but if so they should have been getting errors from info for the last six months. It's easy enough to manually fix these files if there are any mismatches in the field." }, { "commit": "039e515a319216035187c89efccf97143d4cac03", "date": "2019-06-24 10:20:47 -0400", "subject": "Allow protocol compression when read/writing remote files.", "body": "If the file is compressible (i.e. not encrypted or already compressed) it can be marked as such in storageNewRead()/storageNewWrite(). If the file is being read from/written to a remote it will be compressed in transit using gzip.\n\nSimplify filter group handling by having the IoRead/IoWrite objects create the filter group automatically. This removes the need for a lot of NULL checking and has a negligible effect on performance since a filter group needs to be created eventually unless the source file is missing.\n\nAllow filters to be created using a VariantList so filter parameters can be passed to the remote." }, { "commit": "62715ebf2d8b0585c35cd2ee14d6aabf9cc0f1f8", "date": "2019-06-19 17:49:38 -0400", "subject": "Fix archive retention expiring too aggressively.", "body": "The problem expressed when repo1-archive-retention-type was set to diff. In this case repo1-archive-retention ended up being effectively equal to one, which meant PITR recovery was only possible from the last backup. WAL required for consistency was still preserved for all backups.\n\nThis issue is not present in the C migration committed at 434cd832, which was written before this bug was reported. Even so, we wanted to note this issue in the release notes in case any other users have been affected.\n\nFixed by Cynthia Shang.\nReported by Mohamad El-Rifai." }, { "commit": "a7d64bab7abe56132ad1c83eb6bfcca1166e0000", "date": "2019-06-18 19:02:09 -0400", "subject": "Add FAQ on where to find old Debian/Ubuntu packages." }, { "commit": "e2d791394a3577aac53a21e3141e4e337ac8edf0", "date": "2019-06-18 18:42:47 -0400", "subject": "Add FAQ to the documentation.", "body": "Contributed by Cynthia Shang." }, { "commit": "434cd832855e4e189403962753fd8771e29880a4", "date": "2019-06-18 15:19:20 -0400", "subject": "The expire command is implemented entirely in C.", "body": "This implementation duplicates the functionality of the Perl code but does so with different logic and includes full unit tests.\n\nAlong the way at least one bug was fixed, see issue #748." }, { "commit": "f88bee7b3321a2c79f0317913ba1e83a56d19c7d", "date": "2019-06-18 10:13:28 -0400", "subject": "TLS/HTTP statistics log replacements.", "body": "These statistics can change with any code update so they cause a lot of churn in the expect logs." }, { "commit": "0efdf2576f02b1768fb8805b27571e403ac3cb52", "date": "2019-06-18 07:35:34 -0400", "subject": "Remove hard-coded PostgreSQL user so $PGUSER works.", "body": "The PostgreSQL user was hard-coded to the OS user which libpq will automatically use if $PGUSER is not set, so this code was redundant and prevented $PGUSER from working when set." }, { "commit": "593446718a8997bfd674cf5e54230290cb5bcdea", "date": "2019-06-18 06:45:47 -0400", "subject": "Add S3 info type missed in 7f2f5354.", "body": "File is the only type possible in S3." }, { "commit": "0a96a2895d7a1e4c5eec402d3742f1d1e25cc126", "date": "2019-06-17 09:16:44 -0400", "subject": "Add storage layer for tests and documentation.", "body": "The tests and documentation have been using the core storage layer but soon that will depend entirely on the C library, creating a bootstrap problem (i.e. the storage layer will be needed to build the C library).\n\nCreate a simplified Posix storage layer to be used by documentation and the parts of the test code that build and execute the actual tests. The actual tests will still use the core storage driver so they can interact with any type of storage." }, { "commit": "ceafd8e19d416106f50c4ff440bf1cf7fcb5553f", "date": "2019-06-17 07:52:03 -0400", "subject": "Migrate page checksum filter to C.", "body": "This filter exactly mimics the behavior of the Perl filter so is a drop-in replacement.\n\nThe filter is not integrated yet since it requires the Perl-to-C storage layer interface coming in a future commit." }, { "commit": "892f35a7283462fae0bc3077aeb23c9624a50dea", "date": "2019-06-17 07:42:12 -0400", "subject": "Add new types to JSON render.", "body": "Still not a complete list, but we are getting there." }, { "commit": "c64c9c05905d435cd650195ed9470355a4d2be2f", "date": "2019-06-17 06:59:06 -0400", "subject": "Add backup management functions to InfoBackup.", "body": "Allow current backups to be listed and deleted.\n\nAlso expose some constants required by expire and stanza-* commands." }, { "commit": "44bafc127d9d4e38478aa44d0adc0f34695c6640", "date": "2019-06-17 06:47:15 -0400", "subject": "Rename info*New() functions to info*NewLoad().", "body": "These names more accurately reflect what the functions do and follow the convention started in Info and InfoPg.\n\nAlso remove the ignoreMissing parameter since it was never used." }, { "commit": "f05fbc54a8f00a56937439fb88eafe8e239781e8", "date": "2019-06-14 08:04:28 -0400", "subject": "Fix filters not processing when there is no input.", "body": "Some filters (e.g. encryption and compression) produce output even if there is no input. Since the filter group was marked as \"done\" initially, processing would not run when there was zero input and that resulted in zero output.\n\nAll filters start not done so start the filter group the same way." }, { "commit": "9ba95e993ba3dbf73f8967a875608980e6380633", "date": "2019-06-13 17:58:33 -0400", "subject": "Use retries to wait for test S3 server to start.", "body": "The prior method of tailing the docker log no longer seems reliable. Instead, keep retrying the make bucket command until it works and show the error if it times out." }, { "commit": "b9233f7412e44c8daf41db05bd9699fa088ece5d", "date": "2019-06-13 12:44:40 -0400", "subject": "Create filter group in read/write object's memory context.", "body": "The filter group was being created in the parent context so it would go away if the parent context was freed." }, { "commit": "20be5c9bf39d606b8586ffcf575a7443c6375479", "date": "2019-06-13 12:35:13 -0400", "subject": "Remove extra spaces." }, { "commit": "fdd375b63d3962845efbb38a7020d852143b97fd", "date": "2019-06-11 16:26:32 -0400", "subject": "Integrate S3 storage driver with HTTP client cache.", "body": "This allows copying from one S3 object to another. We generally try to avoid doing this but there are a few cases where it is needed and the tests do it quite a bit.\n\nOne thing to look out for here is that reads require the http client to be explicitly released by calling httpClientDone(). This means than clients could grow if they are not released properly. The http statistics will hopefully alert us if this is happening." }, { "commit": "ced42d6511e9b5735a2281dd0e1faec41870fd37", "date": "2019-06-11 10:48:22 -0400", "subject": "Add HTTP client cache.", "body": "This cache manages multiple http clients and returns one to the caller that is not busy. It is the responsibility of the caller to indicate when they are done with a client. If returnContent is set then the client will automatically be marked done.\n\nAlso add special handing for HEAD requests to recognize that content-length is informational only and no content is expected." }, { "commit": "6e809e578fbd24269205de25cc6e9c84cefc5647", "date": "2019-06-11 10:34:42 -0400", "subject": "Add tag to specify minio version to use for documentation build.", "body": "The new minio major release broke the build. We'll need to figure that out but for now use the last major version, which is known to work." }, { "commit": "7f2f535460e3499c1811b5beca9130f84b78c982", "date": "2019-06-10 16:09:38 -0400", "subject": "Add info() and infoList() to S3 driver.", "body": "These should be the last functions required to complete the implementation of the S3 driver." }, { "commit": "9d1b03781f9fe88b868cdfaf4808d84ad1f072fb", "date": "2019-06-10 15:52:51 -0400", "subject": "Revert removal of aws cli in 3e1b06ac.", "body": "This is required for integration tests to create buckets." }, { "commit": "456391f67c220647e130fdc7a7fc805b075cfd87", "date": "2019-06-10 12:23:04 -0400", "subject": "Create general-purpose S3 list function.", "body": "There are already two functions which need file lists and more on the way, so create a general-purpose function to reduce code duplication." }, { "commit": "fb8bd095ca93e2bf77eaec0f7573f961f691c3ab", "date": "2019-06-10 10:37:20 -0400", "subject": "Add missing const qualifiers." }, { "commit": "78b333790c69aca991f740a9ea6b1982fb70c3d6", "date": "2019-06-07 10:35:44 -0400", "subject": "Return IoRead/IoWrite from io*FilterGroupSet()", "body": "This makes is possible to chain functions more effectively." }, { "commit": "e701e8fd846539ec20f2a9be90b0590ceb6a7be6", "date": "2019-06-05 11:50:49 -0400", "subject": "Expose storage type.", "body": "Code calling the storage should be driver agnostic but knowing the storage type can be useful for debugging and error reporting." }, { "commit": "6ff3325c7744a8f6f0e1e965fa673040a2f40a71", "date": "2019-06-05 11:43:17 -0400", "subject": "Enforce requiring repo-cipher-pass at config parse time.", "body": "This was not enforced at parse time because repo1-cipher-type could be passed on the command-line even in cases where encryption was not needed by the subprocess.\n\nFilter repo-cipher-type so it is never passed on the command line. If the subprocess does not have access to the passphrase then knowing the encryption type is useless anyway." }, { "commit": "d7bd0c58cdd9a434aa5893db16e6bcf8425e26b9", "date": "2019-06-05 07:27:24 -0400", "subject": "Use wal_level=replica in the documentation for PostgreSQL >= 9.6.", "body": "The documentation was using wal_level=hot_standby which is a deprecated setting.\n\nAlso remove the reference to wal_level=archive since it is no longer supported and is not recommended for older versions." }, { "commit": "aca11b2fa19337f934fc095e33f014d5e6df71f3", "date": "2019-06-04 17:40:27 -0400", "subject": "Add String to types supported by JSON list render.", "body": "All types should be supported eventually but for now this answers the need." }, { "commit": "0ab6f3bb87005d5a5d102156730b1e3099894189", "date": "2019-06-04 13:38:05 -0400", "subject": "Fix incorrect error type on missing path." }, { "commit": "4b91259de8d7feec6d33d154032169aa32c879e3", "date": "2019-06-04 12:56:04 -0400", "subject": "Make working with filter groups less restrictive.", "body": "Filter groups could not be manipulated once they had been assigned to an IO object. Now they can be freely manipulated up to the time the IO object is opened.\n\nAlso, move the filter group into the IO object's context so they don't need to be tracked separately." }, { "commit": "92e04ea9f4e0eb3f6cd88a72497a026cbd348280", "date": "2019-06-04 10:34:19 -0400", "subject": "Remove per-stanza repo cache clear during testing.", "body": "This was not being used and is not supported by the equivalent C code." }, { "commit": "44eb21ea935fdaa4e96d4637c7b62cb5a73d3e77", "date": "2019-06-04 10:05:27 -0400", "subject": "Use HEAD to check if a file exists on S3.", "body": "The previous implementation searched for the file in a list which worked but was not optimal. For arbitrary bucket structures it would also produce a false negative if a match was not found in the first 1000 entries. This was not an issue for our repo structure since the max hits on exists calls is two but it seems worth fixing to avoid future complications." }, { "commit": "15b8e3b6af7327179d8bdd2e0c6833ed28005b0b", "date": "2019-06-04 09:39:08 -0400", "subject": "Make C S3 requests use the same host logic as Perl.", "body": "The C code was passing the host (if specified) with the request which could force the server into path-style URLs, which are not supported.\n\nInstead, use the Perl logic of always passing bucket.endpoint in the request no matter what host is used for the HTTPS connection.\n\nIt's an open question whether we should support path-style URLs but since we don't it's useless to tell the server otherwise. Note that Amazon S3 has deprecated path-style URLs and they are no longer supported on newly created buckets." }, { "commit": "5f92c36b30072edb71b12f79163c37c67d9806bc", "date": "2019-06-04 08:04:33 -0400", "subject": "Fix erroneous parameter name.", "body": "The exists() function only checks for files so the parameter name should reflect that." }, { "commit": "0945d9666b5af1a5893ba0b4537e9cd1f72be478", "date": "2019-06-01 11:09:01 -0400", "subject": "Bring back PATH_PAX for platforms that don't define it.", "body": "This define was replaced in 8c712d89 with limits.h but that caused an issue with the hurd-i386 build for Debian which apparently does not define this value." }, { "commit": "a207af79215d05539825c484dbfa9aa2a26cf7d0", "date": "2019-06-01 09:44:40 -0400", "subject": "Fix mismatched log/test macros." }, { "commit": "12bca3c43eb2ee0df80ef5e10850657b52fb680b", "date": "2019-06-01 09:28:31 -0400", "subject": "Add CPPFLAGS to compile rules.", "body": "This should silence the last of the Debian package warnings." }, { "commit": "388ba0458c37ab4e8b82df0c0fa2b6a4d7462ecb", "date": "2019-05-31 18:37:31 -0400", "subject": "Fix build.flags being removed on each build.", "body": "This was being removed by rsync which forced a full build even when a partial should have been fine. Rewrite the file after the rsync so it is preserved." }, { "commit": "6cba50c3f23a7a7822ae0fd03ff3b5a3f6d8a32a", "date": "2019-05-31 18:32:40 -0400", "subject": "Remove Debian package patch merged to upstream." }, { "commit": "3a5fd7b28a79c1564ddd2b5bad36d4d4be358453", "date": "2019-05-30 11:19:59 -0400", "subject": "Fix typo in macro name." }, { "commit": "a2ec1253e97805e2a3b990d8bc23c98ab8013d09", "date": "2019-05-30 10:44:35 -0400", "subject": "Add code classification exclusion missed in 3e1b06ac." }, { "commit": "64260b2e9878944116dc78812a3a21633c5f3d15", "date": "2019-05-29 08:38:45 -0400", "subject": "Build all docs with S3 using --var=s3-all=y", "body": "Force repo-type=s3 for all tests. This is not currently the default for any OS builds." }, { "commit": "404284b90ff0f67fe29fa5a7b2831ebf51d459aa", "date": "2019-05-28 12:18:05 -0400", "subject": "Add internal flag for commands.", "body": "Allow commands to be skipped by default in the command help but still work if help is requested for the command directly. There may be other uses for the flag in the future.\n\nUpdate help for ls now that it is exposed." }, { "commit": "20e5b92f366848ec1464e2272c6af2c29ac7b36d", "date": "2019-05-28 10:03:48 -0400", "subject": "Add ls command.", "body": "Allows listing repo paths/files from the command-line, to be used primarily for testing and debugging.\n\nThis command is internal-only so the interface may change at any time without notice." }, { "commit": "3b3327eae6dd14f67f1002f094bd33ab7785f765", "date": "2019-05-28 09:50:59 -0400", "subject": "Move tls/http statistics output to command/command.", "body": "This module already has the filtering required to keep these messages from being displayed by default for commands that output to stdout (e.g. info)." }, { "commit": "3e1b06acaa84399abcfaa8c684f437b63aa38de5", "date": "2019-05-27 07:37:20 -0400", "subject": "Use minio as local S3 emulator in documentation.", "body": "The documentation was relying on a ScalityS3 container built for testing which wasn't very transparent. Instead, use the stock minio container and configure it in the documentation.\n\nAlso, install certificates and CA so that TLS verification can be enabled." }, { "commit": "a474ba54c5c9c7bdba6ffa3e92671bb9565889f6", "date": "2019-05-26 12:41:15 -0400", "subject": "Refactoring path support in the storage module.", "body": "Not all storage types support paths as a physical thing that must be created/destroyed. Add a feature to determine which drivers use paths and simplify the driver API as much as possible given that knowledge and by implementing as much path logic as possible in the Storage object.\n\nRemove the ignoreMissing parameter from pathSync() since it is not used and makes little sense.\n\nCreate a standard list of error messages for the drivers to use and apply them where the code was modified -- there is plenty of work still to be done here." }, { "commit": "38f28bd52081405321939fec66046bd9ada35c23", "date": "2019-05-26 12:32:49 -0400", "subject": "Log TLS and HTTP statistics on exit.", "body": "These stats measure how efficiently TLS and HTTP are reusing connections." }, { "commit": "819eda0818669ea9cc45bcd65c57e3b4c7d29129", "date": "2019-05-26 12:29:29 -0400", "subject": "Set log level of protocol processing functions to debug.", "body": "Setting these to trace effectively made debug level useless in local/remote processes since all debug messages were demoted to trace when called from these functions." }, { "commit": "d12d94c53c466eb808459b98669a877c19b5716b", "date": "2019-05-24 18:09:16 -0400", "subject": "Make info(), pathCreate() and pathSync() optional for storage drivers.", "body": "These functions are not required for repository storage so make them optional and error if they are not implemented for non-repository storage, .e.g. pg or spool.\n\nThe goal is to simplify the drivers (e.g. S3) that are intended only for repository storage." }, { "commit": "39645fc1a99540063399a7a3b86177a330bd743c", "date": "2019-05-24 14:33:47 -0400", "subject": "Add pathRemove() and remove() to S3 storage.", "body": "These functions will be needed for the expire command." }, { "commit": "6c385dfa7a7f489159c06c5a31fd3cd7c77c39a8", "date": "2019-05-24 13:56:38 -0400", "subject": "Add function to determine if HTTP response code is OK.", "body": "OK responses are a range rather than a single value, so simplify the check with a function." }, { "commit": "96770c529be4df408b9d1fc39fc5157e90555375", "date": "2019-05-24 13:12:56 -0400", "subject": "storageList() returns an empty list by default for missing paths.", "body": "The prior behavior was to return NULL so the caller would know the path was missing, but this is rarely useful, complicates the calling code, and increases the chance of segfaults.\n\nThe .nullOnMissing param has been added to enable the prior behavior." }, { "commit": "707e4a29f04a733cff868f37b90f8bf83a02394c", "date": "2019-05-24 11:09:43 -0400", "subject": "Notify compiler that cryptoErrorCode() does not return." }, { "commit": "01f3024b5c0a83819d58ee6ccc2edb5109277aaa", "date": "2019-05-24 11:06:11 -0400", "subject": "Add missing const qualifier." }, { "commit": "39cb6248314e21530924886e6e669ac395daeeb1", "date": "2019-05-24 07:45:03 -0400", "subject": "Add missing menus to the new user guides.", "body": "Since the CentOS 6/7 user guides were generated as a single page they did not get menus. Generate the entire site for each user guide so menus are included." }, { "commit": "04f8b4ea52f89d1542b25d2fb0ba28a43ddaba6d", "date": "2019-05-24 07:41:55 -0400", "subject": "Use git url for website clone." }, { "commit": "ec9622cde883c649c1346cbc0b9057e7f3fcb787", "date": "2019-05-22 18:54:49 -0400", "subject": "Use the git log to ease release note management.", "body": "The release notes are generally a direct reflection of the git log. So, ease the burden of maintaining the release notes by using the git log to determine what needs to be added.\n\nCurrently only non-dev items are required to be matched to a git commit but the goal is to account for all commits.\n\nThe git history cache is generated from the git log but can be modified to correct typos and match the release notes as they evolve. The commit hash is used to identify commits that have already been added to the cache.\n\nThere's plenty more to do here. For instance, links to the commits for each release item should be added to the release notes." }, { "commit": "86482c7db943375d48fcee0e243ca96bdf50d35c", "date": "2019-05-22 18:23:44 -0400", "subject": "Reduce log level for all expect tests to detail.", "body": "The C code is designed to be efficient rather than deterministic at the debug log level. As we move more testing from integration to unit tests it makes less sense to try and maintain the expect logs at this log level.\n\nMost of the expect logs have already been moved to detail level but mock/all still had tests at debug level. Change the logging defaults in the config file and remove as many references to log-level-console as possible." }, { "commit": "e4cc008b982d47ac526962e310c18626e2aefbc2", "date": "2019-05-22 11:31:38 -0400", "subject": "Remove duplicated hint.", "body": "At some point this hint got added to the underlying code so it is no longer needed here." }, { "commit": "ff9c1bed5de380a6e7df1cbc6870b972d93b3dc4", "date": "2019-05-22 11:24:18 -0400", "subject": "Save cipher-pass key/value missed in f492f057.", "body": "This value is required when encryption is enabled.\n\nIn passing simplify the expression used to skip the checksum when calculating the checksum." }, { "commit": "3da60f4b5ee8ed663fc5e8d8968709dbaadee1f6", "date": "2019-05-22 11:10:43 -0400", "subject": "Don't escape / when rendering JSON.", "body": "/ is escaped in the spec but the Perl renderer we use does not escape it which leads to checksum mismatches between the two sets of code.\n\nThis particular escape seems to be a more recent addition to the spec and is targeted toward embedding JSON in JavaScript.\n\n\\/ is still allowed when parsing JSON." }, { "commit": "664054fea94186374dcae84e31e0cd7329c279d0", "date": "2019-05-22 06:55:31 -0400", "subject": "Remove RHEL package patch merged to upstream." }, { "commit": "e1cce9c6147446c026f528cc4afe518de0bcb87f", "date": "2019-05-21 14:07:35 -0400", "subject": "Remove extraneous parens." }, { "commit": "936b8a289c4884dd22f7ff0d3d624d6e70980512", "date": "2019-05-21 10:37:30 -0400", "subject": "Allow separate paragraphs in release items.", "body": "The first paragraph should match the first line of the commit message as closely as possible. The following paragraphs add more information.\n\nRelease items have been updated back to 2.01." }, { "commit": "e3fe3434b4428398ffbee5359f0e0cdec8e55bcb", "date": "2019-05-21 10:14:41 -0400", "subject": "Rename repo-s3-verify-ssl option to repo-s3-verify-tls.", "body": "The new name is preferred because pgBackRest does not support any SSL protocol versions (they are all considered to be insecure).\n\nThe old name will continue to be accepted." }, { "commit": "1bc84c647490d6cf78975b5dde5b1937016d24c6", "date": "2019-05-20 17:07:37 -0400", "subject": "The local command for restore is implemented entirely in C.", "body": "This is just the part of restore run by the local helper processes, not the entire command.\n\nEven so, various optimizations in the code (like connection reuse and optimizations for zero-length files) should make the restore command faster on object stores." }, { "commit": "a839830333490555800377ea095d756765f476e4", "date": "2019-05-20 16:19:14 -0400", "subject": "Add most unimplemented functions to the remote storage driver.", "body": "Add pathCreate(), pathRemove(), pathSync(), and remove() to the driver." }, { "commit": "bbf2e0d5b0876d3663cc69d10925c6e0d08cd729", "date": "2019-05-20 12:24:43 -0400", "subject": "Remove extra linefeed." }, { "commit": "a9f589b87a09bd37ad903b5c37bcd3000d47840d", "date": "2019-05-20 12:23:40 -0400", "subject": "Begin v2.15 development." }, { "commit": "0f685a33a02adde45792711b957a75391fc5f34e", "date": "2019-05-20 11:51:58 -0400", "subject": "v2.14: Bug Fix and Improvements" }, { "commit": "51d67ce1ba932476b2349dbe611f77ab4f15213d", "date": "2019-05-16 09:59:34 -0400", "subject": "Update contributor name." }, { "commit": "2b75f57232e3d2c983e0a703b6807dadd0b4c0e6", "date": "2019-05-16 09:56:48 -0400", "subject": "Add linefeeds for clarity." }, { "commit": "19d8358cba0064392cd519e7bce66bb3dcce3dc9", "date": "2019-05-16 09:53:55 -0400", "subject": "Update mock/expire module test matrix so expect tests output.", "body": "Also add an error message to prevent regression." }, { "commit": "c51274d1b6a85aeb8ecf1dfffcdc68a503ac3de9", "date": "2019-05-16 08:32:02 -0400", "subject": "Add user guides for CentOS/RHEL 6/7.", "body": "It would be better if the documentation could be generated on multiple operating systems all in one go, but the doc system currently does not allow vars to be changed once they are set.\n\nThe solution is to run the docs for each required OS and stitch the documentation together. It's not pretty but it works and the automation in release.pl should at least make it easy to use." }, { "commit": "bc7b42e71811e1b3231c1386496efbdf8338e086", "date": "2019-05-16 07:35:45 -0400", "subject": "Restore index menu url default lost in b85e51d6.", "body": "The url for the menu item referring to the index (i.e. site root page) should use {[project-url-root]}.\n\nThis allows the url to be set to different values depending on the location of the index." }, { "commit": "a4561dc0879fd1fb383ecbeafa6936729a515190", "date": "2019-05-16 07:29:17 -0400", "subject": "Add --out-preserve to preserve contents of output path.", "body": "Useful for building a single set of documentation over multiple doc.pl runs." }, { "commit": "bc30027d730e4ce7090919406eb0d7f5c7f7e51e", "date": "2019-05-16 07:04:28 -0400", "subject": "Fix typo in doc.pl command-line help." }, { "commit": "18d4cb574180d279dbbdabd8b87b9dab43115659", "date": "2019-05-15 13:14:58 -0400", "subject": "Bypass database checks when stanza-delete issued with force.", "body": "Previously it was not possible to delete a stanza if the PostgreSQL server could not be contacted." }, { "commit": "5c1d4bcd0d41590e722f2d184cf64a62b740625c", "date": "2019-05-15 13:04:56 -0400", "subject": "Automate coverage summary report generation.", "body": "This report replaces the lcov report that was generated manually for each release.\n\nThe lcov report was overly verbose just to say that we have virtually 100% coverage." }, { "commit": "5bba72b87445f3edd2c7a2e636ffcb46cac5d9dd", "date": "2019-05-15 12:55:08 -0400", "subject": "Remove -Wswitch-enum compiler option.", "body": "The -Wswitch option included in -Wall provides the same level of coverage and allows enum options to be grouped into default." }, { "commit": "53f6232264f27a029d3f6261c75a16585ade1951", "date": "2019-05-14 10:35:39 -0400", "subject": "Improve coverage in config/parse module." }, { "commit": "1e5ab69cada2862cbc458ae322bdc166c244f0f8", "date": "2019-05-13 19:10:24 -0400", "subject": "Improve coverage in config/config module." }, { "commit": "57281d479296627e30cccd00c089f3fb40a076ca", "date": "2019-05-13 18:05:54 -0400", "subject": "Add MAX_ASSIGN() macro.", "body": "This improves coverage in cases where the compared values may be always ascending or descending." }, { "commit": "15a33bf74be84bda822e96c91e37479419b451a9", "date": "2019-05-13 17:10:41 -0400", "subject": "Error on multiple option alternate names and simplify help command.", "body": "There are currently no options with multiple alternate (deprecated) names so the code to render them in the help command could not be covered.\n\nRemove the uncovered code and add an error when multiple alternate names are configured. It's not clear that the current code was handling this correctly, so it will need to be reviewed if it comes up again." }, { "commit": "2d2bec842a2c424d5a36c98dc3a465da1696caf4", "date": "2019-05-13 13:36:24 -0400", "subject": "Improve coverage in perl/exec module." }, { "commit": "431532574b1e2e59979bd6cf3c333979d0817ad2", "date": "2019-05-13 07:51:11 -0400", "subject": "Add testUser() and testGroup().", "body": "Retrieve the name of the current user/group used for testing." }, { "commit": "31d0fe5f50a1a061c3ffbf7d194fafffee6a34b7", "date": "2019-05-11 18:20:57 -0400", "subject": "Improve log performance, simplify macros, rename logWill() to logAny().", "body": "Pre-calculate the value used by logAny() to improve performance and make it more likely to be inlined.\n\nMove IF_LOG_ANY() into LOG_INTERNAL() to simplify the macros and improve performance of LOG() and LOG_PID(). If the message has no chance of being logged there's no reason to call logInternal().\n\nRename logWill() to logAny() because it seems more intuitive." }, { "commit": "87f36e814ea95696870711018c050725e8e7269f", "date": "2019-05-11 14:51:51 -0400", "subject": "Improve macros and coverage rules that were hiding missing coverage.", "body": "The branch coverage exclusion rules were overly broad and included functions that ended in a capital letter, which disabled all coverage for the statement. Improve matching so that all characters in the name must be upper-case for a match.\n\nSome macros with internal branches accepted parameters that might contain conditionals. This made it impossible to tell which branches belonged to which, and in any case an overzealous exclusion rule was ignoring all branches in such cases. Add the DEBUG_COVERAGE flag to build a modified version of the macros without any internal branches to be used for coverage testing. In most cases, the branches were optimizations (like checking logWill()) that improve production performance but are not needed for testing. In other cases, a parameter needed to be added to the underlying function to handle the branch during coverage testing.\n\nAlso tweak the coverage rules so that macros without conditionals are automatically excluded from branch coverage as long as they are not themselves a parameter.\n\nFinally, update tests and code where missing coverage was exposed by these changes. Some code was updated to remove existing coverage exclusions when it was a simple change." }, { "commit": "f819a32cdf94bc799a4902ab6aaa559cd11d4ef8", "date": "2019-05-11 07:57:49 -0400", "subject": "Improve efficiency of FUNCTION_LOG*() macros.", "body": "Call stackTraceTestStop()/stackTraceTestStart() once per block instead of with every param call. This was done to be cautious but is not necessary and slows down development.\n\nThese functions were never built into production so had no impact there." }, { "commit": "7e2f6a6a4365b48fc89672b5d7de4c1d8937caa6", "date": "2019-05-09 12:28:39 -0400", "subject": "Clarify that sort order must be ascending." }, { "commit": "f0f105ddeca7b3434d9c3bb78e25247b3c6b7584", "date": "2019-05-09 12:10:46 -0400", "subject": "Improve filter's notion of \"done\" to optimize filter processing.", "body": "Filters had different ideas about what \"done\" meant and this added complication to the group filter processing. For example, gzip decompression would detect end of stream and mark the filter as done before it had been flushed.\n\nImprove the IoFilter interface to give a consistent definition of done across all filters, i.e. no filter can be done until it has started flushing no matter what the underlying driver reports. This removes quite a bit of tricky logic in the processing loop which tried to determine when a filter was \"really\" done.\n\nAlso improve management of the input buffers by pointing directly to the prior output buffer (or the caller's input) to eliminate loops that set/cleared these buffers." }, { "commit": "d5fac35fe3efe79f2b39a0e1b5ad3bb1cb1dd173", "date": "2019-05-09 09:53:24 -0400", "subject": "Improve zero-length content handling in HttpClient object.", "body": "If content was zero-length then the IO object was not created. This put the burden on the caller to test that the IO object existed before checking eof.\n\nInstead, create an IO object even if it will immediately return eof. This has little cost and makes the calling code simpler.\n\nAlso add an explicit test for zero-length files in S3 and a few assertions." }, { "commit": "15531151d7b3c07f51c442cb8951a5781bcc39d4", "date": "2019-05-09 08:55:48 -0400", "subject": "Add --c option to request a C remote.", "body": "The rules for when a C remote is required are getting complicated and will get worse when restoreFile() is migrated.\n\nInstead, set the --c option when a C remote is required. This option will be removed when the remote is entirely implemented in C." }, { "commit": "c99c7c458b0a04d1f1a637be70bb4f8e8011feb0", "date": "2019-05-09 08:28:58 -0400", "subject": "Add pathExists() to Storage object.", "body": "The S3 driver did not get an implementation since S3 has a weak notion of paths, and it is not currently required." }, { "commit": "cb00030ee38148a99df9d5ddcaef64252b0b50c9", "date": "2019-05-08 18:58:07 -0400", "subject": "Remove dead code missed in 1b486847.", "body": "This commit removed all Perl references to spool storage but some stuff was left behind." }, { "commit": "f1eea2312104ce7fa87119d6ef50a554b154e954", "date": "2019-05-03 18:52:54 -0400", "subject": "Add macros for object free functions.", "body": "Most of the *Free() functions are pretty generic so add macros to make creating them as easy as possible.\n\nCreate a distinction between *Free() functions that the caller uses to free memory and callbacks that free third-party resources. There are a number of cases where a driver needs to free resources but does not need a normal *Free() because it is handled by the interface.\n\nAdd common/object.h for macros that make object maintenance easier. This pattern can also be used for many more object functions." }, { "commit": "7ae96949f18af90a9b07f1dd712f939ca7a1ec41", "date": "2019-05-03 18:09:58 -0400", "subject": "Various MemContext callback improvements.", "body": "Rename memContextCallback() to memContextCallbackSet() to be more consistent with other parts of the code.\n\nFree all context memory when an exception is thrown from a callback. Previously only the child contexts would be freed and this resulted in some allocations being lost. In practice this is probably not a big deal since the process will likely terminate shortly, but there may well be cases where that is not true." }, { "commit": "4a20d44c6b118143f1c1607bacac0d4e268f6ffe", "date": "2019-05-03 17:49:57 -0400", "subject": "Add common/macro.h for general-purpose macros.", "body": "Add GLUE() macro which is useful for creating identifiers.\n\nMove MACRO_TO_STR() here and rename it STRINGIFY(). This appears to be the standard name for this type of macro and it is also an awesome name." }, { "commit": "32ca27a20b13941cfab27672d6f383a0ba44fa20", "date": "2019-05-03 15:46:15 -0400", "subject": "Simplify storage object names.", "body": "Remove \"File\" and \"Driver\" from object names so they are shorter and easier to keep consistent.\n\nAlso remove the \"driver\" directory so storage implementations are visible directly under \"storage\"." }, { "commit": "8c712d89ebe10e3d318952a0b4db8cd09f8a580c", "date": "2019-05-02 17:52:24 -0400", "subject": "Improve type safety of interfaces and drivers.", "body": "The function pointer casting used when creating drivers made changing interfaces difficult and led to slightly divergent driver implementations. Unit testing caught production-level errors but there were a lot of small issues and the process was harder than it should have been.\n\nUse void pointers instead so that no casts are required. Introduce the THIS_VOID and THIS() macros to make dealing with void pointers a little safer.\n\nSince we don't want to expose void pointers in header files, driver functions have been removed from the headers and the various driver objects return their interface type. This cuts down on accessor methods and the vast majority of those functions were not being used. Move functions that are still required to .intern.h.\n\nRemove the special \"C\" crypto functions that were used in libc and instead use the standard interface." }, { "commit": "28359eea83206f6eeddd3fbc91a52cd42399e529", "date": "2019-05-02 16:33:23 -0400", "subject": "Update code count rules missed in 027c2638." }, { "commit": "0c816f94814767dd96040aa2cb299dfa169d59e5", "date": "2019-05-02 15:19:26 -0400", "subject": "Update comments for storageExists() and driver functions." }, { "commit": "498017bcf02560e101703e89b1119d0b48944835", "date": "2019-05-02 12:43:09 -0400", "subject": "Various Buffer improvements.", "body": "Add bufDup() and bufNewUsedC().\n\nArrange bufNewC() params to match bufNewUsedC() since they have always seemed backward.\n\nFix bufHex() to only render the used portion of the buffer and fix some places where used was not being set correctly.\n\nUse a union to make macro assignments for all legal values without casting. This is much more likely to catch bad assignments." }, { "commit": "59234f249e73a4038ee1ba5d2e80f8acc11640ce", "date": "2019-04-29 18:36:57 -0400", "subject": "Use THROW_ON_SYS_ERROR*() to improve code coverage.", "body": "There is only one instance in the core code where this helps. It is mostly helpful in the tests.\n\nThere is an argument to be made that only THROW_SYS_ERROR*() variants should be used in the core code to improve test coverage. If so, that will be the subject of a future commit." }, { "commit": "683b096e187605c5cf16a727cd2c413540e4d150", "date": "2019-04-29 18:03:32 -0400", "subject": "Don't append strerror() to error message when errno is 0.", "body": "Some functions (e.g. getpwnam()/getgrnam()) will return an error but not set errno. In this case there's no use in appending strerror(), which will be \"Success\". This is confusing since an error has just been reported.\n\nAt least in the examples above, an error with no errno set just means \"missing\" and our current error message already conveys that." }, { "commit": "6ad44db9a0a30ad933a6ca8012de52558b7b9c02", "date": "2019-04-29 17:30:06 -0400", "subject": "Merge duplicated contributor." }, { "commit": "518bba1ed950633746f33474cbfa90f76324e345", "date": "2019-04-29 17:22:01 -0400", "subject": "Add missing assert." }, { "commit": "af33126cb68915db9644ca941fc2490d09107b0c", "date": "2019-04-29 17:17:14 -0400", "subject": "Allow StorageFileWrite to set user, group, and modification time.", "body": "The S3 driver will throw an error if these options are set since they are not supported." }, { "commit": "d0c296bd5b67966fd35fd9f70c25788dd6de0c34", "date": "2019-04-29 16:10:27 -0400", "subject": "Fix segfault when process-max > 8 for archive-push/archive-get.", "body": "The remote list was at most 9 (based on pg[1-8]-* max index) so anything over 8 wrote into unallocated memory.\n\nThe remote for the main process is (currently) stored in position zero so do the same for remotes started from locals, since there should only be one. The main process will need to start more remotes in the future which is why there is extra space." }, { "commit": "c935b1c9e83d6f14644de3aa5f36011234e69423", "date": "2019-04-29 15:20:54 -0400", "subject": "Add missing httpUriEncode() in S3 request.", "body": "This was not a live bug since the files currently handled by C can't have special characters in them." }, { "commit": "62b48d8a5a9bb7aa962e96566073dd58cfdb4436", "date": "2019-04-29 15:14:10 -0400", "subject": "Allow storageInfo() to follow links.", "body": "This allows info to be retrieved from linked files/paths in a single step." }, { "commit": "60edadf71dbbe6c82c5a83bcebee36a16b42ed88", "date": "2019-04-29 14:54:49 -0400", "subject": "Expose handle (file descriptor) from IoWrite when applicable.", "body": "This is a followup to dee90d3e which exposed file handles for IoRead.\n\nAlso expose handle for StorageDriverPosixFileRead missed in dee90d3e." }, { "commit": "e2141cc05faa4032f7da55afacc57bf17ce11838", "date": "2019-04-29 14:23:37 -0400", "subject": "Add missing space." }, { "commit": "027c2638719dffa9ba99250085c403e89a2a8a9a", "date": "2019-04-26 08:08:23 -0400", "subject": "Add configure script for improved multi-platform support.", "body": "Use autoconf to provide a basic configure script. WITH_BACKTRACE is yet to be migrated to configure and the unit tests still use a custom Makefile.\n\nEach C file must include \"build.auto.conf\" before all other includes and defines. This is enforced by test.pl for includes, but it won't detect incorrect define ordering.\n\nUpdate packages to call configure and use standard flags to pass options." }, { "commit": "3505559a808855600016dc73c5aec3843e51bfaf", "date": "2019-04-24 13:23:32 -0400", "subject": "Update test containers with PostgreSQL minor releases and liblz4.", "body": "Update RHEL repos that have changed upstream. Remove PostgreSQL 9.3 since the RHEL6/7 packages have disappeared.\n\nRemove PostgreSQL versions from U12 that are still getting minor updates so the container does not need to be rebuilt.\n\nLZ4 is included for future development, but this seems like a good time to add it to the containers." }, { "commit": "1ae8a6a71665c12bec6e20741df29ba4792bf8f8", "date": "2019-04-23 20:52:03 -0400", "subject": "Add build-max option to set max build processes.", "body": "Currently this controls make processes via -j." }, { "commit": "c11c936366fd93a6cdb143d7d93a1d8f249ee9c2", "date": "2019-04-23 20:19:31 -0400", "subject": "Reduce ScalityS3 processes since only two are needed." }, { "commit": "52b0b81976df5583ebe12189d8697dd66d23e84b", "date": "2019-04-23 19:33:55 -0400", "subject": "Add storageInfoList() to get detailed info about all entries in a path.", "body": "The function provides all the file/path/link information required to build a backup manifest.\n\nAlso update storageInfo() to provide the same information for a single file." }, { "commit": "f492f0571b145d499f4ff9017219794a5a3c7a1b", "date": "2019-04-23 17:08:34 -0400", "subject": "Add *Save() functions to most Info objects.", "body": "At the same time change the way that load constructors work (and are named) so that Ini objects do not persist after the constructors complete.\n\ninfoArchiveSave() is excluded from this commit since it is just a trivial call to infoPgSave() and won't be required soon." }, { "commit": "f41112a4634421071d80686ae19042c652576cb3", "date": "2019-04-23 14:02:30 -0400", "subject": "Add harnessInfoChecksum/Z() to ease creation of test info files." }, { "commit": "aebac47cd5fa21f6e62ee3dce3ef13abf59ca61f", "date": "2019-04-23 13:58:19 -0400", "subject": "Extern infoHash() so it can be used by other modules.", "body": "This is currently needed only for testing, but there's no reason not to expose the function to everyone." }, { "commit": "cddb0c05b444aaed388e53e0cd0b02148307ca87", "date": "2019-04-23 13:03:22 -0400", "subject": "Add iniSave() and iniMove() to Ini object.", "body": "iniSave() sorts alphabetically to maintain compatibility with the expect tests, but we plan to change this behavior when the migration is complete." }, { "commit": "c650134a0414c154eb21609b363aeceafbfdda60", "date": "2019-04-22 18:46:29 -0400", "subject": "Add ioWriteStr() and ioWriteStrLine().", "body": "These function names make it clearer what is being written.\n\nThe old ioWriteLine() has been repurposed to write buffers." }, { "commit": "81f652137c8f3179aad24d3283a4141b0075ae66", "date": "2019-04-22 18:41:01 -0400", "subject": "Add separate functions to encode/decode each JSON type.", "body": "In most cases the JSON type is known so this is more efficient than converting to Variant first, both in terms of memory and time.\n\nAlso rename some of the existing functions for consistency." }, { "commit": "f100ea0ff44e173299e8f691115b9e7ce68d422b", "date": "2019-04-22 17:52:23 -0400", "subject": "Add constant for maximum buffer sizes required by cvt*() functions.", "body": "Also update Variant to use cvt*() in all cases. Variant was written before these functions were available and not all cases were updated." }, { "commit": "f5739051eba3dae6cbee6d1fc0f72c36705c3be1", "date": "2019-04-22 17:17:56 -0400", "subject": "Add true and false String constants." }, { "commit": "47491e3c47e84be17263ce3b897ab3fcd8879a3f", "date": "2019-04-22 16:04:04 -0400", "subject": "varNewKv() accepts a KeyValue object rather than creating one.", "body": "This allows for more flexibility about when the Variant is created." }, { "commit": "fdf19e5ab68c64f6c063c265bd3ddc5b39b56620", "date": "2019-04-22 09:00:50 -0400", "subject": "Refactor Ini interface to expose String values instead of Variant.", "body": "Variants were being used to expose String and StringList types but this can be done more simply with an additional method.\n\nUsing only strings also allows for a more efficient implementation down the road." }, { "commit": "cc39bddc15b7cb5bba5dd8443325ee199e8aa12b", "date": "2019-04-22 08:47:32 -0400", "subject": "Refactor main() as a switch() statement.", "body": "This makes it clearer what has been migrated and where the new C implementations should go." }, { "commit": "38286272596d7b53b88c3f4f081d6c7dfc9360d8", "date": "2019-04-21 14:59:32 -0400", "subject": "Fix missing const." }, { "commit": "e7255be108b6b85bb736934b19abdef32cbd39e8", "date": "2019-04-20 11:25:04 -0400", "subject": "Only process next filter in IoFilterGroup when input buffer is full or flushing.", "body": "This greatly reduces calls to filter processing, which is a performance benefit, but also makes the trace logs smaller and easier to read.\n\nHowever, this means that ioWriteFlush() will no longer work with filters since a full flush of IoFilterGroup would require an expensive reset. Currently ioWriteFlush() is not used in this scenario so for now just add an assert to ensure it stays that way." }, { "commit": "e513c52c0973772465a81a5db2ba18d0f956d686", "date": "2019-04-20 08:16:17 -0400", "subject": "Add macros to create constant Buffer objects.", "body": "These are more efficient than creating buffers in place when needed.\n\nAfter replacement discovered that bufNewStr() and BufNewZ() were not being used in the core code so removed them. This required using the macros in tests which is not the usual pattern." }, { "commit": "c9168028c6c43d535a5663cb17ce93945951cb7e", "date": "2019-04-19 14:38:11 -0400", "subject": "Improve performance of non-blocking reads by using maximum buffer size.", "body": "Since the introduction of blocking read drivers (e.g. IoHandleRead, TlsClient) the non-blocking drivers have used the same rules for determining maximum buffer size, i.e. read only as much as requested. This is necessary so the blocking drivers don't get stuck waiting for data that might not be coming.\n\nInstead mark blocking drivers so IoRead knows how much buffer to allow for the read. The non-blocking drivers can now request the maximum number of bytes allowed by buffer-size." }, { "commit": "0c866f52c69ee2bd6af20e67af78bad94c4048af", "date": "2019-04-19 11:40:39 -0400", "subject": "Update code to use new unsigned int Variant type and config methods." }, { "commit": "9f0829cbf2fcd9be869cac21fbf974fd7ecce019", "date": "2019-04-19 11:29:08 -0400", "subject": "Add cfgOptionUInt() and cfgOptionUInt64().", "body": "These are better than casting from cfgOptionInt() since bounds checking is performed." }, { "commit": "1adcbc5c913bddac3a2078b2c5b7329617fa504c", "date": "2019-04-19 11:22:43 -0400", "subject": "Add unsigned int Variant type.", "body": "This is better than using (unsigned int)varUInt64() because bounds checking is performed." }, { "commit": "c45ae5f221ba9cc5e65f585920cc1ea23e3dd293", "date": "2019-04-19 08:41:17 -0400", "subject": "Begin v2.14 development." }, { "commit": "41f3874822faf3f859f46867c0fe965f7156b123", "date": "2019-04-18 21:26:02 -0400", "subject": "v2.13: Bug Fixes" }, { "commit": "7390952d8e99649077a6d4b577a483e6c38a3ecd", "date": "2019-04-18 21:24:10 -0400", "subject": "Harden IO filters against zero input and optimize zero output case.", "body": "Add production checks to ensure no filter gets a zero-size input buffer.\n\nAlso, optimize the case where a filter returns no output. There's no sense in running downstream filters if they have no new input." }, { "commit": "2d73de1d360e0b7bc66b4db9e6b3a0e441927230", "date": "2019-04-18 21:21:35 -0400", "subject": "Fix zero-length reads causing problems for IO filters that did not expect them.", "body": "The IoRead object was passing zero-length buffers into the filter processing code but not all the filters were happy about getting them.\n\nIn particular, the gzip compression filter failed if it was given no input directly after it had flushed all of its buffers. This made the problem rather intermittent even though a zero-length buffer was being passed to the filter at the end of every file. It also explains why tweaking compress-level or buffer-size allowed the file to go through.\n\nSince this error was happening after all processing had completed, there does not appear to be any risk that successfully processed files were corrupted." }, { "commit": "670fa88a98c7e12c4e2e948d92476918d3048f7e", "date": "2019-04-18 13:21:24 -0400", "subject": "Add CHECK() macro for production assertions.", "body": "CHECK() works just like ASSERT() but is kept in production builds." }, { "commit": "b258aec0adcf6fdaf7a2494c66f1540aa720e345", "date": "2019-04-18 13:19:05 -0400", "subject": "Move lockRelease() to the end of exitSafe().", "body": "Releasing the lock too early was allowing other async processes to sneak in and start running before the current process was completely shut down.\n\nThe only symptom seems to have been mixed up log messages so not a very serious issue." }, { "commit": "b960919cf7322f03ee4f9681f0cb06da6b4c52de", "date": "2019-04-18 10:36:21 -0400", "subject": "Fix reliability of error reporting from local/remote processes.", "body": "Asserts were only only reported on stderr rather than being returned through the protocol layer. This did not appear to be very reliable.\n\nInstead, report the assert through the protocol layer like any other error. Add a stack trace if an assert error or debug logging is enabled." }, { "commit": "281d2848b92bf7dba36018127cb9238662d7875b", "date": "2019-04-17 18:39:35 -0400", "subject": "Option to build documentation from current apt.postgres.org packages.", "body": "This is useful for testing any issue currently being seen in the field.\n\nWe'll also need to add a \"yum\" option at some point." }, { "commit": "0d4ba3a39f10667bb0234a94850548ab2dd7ab2d", "date": "2019-04-17 18:18:55 -0400", "subject": "Fix Posix/CIFS error messages reporting the wrong filename on write/sync/close.", "body": "The reported file name was the destination file, not the temp file that is written to during atomic write operations." }, { "commit": "4c13955c05662c2df3fb13cfc1d5538c2a0010a0", "date": "2019-04-17 08:04:22 -0400", "subject": "Add macros to create constant Variant types.", "body": "These work almost exactly like the String constant macros. However, a struct per variant type was required which meant custom constructors and destructors for each type.\n\nPropagate the variant constants out into the codebase wherever they are useful." }, { "commit": "2dac4b598620693d1d564c0ecb2c124693357d6f", "date": "2019-04-16 13:39:58 -0400", "subject": "Add STR() macro to create constant String objects from runtime strings.", "body": "The STRING_CONST() macro worked fine for constants but was not able to constify strings created at runtime.\n\nAdd the STR() macro to do this by using strlen() to get the size.\n\nAlso rename STRING_CONST() to STRDEF() for brevity and to match the other macro name." }, { "commit": "a029eba8d56dc2167814669bc8c5ba12f2eaab80", "date": "2019-04-16 13:18:30 -0400", "subject": "Use a macro instead of a nested struct to create common String variables.", "body": "This makes the code a bit less obfuscated while still ensuring that these variables will be common to both String structures." }, { "commit": "a7281878ac8e058b528e49f80a525c09f62a39ed", "date": "2019-04-15 08:29:25 -0400", "subject": "Migrate backupRegExp() to C.", "body": "Removed the \"anchor\" parameter because it was never used in any calls in the Perl code so it was just a dead parameter that always defaulted to true." }, { "commit": "39ed4f763b923905b651938b7fe65c48e099b880", "date": "2019-04-12 18:13:01 -0400", "subject": "Various comment and assert fixes in the info modules." }, { "commit": "65a26ac4ba111c1e7e4bfd6c0a0bf1d84afd66e8", "date": "2019-04-12 18:10:39 -0400", "subject": "Convert commented cipherPass params to test params.", "body": "This param will show up in stack traces for test builds, but not production." }, { "commit": "c5157c03345eaf4b8e9e7e06190d75021e9d8e39", "date": "2019-04-12 09:03:34 -0400", "subject": "Automatically generate constants for command and option names.", "body": "These constants are easier than using cfgOptionName() and cfgCommandName() and lead to cleaner code and simpler to construct messages.\n\nString versions are provided. Eventually all the strings will be used in the config structures, but for now they are useful to avoid wrapping with strNew()." }, { "commit": "867690c08d5710d0cab27a9ee5ba879f7216abda", "date": "2019-04-12 08:33:10 -0400", "subject": "Begin v2.13 development.", "body": "Also update CentOS packages so documentation builds." }, { "commit": "4e57b689165cffd8c686f0f36d0c5dccb553b3e1", "date": "2019-04-11 09:14:22 -0400", "subject": "v2.12: C Implementation of Archive Push" }, { "commit": "df12cbb1625ed61c74d43ae3a308445f943b0570", "date": "2019-04-10 17:48:34 -0400", "subject": "Fix C code to recognize host:port option format like Perl does.", "body": "This was not an intentional feature in Perl, but it works, so it makes sense to implement the same syntax in C.\n\nThis is a break from other places where a -port option is explicitly supplied, so it may make sense to support both styles going forward. This commit does not address that, however." }, { "commit": "3aa521fed0838021209b4be36849feb2c7e40a2e", "date": "2019-04-10 13:37:24 -0400", "subject": "Fix compile flag accidentally removed in 5ee8388f." }, { "commit": "25cea0bd0a22de2f83a2ded786e2facc86ff4b10", "date": "2019-04-09 11:08:27 -0400", "subject": "Add process id to C archive-get and archive-push logging.", "body": "This was missed in the original migration. There was no functional issue, but logging the process ids is useful for debugging." }, { "commit": "8c202c77dac74d919962f69acb279b583b4272ff", "date": "2019-04-09 11:01:35 -0400", "subject": "Add process id to ProtocolParallelJob.", "body": "This exposes the process that performed to job to the caller for logging purposes." }, { "commit": "4ace7edbd9e849d5a7a5d8b20e08c0c3e2098a02", "date": "2019-04-09 10:54:36 -0400", "subject": "Allow process id in C logging", "body": "The default process id in C logging has always been zero. This should have been updated when multi-processing was introduced in C, but it was missed." }, { "commit": "6099729e922893312e001a3394db43d0c2b341ad", "date": "2019-04-08 19:38:06 -0400", "subject": "Improve error message when an S3 bucket name contains dots.", "body": "The Perl lib we have been using for TLS allows dots in wildcards, but this is forbidden by RFC-2818. The new TLS implementation in C forbids this pattern, just as PostgreSQL and curl do.\n\nHowever, this does present a problem for users who have been using bucket names with dots in older versions of pgBackRest. Since this limitation exists for security reasons there appears to be no option but to take a hard line and do our best to notify the user of the issue as clearly as possible." }, { "commit": "21c83eea59f5fb4d3c366a1e9782d26356801675", "date": "2019-04-08 17:21:20 -0400", "subject": "Fix issues when log-level-file=off is set for the archive-get command.", "body": "This problem was not specific to archive-get, but that was the only place it was expressing in the last release. The new archive-push was also affected.\n\nThe issue was with daemon processes that had closed all their file descriptors. When exec'ing and setting up pipes to communicate with a child process the dup2() function created file descriptors that overlapped with the first descriptor (stdout) that was being duped into. This descriptor was subsequently closed and wackiness ensued.\n\nIf logging was enabled (the default) that increased all the file descriptors by one and everything worked.\n\nFix this by checking if the file descriptor to be closed is the same one being dup'd into. This solution may not be generally applicable but it works fine in this case." }, { "commit": "8ac422dca95c8761fc57450ed74061ff286ff0c3", "date": "2019-04-07 21:09:29 -0400", "subject": "Close log file before exec().", "body": "The log file should be closed before exec() so the child process does not retain a reference to it." }, { "commit": "ade20e5c657f1a05bbe00c1f693346bfadd8b795", "date": "2019-04-07 19:11:20 -0400", "subject": "Fix typo in error message." }, { "commit": "9f3425f6dd2892721935103ff3f75555b7408dd5", "date": "2019-04-07 18:47:04 -0400", "subject": "Skip coverage for macros with numbers in their name.", "body": "This was an oversight in the old regular expression." }, { "commit": "c72a94cfec64096d0f18fa1385b1347918be4fdb", "date": "2019-04-07 18:20:03 -0400", "subject": "Increase process-max limit to 999.", "body": "Recent hardware has outstripped the old default so increase it to something that should last for a while." }, { "commit": "9a7eab9428b8ce34b31b878bd5e6af4f842ce8d7", "date": "2019-04-07 18:12:07 -0400", "subject": "Allow three-digits process IDs in logging.", "body": "This is required to support process-max > 99 or else there will be formatting/alignment issues in the logs." }, { "commit": "2a85df95c121528d826e30526a2fd251638624e7", "date": "2019-04-03 17:48:45 +0100", "subject": "Add assert missed in 1b486847.", "body": "Contributed by Cynthia Shang." }, { "commit": "1e5f2713b2936bd3252e0081a979a9d84eba19d0", "date": "2019-04-03 16:40:19 +0100", "subject": "Add memContextSwitch() missed in 5bdaa35f.", "body": "Contributed by Cynthia Shang." }, { "commit": "5504f286eb6765d3131f2ff99cb2b464a02c4589", "date": "2019-04-03 12:32:56 +0100", "subject": "Add test and asserts missed in abba2bd1.", "body": "Contributed by Cynthia Shang." }, { "commit": "be58b8fee799d29cc5f1df0147bce59b09982208", "date": "2019-04-03 12:04:44 +0100", "subject": "Add assert missed in 1b486847.", "body": "Contributed by Cynthia Shang." }, { "commit": "e97b8241a59f4dd56ea374b00b3fb9905a1febc3", "date": "2019-04-03 11:40:12 +0100", "subject": "Clarify that S3-compatible object stores are supported.", "body": "The documentation mentioned Amazon S3 frequently but failed to mention that other S3-compatible object stores are also supported.\n\nTone down the specific mentions of Amazon S3 and replace them with \"S3-compatible object store\" when appropriate." }, { "commit": "4c63279a19a6baa1f6854eee59cc804f6f89cb23", "date": "2019-04-02 13:50:02 +0100", "subject": "Add forkSafe() to handle fork errors.", "body": "fork() rarely fails but we should definitely detect when it does so." }, { "commit": "1b48684713220b3436b24b266e543196824e974f", "date": "2019-03-29 13:26:33 +0000", "subject": "The archive-push command is implemented entirely in C.", "body": "This new implementation should behave exactly like the old Perl code with the exception of updated log messages.\n\nRemove as much of the Perl code as possible without breaking other commands." }, { "commit": "251dbede8ff8a7206986106b8df8b08257cd7ebd", "date": "2019-03-27 21:14:06 +0000", "subject": "Add locking capability to the remote command.", "body": "When a repository server is configured, commands that modify the repository acquire a remote lock as well as a local lock for extra protection against multiple writers.\n\nInstead of the custom logic used in Perl, make remote locking part of the command configuration.\n\nThis also means that the C remote needs the stanza since it is used to construct the lock name. We may need to revisit this at a later date." }, { "commit": "7db8cedd68477dd511bb8bdf8b94b2d2925470dd", "date": "2019-03-27 20:59:28 +0000", "subject": "Add protocolKeepAlive() to send noops to all remotes.", "body": "While the local processes are doing their jobs the remote connection from the main process may timeout.\n\nSend occasional noops to ensure that doesn't happen." }, { "commit": "f8cbf5d78cbacfef253f8e75983e403e10049df0", "date": "2019-03-27 20:52:23 +0000", "subject": "Add TEST_64BIT() macro to detect 64-bit platforms.", "body": "This may not be the best way to detect 64-bit platforms but it seems to be working fine so far.\n\nCreate a macro to make it clearer what is being done and to make it easier to change the implementation." }, { "commit": "1fa103a4d23742af0fb16214a74b974cbe875724", "date": "2019-03-27 18:14:00 +0200", "subject": "Fix missing semicolon in code example." }, { "commit": "3181cd0ab8f09cbeca87d97e670e0901feb412a3", "date": "2019-03-26 18:46:44 +0200", "subject": "Set WAL long header flag in test function missed in e938a892.", "body": "This was missed because the unit tests were reusing a buffer without resetting it to zero, so this flag ended up still set when the test function was called.\n\nThis was not a live issue since it only expressed in tests and this code is not used in master yet." }, { "commit": "7364d859da8b4ee67e4b0d76e9c0d08a15fa546d", "date": "2019-03-26 16:00:15 +0200", "subject": "Add missing parens." }, { "commit": "5ee8388f482adc52129a9960bdb077e8c054edb0", "date": "2019-03-26 08:20:55 +0200", "subject": "Build test harness with the same warnings as code being tested.", "body": "The test harness was not being built with warnings which caused some wackiness with an improperly structured switch. Just use the same warnings as the code being tested.\n\nAlso enable warnings on code that is not directly being tested since other code modules are frequently modified during testing." }, { "commit": "f709334851cfbe254ce9f13266adba4504e9af64", "date": "2019-03-25 23:59:56 +0200", "subject": "Fix comment content and formatting." }, { "commit": "abba2bd13269b3d51802cb7bfba18a0abae47342", "date": "2019-03-25 20:35:20 +0400", "subject": "Add strLstMergeAnti() for merge anti-joins.", "body": "We deal with some pretty big lists in archive-push so a nested-loop anti-join looked like it would not be efficient enough.\n\nThis merge anti-join should do the trick even though both lists must be sorted first." }, { "commit": "538e2c7474394f1f24bb0899bc7d85bf7c68bd5a", "date": "2019-03-25 09:45:36 +0400", "subject": "Add storagePg()/storagePgWrite() to storage helper.", "body": "Add read/write storage helper functions for the PostgreSQL data directory." }, { "commit": "444b4f86403088f24883ffe0b940a6402159bfc0", "date": "2019-03-25 09:17:15 +0400", "subject": "Allow warnings to be written by archiveAsyncStatusOkWrite().", "body": "Migrate this feature to the C code since archive-push will need it." }, { "commit": "8820d695747b40b73ead6d32a408e7d2804bd192", "date": "2019-03-25 08:12:38 +0400", "subject": "Use a single file to handle global errors in async archiving.", "body": "The prior behavior on a global error (i.e. not file specific) was to write an individual error file for each WAL file being processed. On retry each of these error files would be removed, and if the error was persistent, they would then be recreated. In a busy environment this could mean tens or hundreds of thousands of files.\n\nAnother issue was that the error files could not be written until a list of WAL files to process had been generated. This was easy enough for archive-get but archive-push requires more processing and any errors that happened when generating the list would only be reported in the pgBackRest log rather than the PostgreSQL log.\n\nInstead write a global.error file that applies to any WAL file that does not have an explicit ok or error file. This reduces churn and allows more errors to be reported directly to PostgreSQL." }, { "commit": "1f6f3f673e49a2dff4dff465d183a2f6928138e6", "date": "2019-03-24 18:29:20 +0400", "subject": "Update default WAL segment size comment." }, { "commit": "1fff60ad2ad56f303080af666ed76e82dbb171b7", "date": "2019-03-24 14:34:45 +0400", "subject": "Remove unused infoArchiveCheckPg() function.", "body": "The idea was to use this function for archive-push, but in the end archive-push required two very different versions of the function." }, { "commit": "8560db5c42fdc07de44b86daf76ad195282f67d7", "date": "2019-03-24 13:54:05 +0400", "subject": "Add constants for .ok/.error status extensions." }, { "commit": "7cf7373761cb83253a502e8d0af4f925c86a7944", "date": "2019-03-21 21:11:36 +0400", "subject": "Refactor PostgreSQL interface to remove most code duplication.", "body": "Having a copy per version worked well until it was time to add new features or modify existing functions. Then it was necessary to modify every version and try to keep them all in sync.\n\nConsolidate all the PostgreSQL types into a single file using #if for type versions. Many types do not change or change infrequently so this cuts down on duplication. In addition, it is far easier to see what has changed when a new version is added.\n\nUse macros to write the interface functions. There is still duplication here since some changes require a new copy of the macro, but it is far less than before." }, { "commit": "e938a89250bd6a6512d4d6b5217a9750c848ca49", "date": "2019-03-19 19:44:06 +0400", "subject": "Add WAL info to PostgreSQL interface.", "body": "This allows the WAL header to be read for any supported version on PostgreSQL." }, { "commit": "1c9645d4166165f70bf837b7d053415d78a216f2", "date": "2019-03-19 19:20:38 +0400", "subject": "Add missing static keyword." }, { "commit": "5c732e992904bc7f3201c119787d84cf05a8997d", "date": "2019-03-18 22:10:25 +0400", "subject": "Remove redundant documentation from PostgreSQL interface files and clarify ambiguous function names.", "body": "Move the documentation to postgres/interface.c so it can be updated without having to update N source files.\n\nThe \"is\" function was not very specific so rename to \"controlIs\"." }, { "commit": "e26d510d0c1d8157ef5d9149bed9c2902ec29ba2", "date": "2019-03-17 22:11:35 +0400", "subject": "Use restore command for remote performances tests.", "body": "Since archive-push is being moved to C, the Perl remote will no longer work with that command.\n\nEventually this module will need to be rewritten in C, but for now just use the restore command which is planned to be migrated last." }, { "commit": "856a369b863fb134ec249b7036eea70ba56d89ac", "date": "2019-03-17 22:00:54 +0400", "subject": "Add file write to the S3 storage driver.", "body": "Now that repositories are writable the storage drivers that don't yet support file writes need to be updated to do so.\n\nNote that the part size for multi-part upload has not been defined as a proper constant. This will become an option in the near future so it doesn't seem worth creating a constant that we might then forget to remove." }, { "commit": "7193738288e7c25bba526f5133fad9d4cf70d4c0", "date": "2019-03-17 21:38:07 +0400", "subject": "Add document creation to XML objects.", "body": "The xml objects only exposed read methods of the underlying libxml2.\n\nThis worked for S3 commands that only received data but to send data we need to be able to create XML documents from scratch.\n\nAdd the ability to create empty documents and add nodes and contents." }, { "commit": "fc974626cd060271c39480ea5ac960b8db903699", "date": "2019-03-17 08:35:40 +0400", "subject": "Add a note regarding verifying checkpoint against replay position." }, { "commit": "8ebc6d6c34e7ccc7e4d07f1321fd4b1dce1579c7", "date": "2019-03-16 21:50:19 +0400", "subject": "Add file write to the remote storage driver.", "body": "Now that repositories are writable the storage drivers that don't yet support file writes need to be updated to do so." }, { "commit": "2d386cd26672ed6c1ff2ca20465b7c7505cf9de6", "date": "2019-03-16 16:14:10 +0400", "subject": "Move WAL path prefix logic into walPath().", "body": "This logic is used by both archive-push and archive-get." }, { "commit": "12273a10346a5520ce556a19df7b0cd4f9be74be", "date": "2019-03-16 15:48:50 +0400", "subject": "Add storageRepoWrite() to storage helper.", "body": "Writable repos are allowed with the addition of the CIFS driver, so add a helper function." }, { "commit": "66c2f4cd2e43f05d65e06f3c89094fbdf702d60d", "date": "2019-03-16 15:27:38 +0400", "subject": "Make notion of current PostgreSQL info ID in C align with Perl.", "body": "The C code was assuming that the current PostgreSQL version in archive.info/backup.info was the most recent item in the history, but this is not always the case with some stanza-upgrade scenarios. If a cluster is restored from before the upgrade and stanza-upgrade is run again, it will revert db-id to the original history item.\n\nInstead, load db-id from the db section explicitly as the Perl code does.\n\nThis did not affect archive-get since it does a reverse scan through the history versions and does not rely on the current version." }, { "commit": "b2b2cf0511b326c695e825bee0c5f5faf648224c", "date": "2019-03-16 15:00:02 +0400", "subject": "Fix issues with remote/local command logging options.", "body": "Logging was being enable on local/remote processes even if --log-subprocess was not specified, so fix that.\n\nAlso, make sure that stderr is enabled at error level as it was on Perl. This helps expose error information for debugging.\n\nFor remotes, suppress log and lock paths since these are not applicable on remote hosts. These options should be set in the local config if they need to be overridden." }, { "commit": "d377e926c806faa8d61744e27eacfa7bf610c445", "date": "2019-03-16 13:07:43 +0400", "subject": "httpClientRequest() accepts a body parameter.", "body": "None of our C HTTP requests have needed to output a body, but they will with the migration of archive-push.\n\nAlso, add constants that are useful when POSTing/PUTing data." }, { "commit": "078df66e2c66ea992c423ffc92a789a4f036b622", "date": "2019-03-16 12:51:37 +0400", "subject": "Add httpHeaderDup().", "body": "Allow duplication of headers and updating of redactions." }, { "commit": "be670e25450a174f6652850af765805de1139263", "date": "2019-03-16 12:32:54 +0400", "subject": "Add hash size constants and extern hash type constant.", "body": "The size constants are convenient for creating data structures of the proper size.\n\nThe hash type constant must be extern'd so that results can be pulled from a filter." }, { "commit": "76560b3cf0959c11b92e3b98c640f5e6070b1e7a", "date": "2019-03-16 12:26:25 +0400", "subject": "Add missing const to cryptoHashOne() and cryptoHashOneStr()." }, { "commit": "0eb4c2c8291ed0dc5c211594b5e85e1b31a9d84d", "date": "2019-03-16 12:21:16 +0400", "subject": "Fix incorrect buffer size used in cryptoHashOne().", "body": "This was missing when bufUsed() was introduced.\n\nIt is not currently a live issue, but becomes a problem in the new archive-push code where the entire buffer is not always used." }, { "commit": "9c1549585e0d8a4613954bbfc194dd0dc0a537a8", "date": "2019-03-15 22:18:56 +0400", "subject": "Add command for removing all Docker containers to the Vagrantfile." }, { "commit": "b68d1d60a1532e9d1ef2703b043d538643d6f8cc", "date": "2019-03-15 22:16:50 +0400", "subject": "Add cvtSSizeToZ() and debug macros." }, { "commit": "d16bff64cdcb5be6c6ac3b8f31d394c2393b7649", "date": "2019-03-15 10:30:48 +0400", "subject": "Add missing log param and assert." }, { "commit": "a6e219bc8bf1f6d93a24ba120fa9614d7b667ce3", "date": "2019-03-15 10:25:24 +0400", "subject": "Improve comment, remove duplicated header and extraneous braces." }, { "commit": "5554377632807a3e778273b9882a191e8a6edae6", "date": "2019-03-15 10:20:52 +0400", "subject": "Make strLstDup() null-tolerant.", "body": "Duping a NULL StringList without checking if it is NULL is a useful capability." }, { "commit": "9382283586da4794d3585dbf6680c3a2f3d10a33", "date": "2019-03-14 13:48:33 +0400", "subject": "Fix issues when a path option is / terminated.", "body": "This condition was not being properly checked for in the C code and it caused problems in the info command, at the very least.\n\nInstead of applying a local fix, introduce a new path option type that will rigorously check the format of any incoming paths." }, { "commit": "b8ebea6b1c3cf2a26c44f04c7552c66fd9acb44a", "date": "2019-03-14 13:38:55 +0400", "subject": "Add separate archive-push-async command.", "body": "This command was previously forked off from the archive-push command which required a bit of artificial option and log manipulation.\n\nA separate command is easier to test and will work on platforms that don't have fork(), e.g. Windows." }, { "commit": "982b47c5ecec475703860f52a0eabe7d501a96e2", "date": "2019-03-14 13:28:33 +0400", "subject": "Add CIFS storage driver.", "body": "This driver borrows heavily from the Posix driver.\n\nAt this point the only difference is that CIFS does not allow explicit directory fsyncs so they need to be suppressed. At some point the CIFS diver will also omit link support.\n\nWith the addition of this driver repository storage is now writable." }, { "commit": "941dbb47313b25339d438e7a57975bcd88c65168", "date": "2019-03-14 13:02:19 +0400", "subject": "Remove package patch merged to upstream." }, { "commit": "cf5a5b7b9a97fb5907990812745d42ec4e3de7fb", "date": "2019-03-11 10:43:35 +0200", "subject": "Begin v2.12 development." }, { "commit": "68d20edea6cbfc7b8b6db69633e08ac473821547", "date": "2019-03-10 18:56:00 +0200", "subject": "v2.11: C Implementation of Archive Get" }, { "commit": "2ef5ad70a29b36db570f8f50a2ba821fc4ee02ff", "date": "2019-03-10 13:27:30 +0200", "subject": "Move crypto module to common/crypto.", "body": "It makes sense for the crypto code to be in common since it is not pgBackRest-specific.\n\nAlso combine the crypto tests into a single module." }, { "commit": "95597be81e7450fdbb88a6c17b549e9eb750d5dd", "date": "2019-03-10 13:11:20 +0200", "subject": "Move compress module to common/compress.", "body": "It makes sense for the compression code to be in common since it is not pgBackRest-specific." }, { "commit": "2f63babe9dfa6f49d5fbc9a6e039e1a1dfa5054d", "date": "2019-03-10 11:55:01 +0200", "subject": "Move help/help test module to command/help." }, { "commit": "e4e2606fce1ef28e82f359581e1a90be6d10414c", "date": "2019-03-10 11:03:52 +0200", "subject": "Add additional options to backup.manifest for debugging purposes.", "body": "Add the buffer-size, compress-level, compress-level-network, and process-max options to the backup:option section in backup.manifest to aid in debugging.\n\nIt may also make sense to propagate these options up to backup.info so they can be displayed in the info command, but for now this is deemed sufficient." }, { "commit": "21f56f64ebe0af34b61793efad1730707a8e9f39", "date": "2019-03-10 10:38:12 +0200", "subject": "Add hints when unable to find a WAL segment in the archive.", "body": "When this error happens in the context of a backup it can be a bit mystifying as to why the backup is failing. Add some hints to get the user started.\n\nThese hints will appear any time a WAL segment can't be found, which makes the hint about the check command redundant when the user is actually running the check command, but it doesn't seem worth trying to exclude the hint in that case." }, { "commit": "bc9fb0f59ae4d9cc843fa8ac2d9d434cf850910d", "date": "2019-03-10 09:16:25 +0200", "subject": "Add note for CSTD settings on BSD variants.", "body": "Suggested by ucando, jungle-boogie, Luca Ferrari." }, { "commit": "786e77a9feb0ec3133d7f1ab7efe0037816a1382", "date": "2019-03-09 11:40:55 +0200", "subject": "Make DESTDIR fully-configurable in the Makefile.", "body": "DESTDIR always had /usr/bin appended which was a problem systems that don't use /usr/bin as the install location for binaries.\n\nInstead, use the value of DESTDIR exactly and update the Debian packages accordingly." }, { "commit": "60fe5b7365c9eaaa03e954cac7dec14777aa2461", "date": "2019-03-09 11:03:47 +0200", "subject": "Error when parameters are passed to a command that does not accept parameters.", "body": "This behavior allowed a command like this to run without error:\n\npgbackrest backup --stanza=db full\n\nEven though it actually performed an incremental backup in most circumstances because the `full` parameter was ignored.\n\nInstead, output an error and exit." }, { "commit": "cad6fedb7ba2877f7ea1b2e23415c42b6bda3483", "date": "2019-03-07 15:54:59 +0200", "subject": "Prevent option warning from being output when running help command.", "body": "This warning was being output when getting help if retention was not set:\n\nWARN: option repo1-retention-full is not set, the repository may run out of space\n\nSuppress this when getting help since the warning will display by default on a system that is not completely configured." }, { "commit": "3d7edc4ca4db2f75a33d43ffc5131a6a20086507", "date": "2019-03-07 14:08:35 +0200", "subject": "Add clean and uninstall targets to Makefile.", "body": "Contributed by Luca Ferrari." }, { "commit": "d441061168ec56d22082a6ff54e5f1fb02cc8eae", "date": "2019-03-02 15:01:02 +0200", "subject": "Create test matrix for mock/all to increase coverage and reduce tests.", "body": "The same test configurations are run on all four test VMs, which seems a real waste of resources.\n\nVary the tests per VM to increase coverage while reducing the total number of tests. Be sure to include each major feature (remote, s3, encryption) in each VM at least once." }, { "commit": "f7d1d4400f1edcdd3216dfa5c9d1e306946c36a2", "date": "2019-03-01 19:04:26 +0200", "subject": "Create test matrix for mock/expire to increase coverage and reduce tests.", "body": "The same test configurations are run on all four test VMs, which seems a real waste of resources.\n\nVary the tests per VM to increase coverage while reducing the total number of tests." }, { "commit": "91622942c2e465cb46571343d0e40f8b7cef8742", "date": "2019-03-01 17:12:41 +0200", "subject": "Create test matrix for mock/archive-stop to increase coverage and reduce tests.", "body": "The same test configurations are run on all four test VMs, which seems a real waste of resources.\n\nVary the tests per VM to increase coverage while reducing the total number of tests. Be sure to include each major feature (remote, s3, encryption) in each VM at least once." }, { "commit": "c307d9fdf9439661d2a94f215bbc7b1ef714e34f", "date": "2019-03-01 15:58:52 +0200", "subject": "Don't make a copy of the context name in the MemContext module.", "body": "This is very inefficient in terms of memory and time and dynamic context names were never utilized.\n\nJust require that context names be valid for the life of the context.\n\nIn practice they are all static strings." }, { "commit": "90709dfd213b1eb1dab3daff0101768f61be4b5f", "date": "2019-03-01 14:57:01 +0200", "subject": "Improve performance of context and memory allocations in MemContext module.", "body": "Allocations required a sequential scan through the allocation list for both contexts and memory. This was very inefficient since for the most part individual memory allocations are seldom freed directly, rather they are freed when their context is freed.\n\nFor both types of allocations track an index for the lowest free position. After an allocation of the free position, a sequential search will be required for the next allocation but this is still far better than doing a scan for every allocation.\n\nWith a moderately-sized dataset (500 history entries in backup.info), there is a 237X performance improvement when combined with the f74e88bb refactor.\n\nBefore:\n\n % cumulative self\n time seconds seconds name\n 65.11 331.37 331.37 memContextAlloc\n 16.19 413.78 82.40 memContextCurrent\n 14.74 488.81 75.03 memContextTop\n 2.65 502.29 13.48 memContextNewIndex\n 1.18 508.31 6.02 memFind\n\nAfter:\n\n % cumulative self\n time seconds seconds name\n 94.69 2.14 2.14 memFind\n\nFinding memory allocations in order to free or resize them is the next bottleneck, but this does not seem to be a major issue presently." }, { "commit": "f74e88bba9c7a7912f0b1fc322823f1b527042f8", "date": "2019-03-01 13:33:58 +0200", "subject": "Use contextTop/contextCurrent instead of memContextTop()/memContextCurrent() in MemContext module.", "body": "Using the functions internally is great for abstraction but not so great for performance on non-optimized builds.\n\nAlso, the functions end up prominent in any profiled build." }, { "commit": "6ce3310f8a2900d1af717da8d4c3345a9016933b", "date": "2019-03-01 09:10:14 +0200", "subject": "Update default documentation version to PostgreSQL 10.", "body": "Also update CentOS 6 and 7 versions to PostgreSQL 9.5 and 9.6 respectively." }, { "commit": "409360924151a561dd5dc122dbcd9173a4e6c950", "date": "2019-03-01 09:00:51 +0200", "subject": "Documentation builds on PostgreSQL 9.4-10.", "body": "More than likely 9.2-11 will work as well, but this has not been tested.\n\nHowever, 11 needs work on the group permissions introduced in that version." }, { "commit": "cb3b4fa24bbe271a517b50a3522bc5075d8fe6c7", "date": "2019-02-28 14:33:29 +0200", "subject": "Enable socket keep-alive on older Perl versions.", "body": "The prior method depended on IO:Socket:SSL to push the keep-alive options down to the socket but it only worked for recent versions of the module.\n\nInstead, create the socket directly using IO::Socket::IP if available or IO:Socket:INET as a fallback. The keep-alive option is set directly on the socket before it is passed to IO:Socket:SSL." }, { "commit": "0913523096cf9178ffa46595171dc16ab815148b", "date": "2019-02-28 09:51:19 +0200", "subject": "Cleanup local/remote protocol interaction from 9367cc46.", "body": "The command option was not being set correctly when a remote was started from a local. It was being set as 'local' rather than the command that the local was running as.\n\nAlso automatically select the remote protocol id based on whether it is started from a local (use the local protocol id) or from the main process (use 0).\n\nThese were not live issues but could cause strange behaviors as new features are added that might be hard to diagnose." }, { "commit": "db4b447be89878496f0a50905b2f51c1306b9de5", "date": "2019-02-27 23:03:02 +0200", "subject": "The archive-get command is implemented entirely in C.", "body": "This new implementation should behave exactly like the old Perl code with the exception of a few updated log messages.\n\nRemove as much of the Perl code as possible without breaking other commands." }, { "commit": "9367cc461cda63698caa04ddb262405eef05890d", "date": "2019-02-27 22:34:21 +0200", "subject": "Migrate local command to C.", "body": "The C local is only used for C commands in the main process.\n\nSome tweaking of the existing protocolGet() command was required. Originally the idea was to share the function for local and remote requests but the differences (as in Perl) were too great to make that practical." }, { "commit": "35abd4cd9517c4acf02d98bf386e1ef2ed2e8485", "date": "2019-02-27 21:10:52 +0200", "subject": "Add ProtocolParallel* objects for parallelizing commands.", "body": "Allows commands to be easily parallelized if the jobs are broken up into discrete, non-overlapping chunks." }, { "commit": "35acfae7c2328a70f978973aa1c7ed91af750d88", "date": "2019-02-27 19:48:30 +0200", "subject": "Add ProtocolCommand object.", "body": "This formalizes the creation of protocol commands, which was previously done by creating KeyValue objects manually." }, { "commit": "dee90d3e606262fe99dcc099867a96039540a1c2", "date": "2019-02-27 18:11:09 +0200", "subject": "Expose handle (file descriptor) from IoRead when applicable.", "body": "Some IO objects have file descriptors which can be useful for monitoring with select().\n\nIt might also be useful to expose handles for write objects but there is currently no use case." }, { "commit": "b1957b07f351a93fa64658f8c898420b4bbe68f5", "date": "2019-02-27 18:10:18 +0200", "subject": "Improve null-handling of varToLog()." }, { "commit": "ea2aef1d0ceff366b75f663281df511b8169eadd", "date": "2019-02-27 18:09:21 +0200", "subject": "Add lstRemove() to List object.", "body": "Because it is sometimes useful to remove items from a list." }, { "commit": "4be271ea2a1a7bed4e5165f10a8e62a19b4e7dc9", "date": "2019-02-27 18:07:16 +0200", "subject": "Improve fork harness to allow multiple children and setup pipes automatically.", "body": "There was a lot of extra boilerplate involved in setting up pipes so that is now automated.\n\nIn some cases testing with multiple children is useful so allow that as well." }, { "commit": "18b62a4220acabc4ba0018ed884e20f695304aed", "date": "2019-02-27 17:09:19 +0200", "subject": "Only run test-level stack trace by default for unit-tested modules.", "body": "This amends 70c30dfb which disabled test tracing in general.\n\nInstead, only enable test tracing by default for modules that are being unit tested. This saves lots of time but still ensures that test tracing is working and helps with debugging in unit tests.\n\nAlso rename the option to --debug-test-trace for a clarity." }, { "commit": "3a05359087560248dc0bc7d1ce35516c6a5d622f", "date": "2019-02-24 07:42:41 +0200", "subject": "Create test matrix for mock/stanza to increase coverage and reduce tests.", "body": "The same test configurations are run on all four test VMs, which seems a real waste of resources.\n\nVary the tests per VM to increase coverage while reducing the total number of tests. Be sure to include each major feature (remote, s3, encryption) in each VM at least once." }, { "commit": "6d3e18b181d08f4e1ed64c097346a3532e6005af", "date": "2019-02-24 06:55:59 +0200", "subject": "Reduce expect log level in mock/stanza tests.", "body": "The expect tests were originally a rough-and-ready type of unit test so monitoring changes in the expect log helped us detect changes in behavior.\n\nNow the stanza code is heavily unit-tested so the detailed logs mainly cause churn and don't have any measurable benefit.\n\nReduce the log level to DETAIL to make the logs less verbose and volatile, yet still check user-facing log messages." }, { "commit": "2f081f3ec7a0c9bb664eb5a426ec21859bb48722", "date": "2019-02-23 18:51:52 +0200", "subject": "Rename test modules for consistency.", "body": "The conventions for command and info tests have shifted in the C modules, though not even all the C modules got the message." }, { "commit": "d489eb87f7f7da58dd02812e5088f507e1cab491", "date": "2019-02-23 15:59:39 +0200", "subject": "Create test matrix for mock/archive to increase coverage and reduce tests.", "body": "The same test configurations are run on all four test VMs, which seems a real waste of resources.\n\nVary the tests per VM to increase coverage while reducing the total number of tests. Be sure to include each major feature (remote, s3, encryption) in each VM at least once." }, { "commit": "4a7588e604d3b39858f09e8c879e973bd4432ded", "date": "2019-02-23 15:13:23 +0200", "subject": "Create aliases for test VMs ordered by age.", "body": "This will allow for smarter allocation of tests in the next commit." }, { "commit": "59d7958914d2965d0690ebd579541c21a40ad201", "date": "2019-02-23 15:05:06 +0200", "subject": "Reduce expect log level in mock/archive tests.", "body": "The expect tests were originally a rough-and-ready type of unit test so monitoring changes in the expect log helped us detect changes in behavior.\n\nNow the archive code is heavily unit-tested so the detailed logs mainly cause churn and don't have any measurable benefit.\n\nReduce the log level to DETAIL to make the logs less verbose and volatile, yet still check user-facing log messages." }, { "commit": "a9cbf23f4cacb18d85e7a6f02cff198790a9e21f", "date": "2019-02-23 07:28:27 +0200", "subject": "Improve error when hostname cannot be found in a certificate.", "body": "Update error message with the hostname and more detail about what went wrong. Hopefully this will help in diagnosing certificate/hostname issues." }, { "commit": "1f66bda02ec9ae92403af2feeaf61505b3482932", "date": "2019-02-22 12:02:26 +0200", "subject": "Fix non-compliant JSON for options passed from C to Perl.", "body": "We have been using a hacked-up JSON generator to pass options from C to Perl since the C binary was introduced. This generator was not very compliant which led to issues with \\n, \", etc. inside strings.\n\nWe have a fully-compliant JSON generator now so use that instead." }, { "commit": "70c30dfb619a3ec2ea7d465d5b8e2014518b723d", "date": "2019-02-22 11:40:30 +0200", "subject": "Disable test-level stack trace by default.", "body": "Detailed stack traces for low-level functions (e.g. strCat, bufMove) can be very useful for debugging but leaving them on for all tests has become quite burdensome in terms of time. Complex operations like generating JSON on a large KevValue can lead to timeouts even with generous values.\n\nAdd a new param, --debug-trace, to enable test-level stack trace, but leave it off by default." }, { "commit": "ae86e6d5b2f6f86bc3ec1a4b1378d9b49e89799e", "date": "2019-02-22 11:31:37 +0200", "subject": "Add missing ToLog() coverage to String, List, and PgControl.", "body": "Missing coverage is exposed in the next commit which disables test tracing by default." }, { "commit": "a7c8906581e8fc875c3cac99153aacb323de034f", "date": "2019-02-21 18:49:02 +0200", "subject": "Fix incorrect tags." }, { "commit": "e14c0eeb65a998a419e5a2e6c0ce833e8d7d03dc", "date": "2019-02-21 16:20:46 +0200", "subject": "Use driver for remote protocol introduced in da628be8.", "body": "The remote protocol was calling into the Storage object but this required some translation which will get more awkward as time goes by.\n\nInstead, call directly into the local driver so the communication is directly driver to driver. This still requires resolving the path and may eventually have more duplication with the Storage object methods but it seems the right thing to do." }, { "commit": "b1eb8af7d5093a26a2e221a428540e5e7b356eed", "date": "2019-02-21 15:40:21 +0200", "subject": "Resolve storage path expressions before passing to remote.", "body": "Expressions such as require a stanza name in order to be resolved correctly. However, if the stanza name is passed to the remote then that remote will only work correctly for that one stanza.\n\nInstead, resolved the expressions locally but still pass a relative path to the remote. That way, a storage path that is only configured on the remote does not need to be known locally." }, { "commit": "b4d4680f8c3126d1c2016d30aa2a1b77aac085c0", "date": "2019-02-21 14:40:35 +0200", "subject": "Allow cfgExecParam() to exclude options.", "body": "It is useful to be able to exclude an option even if it is shared by both commands." }, { "commit": "be6a3f131e746304c6a30c39fcab4fe4b44dcb7f", "date": "2019-02-21 14:26:06 +0200", "subject": "Improve null-handling of strToLog().", "body": "NULL was returning {\"(null)\"} which was comprehensible but not very pretty. Instead return null on NULL." }, { "commit": "1fd89f05afd8d8614d7b38a006eda4418f6324ce", "date": "2019-02-21 14:16:17 +0200", "subject": "Add kvKeyExists() to KeyValue object.", "body": "Check if a key exists even if the value is NULL, which is the same result for a missing key." }, { "commit": "80df1114bdc97a930421f491bb7f41d9aeab6069", "date": "2019-02-21 12:09:12 +0200", "subject": "Fix info command missing WAL min/max when stanza specified.", "body": "This issue was a result of STORAGE_REPO_PATH prepending an extra stanza when the stanza was specified on the command line.\n\nThe tests missed this because by some strange coincidence the WAL dirs were empty for each test that specified a stanza. Add new tests to prevent a regression.\n\nFixed by Stefan Fercot." }, { "commit": "1519f5b04540d5a431044f83a45b604ad8757397", "date": "2019-02-21 11:40:30 +0200", "subject": "Add storageHelperFree() to storage helper.", "body": "Free all cached objects in the storage helper, especially the stanza name.\n\nThis clears the storage environment for tests that switch stanza names or go from a stanza name to no stanza name or vice versa. This is only useful for testing right now, but may be used in the future for commands than act on multiple stanzas." }, { "commit": "b0b5989acae29b962b9101719459234968a8e6c1", "date": "2019-02-20 22:57:18 +0200", "subject": "Migrate remote archive-get command to C.", "body": "All required protocol commands are implemented so this is mostly a matter of enabling the feature and updating expect logs." }, { "commit": "6866ff031a6a48d6cd966f5df78bcbc2c84a3890", "date": "2019-02-20 22:43:02 +0200", "subject": "Add exists() to remote storage." }, { "commit": "71bc5697b1a35c8460af7885b888b1d43bd994b1", "date": "2019-02-20 22:23:19 +0200", "subject": "Increase per-call stack trace size to 4096.", "body": "This was previously 256, which was too small to log protocol parameters. Not only did this truncate important debug information but varying path lengths caused spurious differences in the expect logs." }, { "commit": "73be64ce49aaff9d94f70c47590476c404365ce4", "date": "2019-02-20 15:52:07 +0200", "subject": "Add separate archive-get-async command.", "body": "This command was previously forked off from the archive-get command which required a bit of artificial option and log manipulation.\n\nA separate command is easier to test and will work on platforms that don't have fork(), e.g. Windows." }, { "commit": "e48b406cdc3c73056137d6767a7f70e08bee9806", "date": "2019-02-20 15:48:14 +0200", "subject": "Add instructions for building the coverage report.", "body": "These are intended to be temporary until a fully automated report is developed.\n\nSince we don't know when that will happen, at least make it easier to generate the current report." }, { "commit": "da628be8a8045e73b621fb229ac149b545008327", "date": "2019-02-19 20:57:38 +0200", "subject": "Migrate remote command to C.", "body": "Prior to this the Perl remote was used to satisfy C requests. This worked fine but since the remote needed to be migrated to C anyway there was no reason to wait.\n\nAdd the ProtocolServer object and tweak ProtocolClient to work with it. It was also necessary to add a mechanism to get option values from the remote so that encryption settings could be read and used in the storage object.\n\nUpdate the remote storage objects to comply with the protocol changes and add the storage protocol handler.\n\nIdeally this commit would have been broken up into smaller chunks but there are cross-dependencies in the protocol layer and it didn't seem worth the extra effort." }, { "commit": "d211c2b8b51ae5b796bbb581d21a4a406e3ed972", "date": "2019-02-15 11:52:39 +0200", "subject": "Fix possible truncated WAL segments when an error occurs mid-write.", "body": "The file write object destructors called close() and finalized the file even if it was not completely written. This was an issue in both the C and Perl code.\n\nRewrite the destructors to simply free resources (like file handles) rather than calling the close() method. This leaves the temp file in place for filesystems that use temp files.\n\nAdd unit tests to prevent regression." }, { "commit": "2cd204f38037f1465c84bb4e6b55893204ee8f93", "date": "2019-02-12 14:59:51 +0200", "subject": "Change execRead() to return a size_t.", "body": "execRead() should be returning a size_t, not a void. Thankfully, this isn't actually used and therefore shouldn't be an issue, but we should fix it anyway." }, { "commit": "a5f6f801d7651606363715471dcb958e3339414c", "date": "2019-02-12 14:11:16 +0200", "subject": "Begin v2.11 development." }, { "commit": "35903b94d9f2de14fb116c4b15649466eff78ef2", "date": "2019-02-09 19:52:31 +0200", "subject": "v2.10: Bug Fixes" }, { "commit": "51971617a82a3f58efe33dff8386bc94fe1ac628", "date": "2019-02-09 19:01:16 +0200", "subject": "Fix year on 2.09 release.", "body": "Reported by Achilleas Mantzios." }, { "commit": "057e2e27822ffd053f735762e1441fccea24c5ed", "date": "2019-02-09 18:57:30 +0200", "subject": "Add unimplemented S3 driver method required for archive-get.", "body": "This was not being caught because the integration tests for S3 were running remotely and going through the Perl code rather than the new C code.\n\nImplement the exists method for the S3 driver and add tests to prevent a regression." }, { "commit": "6e88f93991171632f33fd1b12fc1090d4a9f02a5", "date": "2019-02-05 18:55:07 +0200", "subject": "Fix check for improperly configured pg-path.", "body": "The check to verify that pg-path and data_directory are equal was not working because pg-path was getting overwritten with data_directory before validation took place." }, { "commit": "be8f31a9524f7b6c47e52a01f89aaf9f0a65ddc2", "date": "2019-02-05 15:34:18 +0200", "subject": "JSON improvements.", "body": "Optimize the parser implementation and make the renderer more null tolerant.\n\nAlso make some string and variant constructors null tolerant." }, { "commit": "b3d1a2a8023adc6d1e35221dc6c3789a1b772c5c", "date": "2019-02-02 15:18:10 +0200", "subject": "FIx typos and missing debug param." }, { "commit": "b29a8dd9c541b755381f2e103abbe0b05fc65190", "date": "2019-02-02 15:03:19 +0200", "subject": "Automatically adjust db-timeout when protocol-timeout is smaller.", "body": "This already worked in reverse, but this case is needed when a command that only uses protocol-timeout (e.g. info) calls a remote process where protocol-timeout and db-timeout can be set. If protocol-timeout was set to less than the default db-timeout then an error resulted." }, { "commit": "abc613b454f8f1aa9da5e842c5da822d26504163", "date": "2019-02-02 14:50:24 +0200", "subject": "Begin v2.10 development." }, { "commit": "a89a3761191444ef28b22434f94bc42fd84b83ee", "date": "2019-01-30 22:37:35 +0200", "subject": "v2.09: Minor Improvements and Bug Fixes" }, { "commit": "02dff53d45b3db2daf69ee45ac694696dc051cc3", "date": "2019-01-30 22:02:42 +0200", "subject": "Add openssl-devel install to documentation build in 711b3e67." }, { "commit": "fb342c312591d2980bbbd490a04fb26967d04fb1", "date": "2019-01-30 21:11:52 +0200", "subject": "Add latex install to documentation build in 711b3e67." }, { "commit": "aa3e5b8c72a75a4f5fea93b543a8fbedcd713f02", "date": "2019-01-30 17:03:17 +0200", "subject": "Allow primary gid for the test user to be different from uid.", "body": "Apparently up until now they have always been the same, which is pretty typical. However, if they were not then ContainerTest.pm was not happy." }, { "commit": "711b3e67cbfc7b404ffe2ce196ffb42159c95040", "date": "2019-01-30 16:53:59 +0200", "subject": "Add examples for building a documentation host." }, { "commit": "dada50ee26e3891ebfca73e12a8f14080cc8ad7e", "date": "2019-01-30 13:39:22 +0200", "subject": "Fix hard-coded repository path.", "body": "This prevented packages from being passed to the documentation unless they were in the /backrest directory on the host.\n\nAlso make the local path /pgbackrest instead of the deprecated /backrest." }, { "commit": "8634eb8c43c8666634fe64a49a39c6384caee64d", "date": "2019-01-29 12:08:14 +0200", "subject": "Include Posix-compliant header for fd_set.", "body": "Similar to f3ae3c4f, add Posix-compliant header to make FreeBSD happy." }, { "commit": "b5a103f2df4999219ef509356ba2c46c292ecccb", "date": "2019-01-28 22:33:29 +0200", "subject": "Improve P/PP type macro handling.", "body": "Rather than create _P/_PP variants for every type that needs to pass/return pointers, create FUNCTION_*_P/PP() macros that will properly pass or return any single/double pointer types.\n\nThere remain a few unresolved edge cases such as CHARPY but this handles the majority of types well." }, { "commit": "8b2a344cfecc2438aafeba7f1c1b7b0572973562", "date": "2019-01-28 15:06:28 +0200", "subject": "Remove unused type parameter from FUNCTION_TEST_RETURN().", "body": "This parameter was always useless but commit 7333b630 removed all references to it so remove the parameter at all call sites as well.\n\nThe original intention was probably to allow logging of TEST return values but that never happened." }, { "commit": "7333b6302fb26191a322cc1513fd85c76b066346", "date": "2019-01-28 09:44:10 +0200", "subject": "Improve CONST type macro handling.", "body": "Rather than create a CONST_ variant for every type that needs to be returned const, create a FUNCTION_LOG_RETURN_CONST() macro that will return any type as const." }, { "commit": "d29aa6128681a3912c1c48ed71cdad9395d0d347", "date": "2019-01-27 11:50:09 +0200", "subject": "Allocate extra space for concatenations in the String object.", "body": "The string object was reallocating memory with every concatenation which is not very efficient. This is especially true for JSON rendering which does a lot of concatenations.\n\nInstead allocate a pool of extra memory on the first concatenation (50% of size) to be used for future concatenations and reallocate when needed.\n\nAlso add a 1GB size limit to ensure that there are no overflows." }, { "commit": "82c2d615b3ecdb851029ad691f5a8061f949535b", "date": "2019-01-27 11:34:12 +0200", "subject": "Move MACRO_TO_STR() to common/debug.h.", "body": "This macro is handy for constructing static message strings so move it where the core code can see it." }, { "commit": "4027123ef19629ff1d5638a75677fa81b3831d03", "date": "2019-01-27 08:01:17 +0200", "subject": "Update contributor name." }, { "commit": "8f6d324b2c2576456bd0ba7f691297df1f5aba1e", "date": "2019-01-26 16:59:54 +0200", "subject": "Fix issue with multiple async status files causing a hard error.", "body": "Multiple status files were being created by asynchronous archiving if a high-level error occurred after one or more WAL segments had already been transferred successfully. Error files were being written for every file in the queue regardless of whether it had already succeeded. To fix this, add an option to skip writing error files when an ok file already exists.\n\nThere are other situations where both files might exist (various fsync and filesystem error scenarios) so it seems best to retry in the case that multiple status files are found rather than throwing a hard error (which then means that archiving is completely stuck). In the case of multiple status files, a warning will be logged to alert the user that something unusual is happening and the command will be retried." }, { "commit": "f3ae3c4f9d0dd63c583ab27ef1f6aa869db12a3a", "date": "2019-01-26 13:48:46 +0200", "subject": "Include Posix-compliant header for strcasecmp().", "body": "gcc has apparently merged this function in string.h but Posix specifies that it should be in strings.h. FreeBSD at at least is sticking to the standard.\n\nIn the long run it might be better to implement our own strcasecmp() function but for now just add the header." }, { "commit": "1401c023f0cfdd0266144bdd8b181e8194bbd91e", "date": "2019-01-26 12:02:48 +0200", "subject": "Fix release note typo." }, { "commit": "053972bfe01948a463fed56b11e3522b3b10457f", "date": "2019-01-26 12:01:18 +0200", "subject": "Update address lookup in C TLS client to use modern methods.", "body": "The implementation using gethostbyname() was only intended to be used during prototyping but was forgotten when the code was finalized.\n\nReplace it with gettaddrinfo() which is more modern and supports IPv6." }, { "commit": "4d1060ea6bdf60d8e9fc7ca372386f53461ed6d1", "date": "2019-01-26 10:39:51 +0200", "subject": "Replace FileOpenError with HostConnectError in TlsClient.", "body": "HostConnectError is more appropriate in this context." }, { "commit": "33d39d248c5ae6fab6b4bb7564ca85b18786332c", "date": "2019-01-24 16:45:28 +0200", "subject": "Allow if condition in documentation lists and list items." }, { "commit": "bec52b6f41a6101ab1357fb5b65ce36faefee9e4", "date": "2019-01-24 11:11:12 +0200", "subject": "Allow if in manifest variables.", "body": "The code supported this feature but the manifest DTD did now allow it." }, { "commit": "db08656537b22c39e5278f9f2770b816278e771a", "date": "2019-01-21 17:41:59 +0200", "subject": "Rename FUNCTION_DEBUG_* and consolidate ASSERT_* macros for consistency.", "body": "Rename FUNCTION_DEBUG_* macros to FUNCTION_LOG_* to more accurately reflect what they do. Further rename FUNCTION_DEBUG_RESULT* macros to FUNCTION_LOG_RETURN* to make it clearer that they return from the function as well as logging. Leave FUNCTION_TEST_* macros as they are.\n\nConsolidate the various ASSERT* macros into a single ASSERT macro that is always compiled out of production builds. It was difficult to figure out when an assert would be checked with all the different types in play. When ASSERTs are compiled in they will always be checked regardless of the log level -- tying these two concepts together was not a good idea." }, { "commit": "d245f8eb425322f0efcd05ab4c12b3b45cc87138", "date": "2019-01-21 13:51:45 +0200", "subject": "The info command is implemented entirely in C.", "body": "The C info code has already been committed but this commit wires it into main.\n\nAlso remove the info Perl code and tests since they are no longer called." }, { "commit": "f79af47bd4ffff693e1a882955323fe73972eeb6", "date": "2019-01-19 20:44:40 +0200", "subject": "Increase timeout in storage/s3 module to improve reliability." }, { "commit": "e57f1b529327ebeca41405b6b57602013de9d625", "date": "2019-01-19 12:57:40 +0200", "subject": "Fix escaping in JSON string parser." }, { "commit": "7355248d6b2b1db0a7ca997db0dc2943331325a0", "date": "2019-01-18 22:04:37 +0200", "subject": "Add remote storage objects.", "body": "This is a partial implementation of remote storage with just enough functionality to get the info command working. The client is written in C but the server is still in Perl, which limits progress until a C server is written." }, { "commit": "88201f37a3b7156dcf6f4aaa659136215485c40d", "date": "2019-01-18 21:32:51 +0200", "subject": "Add ProtocolClient object and helper functions.", "body": "This is a complete protocol client implementation in C.\n\nCurrently there is no C server implementation so the C client is talking to a Perl server. This won't work very long, though, as the protocol format, even though in JSON, has a lot of language-specific structure. While it would be possible to maintain compatibility between C and Perl it's probably not worth the effort in the long run.\n\nJust as in Perl there are helper functions to make constructing protocol objects easier. Currently only repository remotes are supported." }, { "commit": "0986db630cf3c931ccb135a86e60ee098fdc2dec", "date": "2019-01-18 13:15:43 +0200", "subject": "Fix comment typo." }, { "commit": "9cac403f610ff3fd4a176b9cf5a7c0543bdd892c", "date": "2019-01-18 11:45:40 +0200", "subject": "Add Exec object.", "body": "Executes a child process and allows the calling process to communicate with it using read/write io.\n\nThis object is specially tailored to implement the protocol layer and may or may not be generally applicable to general purpose\nexecution." }, { "commit": "797f8098d1383d05960566174859f75d4e835613", "date": "2019-01-18 11:14:44 +0200", "subject": "Add ioReadBuf() to easily read into a buffer.", "body": "Moves some boilerplate into a function and makes it easier to get coverage in cases where a single buffer read captures all the data." }, { "commit": "06d41b4dc0f84f756b57d44cc2e2ceb6b5aec493", "date": "2019-01-17 22:29:19 +0200", "subject": "Add cfgExecParam() to generate parameters for executing commands.", "body": "Parameters for the local/remote commands are based on parameters that are passed to the current command.\n\nGenerate parameters for the new command based on the intersection of parameters between the current command and the command to be executed." }, { "commit": "ecd56105e688e74ad71f8a1fc0fc3e785989abe5", "date": "2019-01-17 22:08:31 +0200", "subject": "Add IoHandleRead and IoHandleWrite objects.", "body": "General i/o objects for reading and writing file descriptors, in particular those that can block. In other words, these are not generally to be used with file descriptors for actual files, but rather pipes, sockets, etc." }, { "commit": "bf0c41d9d6d5fd53cc4bf190b0c577f506323b5b", "date": "2019-01-16 22:23:25 +0200", "subject": "Add const VariantList * debug type." }, { "commit": "7d4bbf290cf33de06fca9854f21ec9690cfd51bb", "date": "2019-01-16 22:16:50 +0200", "subject": "Fix difference in cipher type reporting missed in 8304d452.", "body": "The C code can't get the cipher type from the storage object because the C storage object does not have encryption baked in like the Perl code does.\n\nInstead, check backup.info to see if encryption is enabled. This will need to rethought if another cipher type is added but for now it works fine." }, { "commit": "e68d1e73042342c4cea0881e216e6979a3bcb140", "date": "2019-01-16 19:23:10 +0200", "subject": "Simplify info command text message when no stanzas are present.", "body": "Replace the repository path with just \"the repository\". The path is not important in this context and it is clearer to state where the stanzas are missing from." }, { "commit": "ef9dc89e080d7b364a00fec138d1961c703dd02a", "date": "2019-01-16 18:49:12 +0200", "subject": "Update Storage::Local->list() to accept an undefined path.", "body": "The Perl code has a tendency to generate absolute paths even when they are not needed. This change helps the C and Perl storage work together via the protocol layer." }, { "commit": "b4146b6bff99c8d82445bfda96b237ef0cff3050", "date": "2019-01-16 18:45:19 +0200", "subject": "Update Perl repo rules to work when stanza is not specified.", "body": "The C storage object strives to use rules whenever possible instead of generating absolute paths. This change helps the C and Perl storage work together via the protocol layer." }, { "commit": "0014e159443354a46197e58f0631d7363d038cde", "date": "2019-01-16 18:34:50 +0200", "subject": "Fix escaping in JSON string renderer." }, { "commit": "49bd8e0e3e6e2c7f5e840c613919e55ee0074414", "date": "2019-01-16 12:04:35 +0200", "subject": "Fix missing linefeed and param debug." }, { "commit": "c0a904853664396d3ee9ffd5599634f489d924a1", "date": "2019-01-16 09:11:01 +0200", "subject": "Fix null output in JSON renderer.", "body": "In some cases nulls were being rendered as \"(null)\" because no special logic existed to handle them." }, { "commit": "ec26a0594e2f1da3f2f0041ceef606f70eaeef5e", "date": "2019-01-16 09:05:13 +0200", "subject": "Allow string Variant objects to contain null.", "body": "This is more useful than the variant itself being null as it saves conditionals when creating." }, { "commit": "1b334da87ffcddc5393fa0f900ec8c0395155aa7", "date": "2019-01-14 22:02:23 +0200", "subject": "Add kvMove() and varLstMove().", "body": "Allow these objects to be moved to another mem context." }, { "commit": "aab9e38b9a070e8707c0a316784b456ecaeba64e", "date": "2019-01-14 21:34:22 +0200", "subject": "Return UnknownError from errorTypeFromCode() for invalid error codes.", "body": "The prior behavior was to throw an exception but this was not very helpful when something unexpected happened. Better to at least emit the error message even if the error code is not very helpful." }, { "commit": "2b02d37602e3bfc451d598032d0e3793a06e8673", "date": "2019-01-14 21:21:37 +0200", "subject": "Allow empty arrays in JSON parser." }, { "commit": "8304d452b3683d5d1d59cf7a6cc14801ddc35efd", "date": "2019-01-13 22:44:58 +0200", "subject": "Make the C version of the info command conform to the Perl version.", "body": "There were some small differences in ordering and how the C version handled missing directories. It may be that the C version is more consistent, but for now it is more important to be compatible with the Perl version.\n\nThese differences were missed because the C info command was not wired into main.c so it was not being tested in regression. This commit does not fix the wiring issue because there will likely be a release soon and it is too big a change to put in at the last moment." }, { "commit": "f314a1f8aa101b5f73cbb0902af7ebed9804a143", "date": "2019-01-13 22:22:15 +0200", "subject": "Improve accuracy of strSizeFormat().", "body": "Casting to int caused large values to be slightly inaccurate so cast to uint64_t instead.\n\nAlso, use multiplication where possible since the compiler should precompute multiplied values." }, { "commit": "cebcb3f027d2a95f5b350df113efef78d449c72f", "date": "2019-01-10 09:49:28 +0200", "subject": "Null-terminate list returned by strLstPtr().", "body": "The null-terminator is required by many C functions that accept a string list so just add it in all cases rather than making it optional." }, { "commit": "f8a9fc203909696293e57d84bc8f6d83d737097b", "date": "2019-01-09 19:20:38 +0200", "subject": "Fix typos in monitoring examples." }, { "commit": "ade2c3102d7459d274f0988d7d3cc2de49c7c9b4", "date": "2019-01-06 17:42:44 +0200", "subject": "Ignore SIGPIPE signals and check EPIPE result instead.", "body": "SIGPIPE immediately terminates the process but we would rather catch the EPIPE error and gracefully shutdown.\n\nIgnore SIGPIPE and throw the EPIPE error via normal error handling." }, { "commit": "7272d6e2475f7fe8dd327206591b83cf4b9f498b", "date": "2019-01-06 17:28:17 +0200", "subject": "Add _DARWIN_C_SOURCE flag to Makefile for MacOS builds.", "body": "For some reason adding -D_POSIX_C_SOURCE=200112L caused MacOS builds to stop working. Combining both flags seems to work fine for all tested systems." }, { "commit": "9560baf659cafec2614e90ce72d988635cb945c1", "date": "2019-01-06 15:52:59 +0200", "subject": "Move C module include in test.c above headers included for testing.", "body": "Including the C module after the headers required for testing meant that if headers were missing from the C module they were not caught while directly testing the C module.\n\nThe missing headers were caught in general testing, but it is frustrating to get an error in a module that has already passed while testing another module or running CI.\n\nMove the C module include to the very top so missing headers cause immediate failures." }, { "commit": "0e0000f59c571a3889927288a536c8e220f97fac", "date": "2019-01-06 15:27:30 +0200", "subject": "Add debug macros and extra space missed in 256b727a." }, { "commit": "1de22cac2b0d2f9bddc794693dd2b97e61efdf85", "date": "2019-01-06 14:37:39 +0200", "subject": "Rename common/io/handle module to common/io/handleWrite.", "body": "ioHandleWriteOneStr() will become a helper function for the IoHandleWrite object." }, { "commit": "f52e0187e61b6f74c66573580523018509541f98", "date": "2019-01-05 18:10:30 +0200", "subject": "Fix object struct comment to be conforming." }, { "commit": "842147321ff39a523608e281ade7ccb5fcad7bba", "date": "2019-01-05 14:43:40 +0200", "subject": "Fix typo in error message." }, { "commit": "59d7352f31a646c2f2491aacb922116caf125c50", "date": "2019-01-05 14:38:31 +0200", "subject": "Command-line help update missed in 200fd3aa." }, { "commit": "200fd3aa05174e109488f533d57db503d18ce25a", "date": "2019-01-04 12:25:58 +0200", "subject": "Clarify that encryption is always performed client-side.", "body": "Suggested by Bruce Burdick." }, { "commit": "50717aa846a41852179feaa69b35a924bffc66c6", "date": "2019-01-04 11:00:59 +0200", "subject": "Begin v2.09 development." }, { "commit": "db24ff8df4b2c2de133461df3ab4f28167516dbf", "date": "2019-01-02 22:04:47 +0200", "subject": "v2.08: Minor Improvements and Bug Fixes" }, { "commit": "98ba7ece23637ead3b6a458372f32517aef0c20f", "date": "2019-01-01 18:46:27 +0200", "subject": "Update LICENSE.txt for 2019." }, { "commit": "26c888873e3c0956ec1e4a160715433ae3dd9eaf", "date": "2019-01-01 18:14:43 +0200", "subject": "Merge common/typeVariantListTest module into common/typeVariantTest.", "body": "These modules are closely related so it makes sense for them to be merged." }, { "commit": "07b9176f257148d02c479207180c6af536ad43e1", "date": "2019-01-01 18:05:13 +0200", "subject": "Merge common/typeStringListTest module into common/typeStringTest.", "body": "These modules are closely related so it makes sense for them to be merged." }, { "commit": "493fb78787b0929831899d333484140bfc636a89", "date": "2019-01-01 17:31:23 +0200", "subject": "Add strLstInsert() and strLstInsertZ() to StringList object.", "body": "Use lstInsert() to implement insertions into any position in a StringList." }, { "commit": "cc6376fdb6bb3bff8ce0b432e23b1fa4ed13a210", "date": "2018-12-31 09:19:38 +0200", "subject": "Modify general document elements to allow any child element.", "body": "This allows for nesting of elements such as and ." }, { "commit": "2b7440ddf313e6dbf8b53443a26cdf211161ad26", "date": "2018-12-31 08:51:00 +0200", "subject": "Allow custom logo for PDF documentation.", "body": "Contributed by Cynthia Shang." }, { "commit": "72865ca33ba383fba54da8db0bb8595890a12a3e", "date": "2018-12-30 16:40:20 +0200", "subject": "Add admonitions to documentation renderers.", "body": "Admonitions call out places where the user should take special care.\n\nSupport added for HTML, PDF, Markdown and help text renderers. XML files have been updated accordingly." }, { "commit": "3dc327fd05882b2dc27e77a7922f5c275a7e2b25", "date": "2018-12-20 23:20:54 +0200", "subject": "Add optional table captions.", "body": "All renderers now support table captions, when requested." }, { "commit": "8cf8d29f124723d717fa809168c6ea587bd5d592", "date": "2018-12-19 19:13:26 +0200", "subject": "Escape special characters in latex when not in a code block.", "body": "A number of common characters are not allowed in latex without being escaped.\n\nAlso convert some HTML-specific codes that are used in the documentation." }, { "commit": "23b583336f3095b3e64d6068199b5c449dc776ac", "date": "2018-12-18 22:12:59 +0200", "subject": "Set TCP keepalives on S3 connections.", "body": "Keepalives may help in situations where RST packets are being blocked by a firewall or otherwise do not arrive.\n\nThe C code uses select on all reads so it should never block, but add keepalives just in case." }, { "commit": "96028073cb45fffc5df0d510f3dd143ca10d7d62", "date": "2018-12-18 22:02:23 +0200", "subject": "Add HTML table rendering and update PDF/Markdown renderers to support header-less tables.", "body": "Contributed by Cynthia Shang." }, { "commit": "b85e51d6d545df61cf22501c1db09371219a83da", "date": "2018-12-14 18:46:12 -0500", "subject": "Base menu ordering on natural ordering in the manifest.", "body": "Menu ordering was alphabetical which is not ideal for a user interface." }, { "commit": "35bbb5bd6881e3f405cbd99c3992c32aa5c6d69f", "date": "2018-12-14 18:25:31 -0500", "subject": "Reorder info command text output so most recent backup is output last.", "body": "After a stanza-upgrade backups for the old cluster are displayed until they expire. Cluster info was output newest to oldest which meant after an upgrade the most recent backup would no longer be output last.\n\nUpdate the text output ordering so the most recent backup is always output last." }, { "commit": "205525b60780587366b9786750535a55977f0221", "date": "2018-12-13 16:22:34 -0500", "subject": "Migrate local info command to C.", "body": "The info command will only be executed in C if the repository is local, i.e. not located on a remote repository host. S3 is considered \"local\" in this case.\n\nThis is a direct migration from Perl to integrate as seamlessly with the remaining Perl code as possible. It should not be possible to determine if the C version is running unless debug-level logging is enabled." }, { "commit": "e6ef40e8a327d94e5111d21dd056eefbe5d19a86", "date": "2018-12-13 15:46:18 -0500", "subject": "Add infoBackup object to encapsulate the backup.info file.", "body": "The infoBackup object is the counterpart to the infoArchive object which encapsulates the archive.info file.\n\nCurrently the object is read-only, i.e. it is not possible to create a new or modify an existing backup.info file.\n\nThere a number of constants that will also be used in the infoManifest object so go ahead and create a module to contain them so they don't need to be moved later." }, { "commit": "56d466ce4b39173c777e70e16914a0a76a400dfb", "date": "2018-12-13 15:20:57 -0500", "subject": "Add null support to jsonToKv().", "body": "Contributed by Cynthia Shang." }, { "commit": "d6dfbfd2f3cc2c838d6c1d28ba96076efa9364a6", "date": "2018-12-12 14:35:44 -0500", "subject": "Add zlib1g-dev to Debian builds.", "body": "Not all debian-based distros were getting this installed." }, { "commit": "df947cfcb22928ac4487c74483a49075e35ea15d", "date": "2018-12-12 13:52:23 -0500", "subject": "Add documentation for building the documentation.", "body": "A basic primer for building the documentation. Lots that could be added, but it's a start." }, { "commit": "fdc76742c8e98e630fa4219ba8e9aad79c882e40", "date": "2018-12-12 13:48:31 -0500", "subject": "Use absolute paths so that ./doc.pl runs.", "body": "The relative paths used would not correctly find required libraries and DTD files." }, { "commit": "ee04ebe3142b0f170ef6662db3b6be3e2ba2e32e", "date": "2018-12-12 11:15:09 -0500", "subject": "Fix Centos/RHEL 7 documentation builds.", "body": "This was caused by a new container version that was released around December 5th. The new version explicitly denies user logons by leaving /var/run/nologin in place after boot.\n\nThe solution is to enable the service that is responsible for removing this file on a successful boot." }, { "commit": "2f15a90d18e0cdc0d91e9915b400acfc78ccaf26", "date": "2018-12-10 18:45:57 -0500", "subject": "Add infoArchiveIdHistoryMatch() to the InfoArchive object.", "body": "Match a PostgreSQL system identifier and version to a pgBackRest archive id." }, { "commit": "f0417ee524d1759b1aa5949abcae4769741ce550", "date": "2018-12-10 18:31:49 -0500", "subject": "Use cast to make for loop more readable in InfoPg module.", "body": "The previous way worked but was a head-scratcher when reading the code. This cast hopefully makes it a bit more obvious what is going on." }, { "commit": "2514d08d0dc6d28a59bd884a751b734c70e2c0c0", "date": "2018-12-10 18:15:06 -0500", "subject": "Remove #define statements in the InfoPg module to conform with newly-adopted coding standards.", "body": "Contributed by Cynthia Shang." }, { "commit": "fe152b8f29ff794cd6108c8295e35c44fe37c847", "date": "2018-12-10 18:08:26 -0500", "subject": "Rename constants in Info module for consistency.", "body": "INFO is generally used as the prefix for info file constants so rename these accordingly.\n\nAlso follow newly-adopted coding standards for when #define is required for a static String constant." }, { "commit": "e3435ec386c19fc7a6f08b9d08d4cee4bf8e36f4", "date": "2018-12-10 17:35:31 -0500", "subject": "Add path expression for repository backup to the storage helper.", "body": "This is the counterpart to the archive path expression and constructs paths into the backup part of the repository." }, { "commit": "4f539db8d9c666fa5a9c4e020e387a3b26886b83", "date": "2018-12-10 17:01:33 -0500", "subject": "Allow NULL stanza in storage helper.", "body": "Some commands (e.g. info) do not take a stanza or the stanza is optional. In that case it is the job of the command to construct the repository path with a stanza as needed.\n\nUpdate helper functions to omit the stanza from the constructed path when it is NULL." }, { "commit": "cbf514e191783937de63b5a276fcefc426e6f430", "date": "2018-12-10 16:32:41 -0500", "subject": "Improve info error messages introduced in 74b72df9.", "body": "- Add detail to errors when info files are loaded with incorrect encryption settings.\n- Throw FileMissingError rather than FileOpenError when both copies of the info file are missing.\n- If one file is present (but errors) and the other is missing, then return the error for the file that was present." }, { "commit": "80a3e215213090878e1519f4f4866de2ff6ee67a", "date": "2018-12-10 16:11:51 -0500", "subject": "Add strSizeFormat() to String object.", "body": "Converts sizes in bytes to a more human-readable form, .e.g. 1KB, 1.1GB." }, { "commit": "947fa6fc2b086f0c2fad602b9921861c0bd18fd3", "date": "2018-12-10 15:43:52 -0500", "subject": "Fix comment typo.", "body": "Contributed by Cynthia Shang." }, { "commit": "1c5f8f45b68ad87553c2219ffb8e0da0314ad920", "date": "2018-12-07 12:32:10 -0500", "subject": "Add configuration to the standby so it works as a primary when promoted.", "body": "This code was generated during testing and it seemed a good idea to keep it. It is only a partial solution since the primary also needs additional configuration to be able to fail back and forth." }, { "commit": "495391c7430ee8f4aafc006f6cea829e6a3ca981", "date": "2018-12-07 12:19:28 -0500", "subject": "Pick pg_switch_wal()/pg_switch_xlog() based on PostgreSQL version.", "body": "One step in making the documentation build for all versions that we support." }, { "commit": "e6abdfb5b864b6526e0e5cb147911bd8ff5c8e15", "date": "2018-12-07 07:41:26 -0500", "subject": "Add error message when current user uid/gid does not map to a name.", "body": "This condition resulted in a nasty stack trace dump when the undefined value was used later on." }, { "commit": "ac84ffb90156585c3f7a84ed757bc2603da13f31", "date": "2018-12-06 11:57:30 -0500", "subject": "Clarify that storageExists() is only valid for files.", "body": "Contributed by Cynthia Shang." }, { "commit": "a72759eb5bad455fc1cca5e1e073628643d6dc0b", "date": "2018-12-06 11:53:38 -0500", "subject": "Add comments on String and Variant usage regarding memory contexts.", "body": "Contributed by Cynthia Shang." }, { "commit": "11181e69b818452a0b01d388ca5ce0879e6c3a3d", "date": "2018-12-06 09:04:01 -0500", "subject": "Disable Centos/RHEL 7 documentation builds.", "body": "These were introduced in 33fa2ede and ran for a day or so before they started failing consistently on CI. Local builds work fine.\n\nDisable them to free the pipeline for further commits while we determine the issue." }, { "commit": "e73416e9e39118a3eb7a10d4d3f434ef7cc1c4ba", "date": "2018-12-05 17:56:47 -0500", "subject": "Change file ownership only when required.", "body": "Previously chown() would be called even when no ownership changes were required.\n\nIn most cases changes are not required and it seems better to perform an extra stat() rather than an extra chown().\n\nAlso add unit tests for owner() since there weren't any." }, { "commit": "e96986a4e1e7aa5302686f559ca2848e1518669f", "date": "2018-12-05 16:21:45 -0500", "subject": "Error when --target-action=shutdown specified for PostgreSQL < 9.5.", "body": "This equaled \"promote\" on unsupported versions which qualifies as a surprising behavior." }, { "commit": "5b52f020212d75b4f1001727e1a0d8acbae0fe60", "date": "2018-12-05 15:58:45 -0500", "subject": "Clarify when target-action is effective and PostgreSQL version support.", "body": "Suggested by Keith Fiske." }, { "commit": "a0ecf53ead32070045119e8a129d0d07da3662fa", "date": "2018-12-05 13:07:55 -0500", "subject": "Fix documentation typo." }, { "commit": "bf873be4aa2688416ec63c8920144a847df142f7", "date": "2018-12-05 12:51:13 -0500", "subject": "Redact authentication header when throwing S3 errors.", "body": "The authentication header contains the access key (not the secret key) so don't include it in errors that can be seen at any log level." }, { "commit": "cc6447356ef436582fdd3501311cb8da0f4f0342", "date": "2018-12-05 09:15:45 -0500", "subject": "Fix test binary name for gprof.", "body": "This got missed in 1f8931f7 when the test binary was renamed.\n\nAlso output call graph along with the flat report. The flat report is generally most useful but it doesn't hurt to have both." }, { "commit": "33fa2ede7d106db6bf95712747bd0a8ed52f1be5", "date": "2018-12-05 07:12:28 -0500", "subject": "Add Centos/RHEL 7 option to documentation build.", "body": "Centos/RHEL 7 builds can be specified with --var=os-type=centos7.\n\nAlso added to the documentation release and CI builds." }, { "commit": "baeff9e4f04c7f86f9cbe84efaf4dc66b3a4add4", "date": "2018-12-04 17:33:56 -0500", "subject": "Create common if expressions for testing os-type.", "body": "These expressions simplify os-type testing. This will be especially true as more OS types are added." }, { "commit": "9e217d02564d30bcdcb865f87323221aa2969169", "date": "2018-12-04 13:17:55 -0500", "subject": "Documentation may be built with user-specified packages.", "body": "By default the documentation builds pgBackRest from source, but the documentation is also a good way to smoke-test packages.\n\nAllow a package file to be specified by passing --var=package=/path/to/package.ext. This works for Debian and CentOS 6 builds." }, { "commit": "0db030fa63b74fb6e0a8ad58f1417e39cd1eac9e", "date": "2018-12-04 11:46:25 -0500", "subject": "Add coding standards for String constants." }, { "commit": "14190f9e6c290383676a4332ff5c71e9cc83c66a", "date": "2018-12-03 12:41:53 -0500", "subject": "Update URL for Docker install.", "body": "As usual the old URL started providing a broken version of Docker rather than producing a clear error message. This happens once a year or so." }, { "commit": "17e611cb883b6086a802c2adfbda384817feaa09", "date": "2018-12-01 12:40:01 -0500", "subject": "Replace keywords with more flexible if statements.", "body": "Keywords were extremely limited and prevented us from generating multi-version documentation and other improvements.\n\nReplace keywords with an if statement that can evaluate a Perl expression with variable replacement.\n\nSince keywords were used to generate cache keys, add a --key-var parameter to identify which variables should make up the key." }, { "commit": "47490ba9600c25f75a9d833d9a42da3633257751", "date": "2018-11-30 18:47:42 -0500", "subject": "Fix comment typo.", "body": "Contributed by Cynthia Shang." }, { "commit": "977506b44615cc9d9d9c581ffd0fd407b7d174d8", "date": "2018-11-30 11:15:52 -0500", "subject": "Clarify that region/endpoint must be configured correctly for the bucket.", "body": "Suggested by Pritam Barhate." }, { "commit": "64b97fd7ca3410cd6bca3c01bc438bb104191f78", "date": "2018-11-30 10:55:29 -0500", "subject": "Correct archive-get-queue-max to be size type.", "body": "This somehow was not configured as a size option when it was added. It worked, but queue sizes could not be specified in shorthand, e.g. 128GB.\n\nThis is not a breaking change because currently configured integer values will be read as bytes." }, { "commit": "1ad67644dade53595e2f210d0f75cc247b3ea2a5", "date": "2018-11-30 10:38:02 -0500", "subject": "Remove request for S3 object info directly after putting it.", "body": "After a file is copied during backup the size is requested from the storage in case it differs from what was written so that repo-size can be reported accurately. This is useful for situations where compression is being done by the filesystem (e.g. ZFS) and what is stored can differ in size from what was written.\n\nIn S3 the reported size will always be exactly what was written so there is no need to check the size and doing so immediately can cause problems because the new file might not appear in list commands. This has not been observed on S3 (though it seems to be possible) but it has been reported on the Swift S3 gateway.\n\nAdd a driver capability to determine if size needs to be called after a file is written and if not then simply use the number of bytes written for repo-size." }, { "commit": "5d3c8e47f14c9f497866a899bed7d6e25f0fb67f", "date": "2018-11-29 14:45:15 -0500", "subject": "Pre-build containers for any execute elements marked pre.", "body": "This allows the documentation to be built more quickly and offline during development when --pre is specified on the command line.\n\nEach host gets a pre-built container with all the execute elements marked pre. As long as the pre elements do not change the container will not need to be rebuilt.\n\nThe feature should not be used for CI builds as it may hide errors in the documentation." }, { "commit": "74b72df9dbfbfb00d5b729cb83bef35e77fd73c6", "date": "2018-11-28 18:41:21 -0500", "subject": "Improve error message when info files are missing/corrupt.", "body": "The previous error message only showed the last error. In addition, some errors were missed (such as directory permission errors) that could prevent the copy from being checked.\n\nShow both errors below a generic \"unable to load\" error. Details are now given explaining exactly why the primary and copy failed.\n\nPreviously if one file could not be loaded a warning would be output. This has been removed because it is not clear what the user should do in this case. Should they do a stanza-create --force? Maybe the best idea is to automatically repair the corrupt file, but on the other hand that might just spread corruption if pgBackRest makes the wrong choice." }, { "commit": "47687dd13a24a49409f07b99141b508739228791", "date": "2018-11-28 18:10:54 -0500", "subject": "Add xmlNodeAttribute() to XmlNode object.", "body": "Retrieves a node attribute unless it is the root node." }, { "commit": "7c2fcb63e4ab62e880ebca935fb67e25fa03d5b3", "date": "2018-11-28 14:56:26 -0500", "subject": "Enable encryption for archive-get command in C.", "body": "The decryption filter was added in archiveGetFile() and archiveGetCheck() was modified to return the WAL decryption key stored in archive.info. The rest was plumbing.\n\nThe mock/archive/1 integration test added encryption to provide coverage for the new code paths while mock/archive/2 dropped encryption to provide coverage for the existing code paths. This caused some churn in the expect logs but there was no change in behavior." }, { "commit": "6c23830991558d74ecade1d510fbd50acf5b0f18", "date": "2018-11-28 14:41:10 -0500", "subject": "Add encryption capability to Info* objects.", "body": "Info objects can be stored encrypted and loaded with a cipher type and passphrase." }, { "commit": "410a04a58ee59de3055483a2f971c2e42015267e", "date": "2018-11-28 14:20:12 -0500", "subject": "Allow arbitrary InOut filters to be chained in IoFilterGroup.", "body": "If InOut filters were placed next to each other then the second filter would never get a NULL input signaling it to flush. This arrangement only worked if the second filter had some other indication that it should flush, such as a decompression filter where the flush is indicated in the input stream.\n\nThis is not a live issue because currently no InOut filters are chained together." }, { "commit": "838cfa44b76ed885f030ebf75649df7eaace6593", "date": "2018-11-28 14:02:14 -0500", "subject": "Allow arbitrary multiplier and flush character in IoTestFilterMultiply.", "body": "This allows for more complex test filter chains.\n\nRename from IoTestFilterDouble to reflect the new functionality." }, { "commit": "3e254f4cff349f2de95b557b77e3bb0baa1450c9", "date": "2018-11-28 12:42:36 -0500", "subject": "Add IoFilter interface to CipherBlock object.", "body": "This allows CipherBlock to be used as a filter in an IoFilterGroup. The C-style functions used by Perl are now deprecated and should not be used for any new code.\n\nAlso add functions to convert between cipher names and CipherType." }, { "commit": "c3a84ccae08cf7506f26a000344ea1ba2517f9a8", "date": "2018-11-28 12:03:27 -0500", "subject": "Merge cipher.h into crypto.h.", "body": "There is not enough in cipher.h to make it worth having a separate header." }, { "commit": "7df7cf6e6d1e04fef41ba37cb13020ada6bf4b22", "date": "2018-11-27 22:49:24 -0500", "subject": "Rename cipherBlock*() functions to cipherBlock*C().", "body": "Some of the old names conflict with the new functions that must be created to implement the filter. Rename these to cipherBlock*C() to indicate that they take C-style parameters.\n\nThese functions are only used by the Perl LibC code and will be removed or refactored eventually." }, { "commit": "fea27dbd7eb4ea72a8c792628bba6ed849f68c08", "date": "2018-11-27 22:02:08 -0500", "subject": "Return IoFilterGroup * from ioFilterGroupAdd().", "body": "This allows filters adds to be chained." }, { "commit": "56ce98b2f0710b77e9df720722d200add670238e", "date": "2018-11-25 10:06:31 -0500", "subject": "Explicitly compile with Posix 2001 standard.", "body": "This standard was being selectively applied in modules that needed it.\n\nInstead, apply the standard to all compilation for consistency." }, { "commit": "315aa2c4512c2789889d68d1253366c5c75d405b", "date": "2018-11-25 08:39:41 -0500", "subject": "Conditional compilation of Perl logic in exit.c.", "body": "This file is the only one to contain Perl logic outside of the perl module. Make the Perl logic conditional to improve reusability." }, { "commit": "78fe642eaeae4f7f73796fdc45b5c2a81e9f3e9f", "date": "2018-11-24 20:31:35 -0500", "subject": "Remove extraneous use/include statements.", "body": "Use conditional loading to make docs work in the absence of LibC.\n\nSomehow this also required a use statement to be added. Perl, go figure." }, { "commit": "801e2a5a2ce14f6ef447526c646f0c641c94efa2", "date": "2018-11-24 19:05:03 -0500", "subject": "Rename PGBACKREST/BACKREST constants to PROJECT.", "body": "This brings consistency between the C and Perl constants and allows for easier code reuse." }, { "commit": "7a1a68883546bbfa0b24fc65054b0a7bf4f09b66", "date": "2018-11-24 09:12:44 -0500", "subject": "Add EOF detection to content read in HttpClient.", "body": "If the connection closed before all content was sent httpClientRead() would get stuck in an infinite loop waiting for it to arrive.\n\nEOF should never be reached during content read so immediately error if EOF is detected." }, { "commit": "f4a1751abc9b42d03e0d041fa386a879beb3ee5b", "date": "2018-11-23 16:02:33 -0500", "subject": "Improve JSON to Variant conversion and add Variant to JSON conversion.", "body": "Add boolean and one-dimensional list types to jsonToKv().\n\nAdd varToJson() and kvToJson() to convert Variants and KeyValues to JSON." }, { "commit": "e641c130d30706755775ee328637e3be9d6dba55", "date": "2018-11-23 12:19:56 -0500", "subject": "Fix release note typo." }, { "commit": "beae37533041e63a71b33757e4df933e197e575f", "date": "2018-11-23 12:18:07 -0500", "subject": "Enable S3 storage for archive-get command in C.", "body": "The only change required was to remove the filter that prevented S3 storage from being used. The archive-get command did not require any modification which demonstrates that the storage interface is working as intended.\n\nThe mock/archive/3 integration test was modified to run S3 storage locally to provide coverage for the new code paths while mock/stanza/3 was modified to run S3 storage remotely to provide coverage for the existing code paths. This caused some churn in the expect logs but there was no change in behavior." }, { "commit": "b5690e21a4ad453f004087adf434adf13d109a8c", "date": "2018-11-23 12:01:36 -0500", "subject": "Allow I/O read interface to explicitly request blocking reads.", "body": "TlsClient introduced a non-blocking read which is required to read protocol messages that are linefeed-terminated rather than a known size. However, in many cases the expected number of bytes is known in advance so in that case it is more efficient to have tlsClientRead() block until all the bytes are read.\n\nAdd block parameter to all read functions and use it when a blocking read is required. For most read functions this is a noop, i.e. if the read function never blocks then it can ignore the parameter.\n\nIn passing, set the log level of storageNew*() functions to debug to expose more high-level I/O operations." }, { "commit": "256b727a3d13b680ab2a4c7b3669649c857d1daf", "date": "2018-11-21 19:32:49 -0500", "subject": "Add S3 storage driver.", "body": "Only the storageNewRead() and storageList() functions are currently implemented, but this is enough to enable S3 for the archive-get command." }, { "commit": "72252ed2a102bf9c43d45500de1a29834d36721c", "date": "2018-11-21 19:11:45 -0500", "subject": "Add HttpClient object.", "body": "A robust HTTP client with connection reuse and automatic retries.\n\nUsing a single object to make multiple requests is more efficient because connections are reused whenever possible. Requests are automatically retried when the connection has been closed by the server. Any 5xx response is also retried.\n\nOnly the HTTPS protocol is currently supported." }, { "commit": "1dd06a6e460049ff888e152f33697b1e49046c30", "date": "2018-11-21 18:43:25 -0500", "subject": "Add TlsClient object.", "body": "A simple, secure TLS client intended to allow access to services that are exposed via HTTPS. We call it TLS instead of SSL because SSL methods are disabled so only TLS connections are allowed.\n\nThis object is intended to be used for multiple TLS connections against a service so tlsClientOpen() can be called each time a new connection is needed. By default, an open connection will be reused so the user must be prepared to retry their transaction on a read/write error if the server closes the connection before it can be reused. If this behavior is not desirable then tlsClientClose() may be used to ensure that the next call to tlsClientOpen() will create a new TLS session.\n\nNote that tlsClientRead() is non-blocking unless there are *zero* bytes to be read from the session in which case it will raise an error after the defined timeout. In any case the tlsClientRead()/tlsClientWrite()/tlsClientEof() functions should not generally be called directly. Instead use the read/write interfaces available from tlsClientIoRead()/tlsClientIoWrite()." }, { "commit": "ac426bc456425d68e33a7facc8393f26b9d17bb1", "date": "2018-11-21 18:13:37 -0500", "subject": "New test containers with static test certificates.", "body": "Test certificates were generated dynamically but there are advantages to using static certificates. For example, it possible to use the same certificate between container versions. Mostly, it is easier to document the certificates if they are not buried deep in the container code.\n\nThe new test certificates are initially intended to be used with the C unit tests but they will eventually be used for integration tests as well.\n\nTwo new certificates have been defined. See test/certificate/README.md for details.\n\nThe old dynamic certificates will be retained until they are replaced." }, { "commit": "53e3651ccaaaa1652f53903534974377a2808aec", "date": "2018-11-21 08:30:14 -0500", "subject": "Remove embedded semicolon from String constant macros.", "body": "The embedded semicolon led to inconsistent semicolons when using the macro and is not our general convention.\n\nRemove embedded semicolons from the macros and add semicolons in usage where they were not present." }, { "commit": "bc25db5667b3b05ba47c547591717ee9627f650c", "date": "2018-11-20 20:40:11 -0500", "subject": "Add interface objects for libxml2.", "body": "Add XmlDocument, XmlNode, and XmlNodeList objects as a thin interface layer on libxml2.\n\nThis interface is not intended to be comprehensive. Only a few libxml2 capabilities are exposed but more can be added as needed." }, { "commit": "6680130c6f5553e6d0c587dccc57b4a8508c4ab1", "date": "2018-11-20 19:24:53 -0500", "subject": "Require S3 key options except for local/remote commands.", "body": "S3 key options (repo1-s3-key/repo1-s3-key-secret) were not required which meant that users got an ugly assertion when they were missing rather than a tidy configuration error.\n\nOnly the local/remote commands need them to be optional. This is because local/remote commands get all their options from the command line but secrets cannot be passed on the command line. Instead, secrets are passed to the local/remote commands via the protocol for any operation that needs them.\n\nThe configuration system allows required to be set per command so use that to improve the error messages while not breaking the local/remote commands." }, { "commit": "f743d4e92418d73717225599e3dbd03a4af7dec9", "date": "2018-11-20 15:48:56 -0500", "subject": "Add testRepoPath() to let C unit tests know where the code repository is located.", "body": "This allows a C unit test to access data in the code repository that might be useful for testing.\n\nAdd testRepoPathSet() to set the repository path.\n\nIn passing remove extra whitespace in the TEST_RESULT_VOID() macro." }, { "commit": "b0659278cc7ab45519d791c10edbb494024f5148", "date": "2018-11-16 17:22:22 -0500", "subject": "Add ServiceError for errors from a service that can be retried.", "body": "An example is HTTP 5xx errors which should mostly be retried." }, { "commit": "3aa4fda573d95839d617c65880a240d4093951b7", "date": "2018-11-16 16:17:24 -0500", "subject": "Add missing LOG_DEBUG() macro." }, { "commit": "d0e553e4c2a024be44a92dfa5eb0ce77330bcef7", "date": "2018-11-16 16:05:06 -0500", "subject": "Reduce debug level for infoIni() to test.", "body": "Getters should generally not be logging at debug or trace level since it clutters the log.\n\nIn passing move the destructor to the end of the file." }, { "commit": "6532912d51050df4587ec54eee567e37fcb8b74e", "date": "2018-11-16 10:04:14 -0500", "subject": "Begin v2.08 development." }, { "commit": "04d9e4d5a88512707c350e3885e359d53c3ca36b", "date": "2018-11-16 09:50:50 -0500", "subject": "v2.07: Automatic Backup Checksum Delta" }, { "commit": "332a68ea8d713f24d1db08e20d5b95bcf32cc74e", "date": "2018-11-16 08:48:02 -0500", "subject": "Fix incorrect config constant introduced in 5e3b7cbe.", "body": "This commit introduced PGBACKREST_CONFIG_ORIG_PATH_FILE_STR as a String constant for PGBACKREST_CONFIG_ORIG_PATH_FILE but failed to get the value correct.\n\nAlso, no test was added for PGBACKREST_CONFIG_ORIG_PATH_FILE_STR to prevent regressions as there is for PGBACKREST_CONFIG_ORIG_PATH_FILE." }, { "commit": "75f6e45de26cf4ab087dc791f2aa177553584472", "date": "2018-11-15 16:31:46 -0500", "subject": "Add \\n, \\r, and 0 String constants." }, { "commit": "b6f7cbc31531b6e88a89ecfe9c8d3ebc1e682d2e", "date": "2018-11-15 16:25:46 -0500", "subject": "Add destructors to IoRead and IoWrite objects.", "body": "These interfaces previously used the memory context of the object they were associated with and did not have their own destructors.\n\nThere are times when it is useful to free the interface without also freeing the underlying object so give IoRead and IoWrite their own memory contexts and destructors.\n\nIn passing fix a comment type in bufferRead.c." }, { "commit": "480e1da7986a278a3b5c8aca965e539d383da9cc", "date": "2018-11-14 08:53:42 -0500", "subject": "Add ioWriteFlush() to flush pending output.", "body": "By default the IoWrite object does not write until the output buffer is full but this is a problem for protocol messages that must be sent in order to get a response.\n\nioWriteFlush() is not called internally by IoWrite but can be used at any time to immediately write all bytes from the output buffer without closing the IoWrite object." }, { "commit": "7918629f5931b2eeca316d8b37191718db4650f4", "date": "2018-11-14 08:16:53 -0500", "subject": "Modify value of PERL_EMBED_ERROR macro.", "body": "Remove !!! which by convention we use as a marker for code that needs attention before it can be committed to master." }, { "commit": "504e7d77faeecd213df99ec320246e10a526f9ad", "date": "2018-11-14 08:13:01 -0500", "subject": "Add comment regarding vars being required in blocks.", "body": "Documentation block syntax requires that at least one var be specified.\n\nThis limitation should be removed but for now add a comment to describe why a bogus var is defined." }, { "commit": "14d2f8b86c4fd3755af6cd9f5210cf1e34e8d090", "date": "2018-11-14 08:11:11 -0500", "subject": "Reword misleading message in stack trace when parameter buffer is full.", "body": "The prior message stated that there had been a buffer overrun which is not true since the code prevents that.\n\nIn fact, this message means the parameter buffer filled while building the parameter list. Rather than display a partial list we output this message instead.\n\nAlso remove !!! which by convention we use as a marker for code that needs attention before it can be committed to master." }, { "commit": "8c7e97a369a145f2d71856f2ff2ed734452a9040", "date": "2018-11-14 08:08:26 -0500", "subject": "Clarify comment about main.c being excluded from unit testing.", "body": "Also remove !!! which by convention we use as a marker for code that needs attention before it can be committed to master." }, { "commit": "73102034913ec2e3ca1b1cc485f8ce04820bba27", "date": "2018-11-14 07:42:28 -0500", "subject": "Remove obsolete comments." }, { "commit": "a0b2af567a8b6893c6e9b7f3b9a73acd4496332e", "date": "2018-11-13 20:58:32 -0500", "subject": "Add TEST_LOG() and TEST_LOG_FMT() macros.", "body": "These macros provide a convenient way to output debug information in tests.\n\nThey are not intended to be left in test code when it is committed to master." }, { "commit": "a582ad837f9ada7b924d6c0a23580f88c495ce2e", "date": "2018-11-13 20:43:08 -0500", "subject": "Add logging macros for TimeMSec type." }, { "commit": "acb579c4698f856e4c1ceedca751aaeadc9d2d3f", "date": "2018-11-13 10:37:58 -0500", "subject": "Tighten limits on code coverage context selection.", "body": "If the last } of a function was marked as uncovered then the context selection would overrun into the next function.\n\nStart checking context on the current line to prevent this. Make the same change for start context even though it doesn't seem to have an issue." }, { "commit": "086bc35ddc71b008a5d20f8e5e3d0305508dfdf5", "date": "2018-11-12 21:18:53 -0500", "subject": "Make ioReadLine() read less aggressively.", "body": "ioReadLine() calls ioRead(), which aggressively tries to fill the output buffer, but this doesn't play well with blocking reads.\n\nGive ioReadLine() an option that tells it to read only what is available. That doesn't mean the function will never block but at least it won't do so by reading too far." }, { "commit": "bc810e5a87176ee68491e79473325a8a411a34c9", "date": "2018-11-12 20:44:56 -0500", "subject": "Remove error suppression for pgBackRest make.", "body": "This looks like a copy-pasto because make works just fine without it." }, { "commit": "a2672557f80da95d6103d49e307321568285e5d6", "date": "2018-11-12 20:00:57 -0500", "subject": "Allow storage path and file mode to be 0.", "body": "Not all storage drivers support Posix-style permissions, e.g. S3." }, { "commit": "7107cc68d23f344e7b13206eaec506a039a00350", "date": "2018-11-12 18:11:16 -0500", "subject": "Expand context shown in coverage and update colors.", "body": "Too few lines were shown for coverage context so show the entire function if it has any missing coverage.\n\nUpdate colors to work with light and dark browser modes." }, { "commit": "0ba2292a29fcef873991098cc48b488580fbb713", "date": "2018-11-12 14:23:42 -0500", "subject": "Add EMPTY_STR to String object." }, { "commit": "aff9693e640c8a0b76e46f31d4fa569fd7d63289", "date": "2018-11-12 14:13:55 -0500", "subject": "Add strEmpty() to String object.", "body": "strEmpty() is more concise and explanatory than strSize() == 0." }, { "commit": "38c5f657704c4c6899a0bf86bbce5fd332d97971", "date": "2018-11-11 18:12:43 -0500", "subject": "Use THROW_ON_SYS_ERROR macro to improve fork code coverage.", "body": "Lack of code coverage in this module is just noise since these functions cannot generally be made to fail.\n\nAny failures are fatal." }, { "commit": "72ea47bfb341ff78f2582607e27e7b7df2ac25f8", "date": "2018-11-11 18:07:56 -0500", "subject": "Add KernelError to report miscellaneous kernel errors." }, { "commit": "257df96b12f38cba45751449dcd64ca712dd96c2", "date": "2018-11-11 18:06:09 -0500", "subject": "Add THROW*_ON_SYS_ERROR* macros to test and throw system errors.", "body": "These macros check the error result internally and are appropriate for system calls that won't return errors and so break coverage." }, { "commit": "22ecbc153a447b4f635fad2ab71fdd92ed8294bc", "date": "2018-11-11 17:32:42 -0500", "subject": "New, concise coverage report for C.", "body": "The report HTML generated by lcov is overly verbose and cumbersome to navigate. Since we maintain 100% coverage it's far more interesting to look at what is not covered than what is.\n\nThe new report presents all missing coverage on a single page and excludes code that is covered for brevity." }, { "commit": "3cd43fd60cd46430f86084f37b6ed874124e2848", "date": "2018-11-11 16:34:15 -0500", "subject": "Add new HTML tags and strExtra to DocHtmlElement.", "body": "Add HTML tags for table elements.\n\nThe strExtra parameter allows adhoc tags to be added to an element for features that can't be implemented with CSS, e.g. colspan." }, { "commit": "5e3b7cbe6ee7a409ad6e311668eb764fee82939c", "date": "2018-11-10 18:32:49 -0500", "subject": "Apply String constant macros where appropriate.", "body": "This may not be all the places where the macros can be useful but it's a good start." }, { "commit": "8f857a975e22d6a7c0e99a494169f24ed50b6c06", "date": "2018-11-10 09:37:12 -0500", "subject": "Add constant macros to String object.", "body": "There are many places (and the number is growing) where a zero-terminated string constant must be transformed into a String object to be usable. This pattern wastes time and memory, especially since the created string is generally used in a read-only fashion.\n\nDefine macros to create constant String objects that are initialized at compile time rather than at run time." }, { "commit": "df200bee2acf614edf9d008cccde67f02d89f103", "date": "2018-11-09 16:50:22 -0500", "subject": "Add regExpPrefix() to aid in static prefix searches.", "body": "The storageList() command accepts a regular expression as a filter. This works fine for local filesystems where it is relatively cheap to get a complete list of files and filter them in code. However, for remote filesystems like S3 it can be expensive to fetch a complete list of files only to discard the bulk of them locally.\n\nS3 does not filter on regular expressions but it can accept a static prefix so this function extracts a prefix from a regular expression when possible.\n\nEven a few characters can drastically reduce the amount of data that must be fetched remotely so the function does not try to be too clever. It requires a ^ anchor and stops scanning when the first special character is found." }, { "commit": "8c504bd2f9e6c14f134b6115f469ec3fe064cb73", "date": "2018-11-09 10:37:59 -0500", "subject": "Improve alignment of expected vs. got error test results.", "body": "It is easier to compare the error messages when they start at the same column." }, { "commit": "b5a3c8c84b789558d11d67199fbcc4029721d939", "date": "2018-11-09 09:54:55 -0500", "subject": "Add strCatChr() to String object." }, { "commit": "3e695af9614e61f72e9f0d7c3dc729cc5a27f3eb", "date": "2018-11-08 21:41:41 -0500", "subject": "New test containers.", "body": "* Add libxml2 library needed for S3 development.\n* Minor version updates for PostgreSQL.\n* Remove PostgreSQL 11 beta/rc repository." }, { "commit": "7cf1f42c5c65deed8ad0bdb86a33d273438fe9a0", "date": "2018-11-08 19:50:31 -0500", "subject": "Add time since the beginning of the run to each test statement.", "body": "Output the time in seconds of each test statement since the start of the test run.\n\nThis helps find individual tests that are running slowly." }, { "commit": "2150a26424cacc80ded57697b67af1e3c2a47211", "date": "2018-11-08 18:03:18 -0500", "subject": "Storage interface methods no longer declare the driver as const.", "body": "This works for the Posix driver but is bad for more dynamic drivers (e.g. S3) that need write access to the driver object." }, { "commit": "12b3be1d8ed38beea67c4d4de582af9039c5bd4b", "date": "2018-11-08 16:48:33 -0500", "subject": "Limit usable Buffer size without changing allocated size.", "body": "Allow buffers to report a lower size than their allocated size. This means a larger buffer can be used to do the work of a smaller buffer without having to create a new buffer and concatenate.\n\nThis is useful for blocking I/O where the buffer may be too large for the amount of data that is available to read." }, { "commit": "edb2c6eb26ca77eb3e3e05c006f3036dee2865b7", "date": "2018-11-08 08:37:57 -0500", "subject": "Construct Wait object in milliseconds instead of fractional seconds.", "body": "The Wait object accepted a double in the constructor for wait time but used TimeMSec internally. This was done for compatibility with the Perl code.\n\nInstead, use TimeMSec in the Wait constructor and make changes as needed to calling code.\n\nNote that Perl still uses a double for its Wait object so translation is needed in some places. There are no plans to update the Perl code as it will become obsolete." }, { "commit": "a9feaba9e521e39928ff5fdbc025eeff8fc17646", "date": "2018-11-07 08:51:32 -0500", "subject": "Add memContextCallbackClear() to prevent double free() calls.", "body": "If an object free() method was called manually when a callback was set then the callback would call free() again. This meant that each free() method had to protect against a subsequent call.\n\nInstead, clear the callback (if present) before calling memContextFree(). This is faster (since there is no unnecessary callback) and removes the need for semaphores to protect against a double free()." }, { "commit": "48d2795f312224f03dc88e99434865540ca71c7e", "date": "2018-11-06 20:04:16 -0500", "subject": "Merge crypto/random module into crypto/crypto.", "body": "There wasn't enough code to justify a separate module/test and it seems to fit just fine in crypto/crypto." }, { "commit": "8efa5e6a6af848a2a9d3e4c3260084d259949ee5", "date": "2018-11-06 19:38:38 -0500", "subject": "Rename CipherError to CryptoError.", "body": "This aligns with the general renaming from cipher to crypto." }, { "commit": "2cb312ef5aa9f57da607229f9fe22ce5d7aa0352", "date": "2018-11-06 19:16:00 -0500", "subject": "Add cryptoError() and update crypto code to use it.", "body": "This adds detail to error messages when available and improves code coverage." }, { "commit": "bef31f1802f231ce7b6ab06371148b74eb9eb6ab", "date": "2018-11-06 18:32:44 -0500", "subject": "Add base variants to all integer to string conversion functions.", "body": "Previously these functions were fixed at base 10 conversion. Add variants that can convert from any base." }, { "commit": "7de9584435839f8e7b20e8f336820b84a70cafd8", "date": "2018-11-04 08:39:48 -0500", "subject": "Ignore deleted files in rsync to test/repo.", "body": "Deleted files are showing up in git ls-files (added 57d78092) but they don't actually exist on disk.\n\nIf there is someway to exclude deleted files from ls-files then I can't find it, so just tell rsync to ignore missing files." }, { "commit": "57d780929741e3d09f60b252a26ad12fb645254e", "date": "2018-11-03 19:52:46 -0400", "subject": "Improve efficiency of code generation.", "body": "Code generation saved files even when they had not changed, which often caused code generation cascades. So, don't save files unless they have changed.\n\nUse rsync to determine which files have changed since the last test run. The manifest of changed files is saved and not removed until all code generation and builds have completed. If an error occurs the work will be redone on the next run.\n\nThe eventual goal is to do all the builds from the test/repo directory created by rsync but for now it is only used to track changes." }, { "commit": "1f8931f73274163f27ba38aea378ea50488ba557", "date": "2018-11-03 16:34:04 -0400", "subject": "Improve single test run performance.", "body": "Improve on 7794ab50 by including the build flag files directly into the Makefile as dependencies (even though they are not includes). This simplifies some of the rsync logic and allows make to do what it does best.\n\nAlso split build flag files into test, harness, and build to reduce rebuilds. Test flags are used to build test.c, harness flags are used to build the rest of the files in the test harness, and build flags are used for the files that are not directly involved in testing." }, { "commit": "7794ab50dc839088fc1e1137edaaf65354faa76a", "date": "2018-11-02 11:56:13 -0400", "subject": "Preserve contents of C unit test build directory between test.pl executions.", "body": "The contents were already preserved between tests in a single test.pl run but for a separate execution the entire project had to be built from scratch, which was getting slower as we added code.\n\nSave the important build flags in a file so the new execution knows whether the build contents can be reused." }, { "commit": "1a98bd41b48b2619b318639faeeb688481dbc07e", "date": "2018-11-02 08:37:27 -0400", "subject": "Mount tmpfs in Vagrantfile instead test.pl.", "body": "Mounting/unmounting tmpfs on /home/[user]/test takes time, forces at least 3GB of memory to be available for tests, and makes it harder to preserve data between tests.\n\nInstead, move mounting of tmpfs to the Vagrantfile and add it to fstab so it survives reboots." }, { "commit": "34c63276cd26cd5310169343bb8e17e323feef95", "date": "2018-11-01 11:31:25 -0400", "subject": "Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected.", "body": "There are a number of cases where a checksum delta is more appropriate than the default time-based delta:\n\n* Timeline has switched since the prior backup\n* File timestamp is older than recorded in the prior backup\n* File size changed but timestamp did not\n* File timestamp is in the future compared to the start of the backup\n* Online option has changed since the prior backup\n\nA practical example is that checksum delta will be enabled after a failover to standby due to the timeline switch. In this case, timestamps can't be trusted and our recommendation has been to run a full backup, which can impact the retention schedule and requires manual intervention.\n\nNow, a checksum delta will be performed if the backup type is incr/diff. This means more CPU will be used during the backup but the backup size will be smaller and the retention schedule will not be impacted." }, { "commit": "cca7a4ffd477871d5eab323f1a5f621fbe48a568", "date": "2018-10-30 16:45:42 -0400", "subject": "Retry all S3 5xx errors rather than just 500 internal errors.", "body": "We were already retrying 500 errors but 503 (rate-limiting) errors were not being retried and would cause an instant failure which aborted the command.\n\nThere are only two 5xx errors currently implemented by S3 but instead of adding 503 simply retry all 5xx errors. This is consistent with the http definition of this error class, \"the server failed to fulfill an apparently valid request.\"" }, { "commit": "286f7e501154a05d147d146d25e3dd0ea0d49d5c", "date": "2018-10-27 20:00:00 +0100", "subject": "Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded.", "body": "This calculation was missed when the WAL segment size was made dynamic in preparation for PostgreSQL 11.\n\nFix the calculation by checking the actual WAL file sizes instead of using an estimate based on WAL segment size. This is more accurate because it takes into account .history and .backup files, which are smaller. Since the calculation is done in the async process the additional processing time should not adversely affect performance.\n\nRemove the PG_WAL_SIZE constant and instead use local constants where the old value is still required. This is only the case for some tests and PostgreSQL 8.3 which does not provide a way to get the WAL segment size from pg_control." }, { "commit": "41b00dc204a04a87b337aa5bebe7cfd4032d5eae", "date": "2018-10-27 16:57:57 +0100", "subject": "Fix issue with archive-push-queue-max not being honored on connection error.", "body": "If an error occurred while acquiring a lock on a remote server the error would be reported correctly, but the queue max detection code was not reached. The tests failed to detect this because they fixed the connection before queue max, allowing the ccde to be reached.\n\nMove the queue max code before the lock so it will run even when remote connections are not working. This means that no attempt will be made to transfer WAL once queue max has been exceeded, but it makes it much more likely that the code will be reach without error.\n\nUpdate tests to continue errors up to the point where queue max is exceeded." }, { "commit": "03b9db9aa2e84bf6b23af8331712d1480520ca19", "date": "2018-10-25 14:58:25 +0100", "subject": "Fix error after log file open failure when processing should continue.", "body": "The C code was warning on failure and continuing but the Perl logging code was never updated with the same feature.\n\nRather than add the feature to Perl, just disable file logging if the log file cannot be opened. Log files are always opened by C first, so this will eliminate the error in Perl." }, { "commit": "d301720c58145910189829e8b2ceacccd3543c1e", "date": "2018-10-25 10:48:37 +0100", "subject": "Change infoArchiveCheckPg() to display the PostgreSQL version as a string in errors.", "body": "Previously an integer representation (e.g. 90400) would be displayed which is correct but not as friendly to the user." }, { "commit": "5590bfa84c0a91d1e93ed03441e12c4dab1078c5", "date": "2018-10-19 18:31:05 +0200", "subject": "Add tests for InfoPg history fixes introduced in 070455ce.", "body": "The existing tests were not adequate to ensure the history was being added in the correct order when some entries were loaded from a file and others added with infoPgAdd()." }, { "commit": "070455ce44504c63a5bf2f70093c64ed278fa12e", "date": "2018-10-19 12:31:56 +0200", "subject": "Correct current history item in InfoPg to always be in position 0.", "body": "The InfoPg object was partially modified in 960ad732 to place the current history item in position 0, but infoPgDataCurrent() didn't get updated correctly.\n\nRemove this->indexCurrent and make the current position always equal 0. Use the new lstInsert() function when adding new history items via infoPgAdd(), but continue to use lstAdd() when loading from a file for efficiency.\n\nThis does not appear to be a live bug because infoPgDataCurrent() and infoPgAdd() are not yet used in any production code. The archive-get command is the only C code using InfoPG and it always looks at the entire list of items rather than just the current item." }, { "commit": "f345db3f7ca15480c5aa70d015150b399f3ce33a", "date": "2018-10-19 11:52:17 +0200", "subject": "Add lstInsert() to List object.", "body": "Add general purpose insert function and make lstAdd() a special insert case." }, { "commit": "09a1ad2c10fa17e165b88731322f4dcf8de73ecc", "date": "2018-10-19 10:51:33 +0200", "subject": "Correct cfgDefDataFind() to use UINTP instead of VOIDPP.", "body": "Also add the UINTP macro." }, { "commit": "06d68eada00e6ec57c662aa9ad2bacdc86eb5861", "date": "2018-10-16 17:21:01 +0100", "subject": "Begin v2.07 development." }, { "commit": "904550c97f674d3f576d3113756f2b5c89b55ddf", "date": "2018-10-16 14:56:51 +0100", "subject": "v2.06: Checksum Delta Backup and PostgreSQL 11 Support" }, { "commit": "2c272c220b39739ff324305593034487df81b466", "date": "2018-10-15 23:23:49 +0100", "subject": "PostgreSQL 11 support.", "body": "PostgreSQL 11 RC1 support was tested in 9ae3d8c46 when the u18 container was rebuilt. Nothing substantive changed after RC1 so pgBackRest is ready for PostgreSQL 11 GA." }, { "commit": "9ae3d8c46ac10273ca53c942410f768e27395230", "date": "2018-10-15 23:13:08 +0100", "subject": "Install nodejs from deb.nodesource.com.", "body": "The standard npm packages on Ubuntu 18.04 suddenly required libssl1.0 which broke the pgbackrest package builds. Installing nodejs from deb.nodesource.com seems to work fine with standard libssl.\n\nThis package is required by ScalityS3 which is used for local S3 testing." }, { "commit": "98ff8ccc59fa1e344426f3084e0a37498e56ce12", "date": "2018-10-09 15:08:49 +0100", "subject": "Improve documentation in filter.h and filter.internal.h.", "body": "When the filter interface internals were split out into a new header file the documentation was not moved as it should have been. Additionally some functions which should have been moved were left behind.\n\nMove the documentation and functions to filter.internal.h and add more documentation. Filters are a tricky subject so the more documentation the better.\n\nAlso add documentation for the user-facing filter functions in filter.h." }, { "commit": "68110d04b24dc633e5b5b6869924dd36a2307135", "date": "2018-10-07 17:50:10 +0100", "subject": "Add ioReadLine()/ioWriteLine() to IoRead/IoWrite objects.", "body": "Allow a single linefeed-terminated line to be read or written. This is useful for various protocol implementations, including HTTP and pgBackRest's protocol.\n\nOn read the maximum line size is limited to buffer-size to prevent runaway memory usage in case a linefeed is not found. This seems fine for HTTP but we may need to revisit this decision when implementing the pgBackRest protocol. Another option would be to increase the minimum buffer size (currently 16KB)." }, { "commit": "db8dce7adcf277a021ad8766ab91e86fad913eff", "date": "2018-10-02 17:54:43 +0100", "subject": "Disable flapping archive/get unit on CentOS 6.", "body": "This test has been flapping since 9b9396c7. It seems to be some kind of timing issue since all integration tests pass and this unit passes on all other VMs. It only happens on Travis and is not reproducible in any development environment that we have tried.\n\nFor now, disable the test since the constant flapping is causing major delays in testing and quite a bit of time has been spent trying to identify the root cause. We are actively developing these tests and hope the issue will be identified during the course of normal development.\n\nA number of improvements were made to the tests while searching for this issue. While none of them helped, it makes sense to keep the improvements." }, { "commit": "ed5d7a53de7cd952825e824ae507e275c4648e18", "date": "2018-09-30 12:27:05 +0100", "subject": "Add .gitignore to C src directory.", "body": "Suggested by Stephen Frost." }, { "commit": "3be9f2dee79c02e728e2339dd047d6990ec215c5", "date": "2018-09-30 11:45:37 +0100", "subject": "Avoid calling strlen() twice in bufNewZ()." }, { "commit": "5404628148a3039f3933607c7f63cb4620f71761", "date": "2018-09-27 17:48:40 +0100", "subject": "Fix incorrect error message for duplicate options in configuration files.", "body": "Duplicating a non-multi-value option was not throwing the correct message when the option was a boolean.\n\nThe reason was that the option was being validated as a boolean before the multi-value check was being done. The validation code assumed it was operating on a string but was instead operating on a string list causing an assertion to fail.\n\nSince it's not safe to do the multi-value check so late, move it up to the command-line and configuration file parse phases instead." }, { "commit": "be2271f6d312e6497e98df2c792d2455afb461eb", "date": "2018-09-27 17:24:06 +0100", "subject": "Add cfgDefOptionMulti() to identify multi-value options.", "body": "Previously this was done in two separate places by checking if an option was type hash or list.\n\nBad enough that it was in two places, but an upcoming bug fix will add another instance so make it a function." }, { "commit": "e66e68e324fb8381e0592a419b3aafdf70703b56", "date": "2018-09-27 09:20:47 +0100", "subject": "Add cryptoHmacOne() for HMAC support.", "body": "There doesn't seem to be any need to implement this as a filter since current use cases (S3 authentication) work on small datasets.\n\nSo, use the single function method provided by OpenSSL for simplicity." }, { "commit": "6470f03fa28a72c9603d4d913ce58c7223b6cc0b", "date": "2018-09-26 22:36:42 +0100", "subject": "Comment fixes." }, { "commit": "bcca625062b4ee8394f933218e890238a75e9419", "date": "2018-09-26 22:33:48 +0100", "subject": "Add bufHex()to Buffer object.", "body": "A general-purpose function for converting buffers to hex strings." }, { "commit": "51484a008f1172b51c2296974de7bfcd37ab24b8", "date": "2018-09-26 18:46:52 +0100", "subject": "Add bufNewZ() to Buffer object.", "body": "This constructor creates a Buffer object directly from a zero-terminated string. The old way was to create a String object first, then convert that to a Buffer using bufNewStr().\n\nUpdated in all places that used the old pattern." }, { "commit": "d038b9a029f0c981e32a94b8b8632c356ffec7ac", "date": "2018-09-25 10:24:42 +0100", "subject": "Support configurable WAL segment size.", "body": "PostgreSQL 11 introduces configurable WAL segment sizes, from 1MB to 1GB.\n\nThere are two areas that needed to be updated to support this: building the archive-get queue and checking that WAL has been archived after a backup. Both operations require the WAL segment size to properly build a list.\n\nChecking the archive after a backup is still implemented in Perl and has an active database connection, so just get the WAL segment size from the database.\n\nThe archive-get command does not have a connection to the database, so get the WAL segment size from pg_control instead. This requires a deeper inspection of pg_control than has been done in the past, so it seemed best to copy the relevant data structures from each version of PostgreSQL and build a generic interface layer to address them. While this approach is a bit verbose, it has the advantage of being relatively simple, and can easily be updated for new versions of PostgreSQL.\n\nSince the integration tests generate pg_control files for testing, teach Perl how to generate files with the correct offsets for both 32-bit and 64-bit architectures." }, { "commit": "c0b0b4e541fc7cc5077e7f6b9fa646e7654ca9a4", "date": "2018-09-21 13:25:27 -0400", "subject": "PostgreSQL 11 Beta 4 support.", "body": "Catalog version changed for this release, so update it.\n\nAlso update and upload a new container with beta 4 installed." }, { "commit": "d513a46e6d9d34a28dd4b99636d6ea11d3e0dff4", "date": "2018-09-19 18:26:12 -0400", "subject": "Update introduction to be pithy." }, { "commit": "50266cc26c2c76fd155779e85c82dbed58cc2d84", "date": "2018-09-19 16:41:20 -0400", "subject": "Use command in authorized_hosts to improve SSH security.", "body": "Unsecured, passwordless SSH can be a scary thing. If an attacker gains access to one system they can easily hop to other systems.\n\nAdd documentation on how to use the command parameter in authorized_keys to limit ssh to running a single command, pgbackrest. There is more that could be done for security but this likely addresses most needs.\n\nAlso change references to \"trusted ssh\" to \"passwordless ssh\" since this seems more correct." }, { "commit": "880fbb5e578c387e52f83c8eca1040b42f4e21a8", "date": "2018-09-19 11:12:45 -0400", "subject": "Add checksum delta for incremental backups.", "body": "Use checksums rather than timestamps to determine if files have changed. This is useful in cases where the timestamps may not be trustworthy, e.g. when performing an incremental after failing over to a standby.\n\nIf checksum delta is enabled then checksums will be used for verification of resumed backups, even if they are full. Resumes have always used checksums to verify the files in the repository, enabling delta performs checksums on the database files as well.\n\nNote that the user must manually enable this feature in cases were it would be useful or just keep in enabled all the time. A future commit will address automatically enabling the feature in cases where it seems likely to be useful." }, { "commit": "bf0691576a56df0d662488cee19d21e924a3cecb", "date": "2018-09-18 13:29:05 -0400", "subject": "Allow delta option to be specified in the pgBackRest configuration file.", "body": "This option was previously allowed on the command-line only for no particular reason that we could determine.\n\nBeing able to specify it in the config file seems like a good idea and won't change current usage." }, { "commit": "b6b2c915b24fdcfb64e1fe6a0c8a796da50c9fe4", "date": "2018-09-18 11:39:48 -0400", "subject": "Allow hashSize() to run on remote storage.", "body": "Apparently we never needed to run this function remotely.\n\nIt will be needed by the backup checksum delta feature, so implement it now." }, { "commit": "052e483057e4ee55d29c229c39b92c90a9cee0af", "date": "2018-09-18 10:18:39 -0400", "subject": "Restore bIgnoreMissing flag in backupFile() lost in storage refactor.", "body": "The test to make sure that some files (e.g. pg_control) do not get removed during the backup was lost during the storage refactor committed at de7fc37f.\n\nThis did not impact the integrity of the backups, but bring it back since it is a nice sanity check." }, { "commit": "03003562d86f7fdbab21cad9f7a7ee56c3070f93", "date": "2018-09-17 11:45:41 -0400", "subject": "Merge all posix storage tests into a single unit.", "body": "As we add storage drivers it's important to keep the tests for each completely separate. Rather than have three tests for each driver, standardize on having a single test unit for each driver." }, { "commit": "e55d73304102145c46c32f25dbe103cd4c750d37", "date": "2018-09-17 11:38:10 -0400", "subject": "Add -ftree-coalesce-vars option to unit test compilation.", "body": "This is a workaround for inefficient handling of many setjmps in gcc >= 4.9. Setjmp is used in all error handling, but in the unit tests each test macro contains an error handling block so they add up pretty quickly for large unit tests.\n\nEnabling -ftree-coalesce-vars in affected versions reduces build time and memory requirements by nearly an order of magnitude. Even so, compiles are much slower than gcc <= 4.8.\n\nWe submitted a bug for this at: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316\nWhich was marked as a duplicate of: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155" }, { "commit": "b5f749b21cbf51e3ba9f3bc2129c337cb6ebec92", "date": "2018-09-16 18:41:30 -0400", "subject": "Add CIFS driver to storage helper for read-only repositories.", "body": "For read-only repositories the Posix and CIFS drivers behave exactly the same. Since that's all we support in C right now it's valid to treat them as the same thing. An assertion has been added to remind us to add the CIFS driver before allowing the repository to be writable.\n\nMostly we want to make sure that the C code does not blow up when the repository type is CIFS." }, { "commit": "a6c346cb04d8977d37e52072488d89a7fb3a89b6", "date": "2018-09-16 17:26:04 -0400", "subject": "Clear test directory between test runs.", "body": "Previously it was the responsibility of the individual tests to clean up after themselves. Now the test harness now does the cleanup automatically.\n\nThis means that some paths/files need to be recreated with each run but that doesn't happen very often.\n\nAn attempt has been made to remove all redundant cleanup code but it's hard to know if everything has been caught. No issues will be caused by anything that was missed, but they will continue to chew up time in the tests." }, { "commit": "4119ce208d1d6de2b096d0465721e93dcb981d3f", "date": "2018-09-16 15:58:46 -0400", "subject": "Move test expect log out of the regular test directory.", "body": "Storing the expect log (created by common/harnessLog) in the regular test directory was not ideal. It showed up in tests and made it difficult to clear the test directory between each run.\n\nMove the expect log to a purpose-built directory one level up so it does not interfere with regular testing." }, { "commit": "8852622fa241836b0a6c5c08d755f2c3d990427d", "date": "2018-09-16 15:53:19 -0400", "subject": "Fix missing test caused by a misplaced YAML tag." }, { "commit": "c47fc28c8b9cba4fba60f206ec029773f60171af", "date": "2018-09-16 14:15:21 -0400", "subject": "Make comment blocks consistent across all tests." }, { "commit": "84ab787b1a7f8ca42d9b2be72a730ace852667a1", "date": "2018-09-16 14:12:53 -0400", "subject": "Merge protocol storage helper into storage helper.", "body": "These are separated the same way in the Perl code where the remote storage driver is located in the Protocol module. However, in the C code the intention is to implement the remote storage driver as a regular driver in the storage layer rather than making a special case out of it.\n\nSo, merge the storage helpers. This also has the benefit of making the code a bit simpler.\n\nAlso separate storageSpool() and storageSpoolWrite() to make it clearer which operations require write access and to maintain consistency with the other storage helper functions." }, { "commit": "3014b05dabaa66fbb3ccfba89c79cca49905a695", "date": "2018-09-16 13:41:49 -0400", "subject": "Fix buffer underrun in configuration test harness.", "body": "If the total bytes read from the expect log file was 0 then the last byte of whatever was in memory before harnessLogBuffer would be set to 0.\n\nOn 32-bit systems this expressed as the high order byte of a pointer being cleared and wackiness (in the form of segfaults) ensued." }, { "commit": "0c02481d6e5cb7c85cd7caf770d06820137f27b4", "date": "2018-09-15 21:07:00 -0400", "subject": "Update all interfaces to use variable parameter constructors.", "body": "Fixed parameter constructors made adding new interface functions a burden, so we switched to using structs to define interfaces in the storage module at c49eaec7.\n\nWhile propagating this pattern to the IO interfaces it became obvious that the existing variable parameter function pattern (begun in the storage module) was more succinct and consistent with the existing code.\n\nSo, use variable parameter functions to define all interfaces. This assumes that the non-interface parameters will be fixed, which seems reasonable for low-level code." }, { "commit": "f0ed89f21fe2ae6278e64395f4191519807e529b", "date": "2018-09-15 13:27:06 -0400", "subject": "Allow C or Perl coverage to run on more than one VM.", "body": "C or Perl coverage tests can now be run on any VM provided a recent enough version of Devel::Cover or lcov is available.\n\nFor now, leave u18 as the only VM to run coverage tests due to some issues with older versions of lcov." }, { "commit": "31cdd9d20b114f5c71c585a6effc4e71fae0d9c2", "date": "2018-09-15 08:23:55 -0400", "subject": "Remove compiler warnings that are not valid for u16." }, { "commit": "c49eaec776014806af194e7a2d9e88691f361f99", "date": "2018-09-14 16:08:33 -0400", "subject": "Full abstraction of storage driver interface.", "body": "The external storage interfaces (Storage, StorageFileRead, etc.) have been stable for a while, but internally they were calling the posix driver functions directly.\n\nCreate driver interfaces for storage, fileRead, and fileWrite and remove all references to the posix driver outside storage/driver/posix (with the exception of a direct call to pathRemove() in Perl LibC).\n\nPosix is still the only available driver so more adjustment may be needed, but this should represent the bulk of the changes." }, { "commit": "aeb1fa3dfbf4a4b7384f8f2bc5a18a23e741396e", "date": "2018-09-13 19:12:40 -0400", "subject": "Don't perform valgrind when requested.", "body": "The --no-valgrind flag was not being honored. It's not clear if this flag ever worked, but it does now." }, { "commit": "fd14ceb3995fca731141f09f7c940819138c63a2", "date": "2018-09-13 18:58:22 -0400", "subject": "Rename posix driver files/functions for consistency.", "body": "The posix driver was developed over time and the naming is not very consistent.\n\nRename the files and functions to work well with other drivers and generally favor longer names since the driver functions are seldom (eventually never) used outside the driver itself." }, { "commit": "ab1762663cdcc3564113c5524dc384991228c0a4", "date": "2018-09-13 17:53:48 -0400", "subject": "Don't use negations in objects below Storage.", "body": "The Storage object represents some some optional parameters as negated if the default is true. This allows sensible defaults without having to specify most optional parameters.\n\nHowever, there's no need to propagate this down to functions that require all parameters to be passed -- it makes the code and logging more confusing. Rename the parameters and update logic to remove negations." }, { "commit": "1fb9fe7026f355f86c44fac375a370458c10fc99", "date": "2018-09-12 18:14:23 -0400", "subject": "Update comments missed in 5aa458ff." }, { "commit": "5aa458ffaecc42cbf6ee37ee4f985d255e31443e", "date": "2018-09-11 18:32:56 -0400", "subject": "Simplify debug logging by allowing log functions to return String objects.", "body": "Previously, debug log functions had to handle NULLs and truncate output to the available buffer size. This was verbose for both coding and testing.\n\nInstead, create a function/macro combination that allows log functions to return a simple String object. The wrapper function takes care of the memory context, handles NULLs, and truncates the log string based on the available buffer size." }, { "commit": "9b9396c7b7745cc4c765285e24ed131e7f72f343", "date": "2018-09-11 15:42:31 -0400", "subject": "Migrate local, unencrypted, non-S3 archive-get command to C.", "body": "The archive-get command will only be executed in C if the repository is local, unencrypted, and type posix or cifs. Admittedly a limited use case, but this is just the first step in migrating the archive-get command entirely into C.\n\nThis is a direct migration from the Perl code (including messages) to integrate as seamlessly with the remaining Perl code as possible. It should not be possible to determine if the C version is running unless debug-level logging is enabled." }, { "commit": "787e7c295ff64b7f862693784fa901d8b046a3d4", "date": "2018-09-11 14:43:16 -0400", "subject": "Change locking around async process forking to be more test friendly.", "body": "The lock is now released before the fork and reacquired after the fork so the parent process no longer needs to worry about clearing the lock.\n\nThis is the same locking mechanism that will be used once archive-get-async is exec'd as a separate command, so introduce it now to simplify testing." }, { "commit": "9e574a37dc4a5c03155a00673a944c2da0a51528", "date": "2018-09-11 12:30:48 -0400", "subject": "Make archive-get info messages consistent between C and Perl implementations.", "body": "The info messages were spread around and logged differently based on the execution path and in some cases logged nothing at all.\n\nTemporarily track the async server status with a flag so that info messages are not output in the async process. The async process will be refactored as a separate command to be exec'd in a future commit." }, { "commit": "6c1d48b0186f4df40787349d37b35d822e043289", "date": "2018-09-11 10:55:55 -0400", "subject": "Command-line help update missed in cabb3f857." }, { "commit": "cabb3f8577d6de2a6fec7b6e78e68671fc39a65b", "date": "2018-09-10 13:33:39 -0400", "subject": "List allowable values for the buffer-size option in the configuration reference.", "body": "Contributed by Cynthia Shang.\nSuggested by Stéphane Schildknecht." }, { "commit": "e351b8c67ca16f4210449c9d51916db1b3ad2416", "date": "2018-09-10 13:09:45 -0400", "subject": "Improve info command to display the stanza cipher type.", "body": "Contributed by Cynthia Shang.\nSuggested by Douglas J Hunley." }, { "commit": "c688bc86276fcc43bf53747ebbf3259bb8d5a62b", "date": "2018-09-10 10:54:34 -0400", "subject": "Improve support for special characters in filenames.", "body": "% characters caused issues in backup/restore due to filenames being appended directly into a format string.\n\nReserved XML characters (<>&') caused issues in the S3 driver due to improper escaping.\n\nAdd a file with all common special characters to regression testing." }, { "commit": "80ef6fce7529c5f9b8309ac0b8451ddce2a08e2b", "date": "2018-09-10 10:47:00 -0400", "subject": "Fix missing URI encoding in S3 driver.", "body": "File names with uncommon characters (e.g. @) caused authentication failures due to S3 encoding them correctly while the S3 driver did not." }, { "commit": "f7fc8422f780d18d045f42124dc40aa0920fe416", "date": "2018-09-07 16:50:01 -0700", "subject": "Make Valgrind return an error even when a non-fatal issue is detected.", "body": "By default Valgrind does not exit with an error code when a non-fatal error is detected, e.g. unfreed memory. Use the --error-exitcode option to enabled this behavior.\n\nUpdate some minor issues discovered in the tests as a result. Luckily, no issues were missed in the core code." }, { "commit": "faaa9a91fda78f8e38d0a479675f08a5b17a7302", "date": "2018-09-07 08:03:56 -0700", "subject": "Fix typo in unit test error messages, EXECTED => EXPECTED." }, { "commit": "6e9b6fdca919b9f6fe2bfdb88447ee1f4f7abea7", "date": "2018-09-07 08:03:05 -0700", "subject": "Migrate control functions to detect stop files to C from Perl.", "body": "Basic functions to detect the presence of stanza or all stop files and error when they are present.\n\nThe functionality to detect stop files without error was not migrated. This functionality is only used by stanza-delete and will be migrated with that command." }, { "commit": "5bdaa35fa5fea30bf7cdf10a5077cb3b661aa3db", "date": "2018-09-07 08:00:18 -0700", "subject": "Migrate walIsPartial(), walIsSegment(), and walSegmentFind() from Perl to C.", "body": "Also refactor regular expression defines to make them more reusable." }, { "commit": "96600760930d1713645ffab211d98d2314818432", "date": "2018-09-07 07:58:08 -0700", "subject": "Add helper for repository storage.", "body": "Implement rules for generating paths within the archive part of the repository. Add a helper function, storageRepo(), to create the repository storage based on configuration settings.\n\nThe repository storage helper is located in the protocol module because it will support remote file systems in the future, just as the Perl version does.\n\nAlso, improve the existing helper functions a bit using string functions that were not available when they were written." }, { "commit": "960ad73298fa9c3b9ea60b24428a10ede9a58828", "date": "2018-09-06 10:12:14 -0700", "subject": "Info objects now parse JSON and use specified storage.", "body": "Use JSON code now that it is available and remove temporary hacks used to get things working initially.\n\nUse passed storage objects rather than using storageLocal(). All storage objects in C are still local but this won't always be the case.\n\nAlso, move Postgres version conversion functions to postgres/info.c since they have no dependency on the info objects and will likely be useful elsewhere." }, { "commit": "de1b74da0cf9c4f182e3a4cde52d0b5163111a44", "date": "2018-09-06 09:35:34 -0700", "subject": "Move encryption in mock/archive tests to remote tests.", "body": "The new archive-get C code can't run (yet) when encryption is enabled. Therefore move the encryption tests so we can test the new C code. We'll move it back when encryption is enabled in C.\n\nAlso, push one WAL segment with compression to test decompression in the C code." }, { "commit": "6361a061812b20efeb89db110ebd592a0d52404f", "date": "2018-09-04 21:46:41 -0400", "subject": "Fix incorrectly reported error return in info logging.", "body": "A return code of 1 from the archive-get was being logged as an error message at info level but otherwise worked correctly.\n\nAlso improve info messages when an archive segment is or is not found." }, { "commit": "800afeef70464da57af023614b1dfeecce5e112c", "date": "2018-09-04 17:47:23 -0400", "subject": "Posix file functions now differentiate between open and missing errors.", "body": "The Perl functions do so and the integration tests rely on checking for these errors. This has been exposed as more functionality is moved into C.\n\nPassing the errors types is now a bit complicated so instead use a flag to determine which errors to throw." }, { "commit": "375ff9f9d283842da3620f22c9c5bdb61249ae9e", "date": "2018-08-31 16:06:40 -0400", "subject": "Ignore all files in a linked tablespace directory except the subdirectory for the current version of PostgreSQL.", "body": "Previously an error would be generated if other files were present and not owned by the PostgreSQL user. This hasn't been a big deal in practice but it could cause issues.\n\nAlso add tests to make sure the same logic applies with links to files, i.e. all other files in the directory should be ignored. This was actually working correctly, but there were no tests for it before." }, { "commit": "41746b53cd91c0d7203d855f9186c685ea59af47", "date": "2018-08-31 14:24:36 -0400", "subject": "Begin v2.06 development." }, { "commit": "bc7462d86d3529712cf7c196a04f7d6f8dd8ee34", "date": "2018-08-31 13:19:43 -0400", "subject": "v2.05: Environment Variable Options and Exclude Temporary/Unlogged Relations" }, { "commit": "d41570c37a2820380fa1708f31ed21c09e4065f8", "date": "2018-08-31 11:31:13 -0400", "subject": "Improve log file names for remote processes started by locals.", "body": "The log-subprocess feature added in 22765670 failed to take into account the naming for remote processes spawned by local processes. Not only was the local command used for the naming of log files but the process id was not pass through. This meant every remote log was named \"[stanza]-local-remote-000\" which is confusing and meant multiple processes were writing to the same log.\n\nInstead, pass the real command and process id to the remote. This required a minor change in locking to ignore locks if process id is greater than 0 since remotes started by locals never lock." }, { "commit": "c2d0a21d63a3c76bf513ac79c622e694ca9dfe1d", "date": "2018-08-30 18:44:40 -0400", "subject": "Allow secrets to be passed via environment variables.", "body": "When environment variables were added in d0b9f986 they were classified as cfgSourceParam, but one of the restrictions on this type is that they can't pass secrets because they might be exposed in the process list.\n\nThe solution is to reclassify environment variables as cfgSourceConfig. This allows them to handle secrets because they will not pass values to subprocesses as parameters. Instead, each subprocess is expected to check the environment directly during configuration parsing.\n\nIn passing, move the error about secrets being passed on the command-line up to command-line parsing and make the error more generic with respect to the configuration file now that multiple configuration files are allowed." }, { "commit": "70514061fdca620ba99dd0e36bb99dccbca43e1d", "date": "2018-08-30 16:27:36 -0400", "subject": "Fix issue where relative links in $PGDATA could be stored in the backup with the wrong path.", "body": "Relative link paths were being combined with the paths of previous links (relative or absolute) due to the $strPath variable being modified in the current iteration rather than simply being passed to the next level of recursion.\n\nThis issue did not affect absolute links and relative tablespace links were caught by other checks, though the error was confusing." }, { "commit": "1631f8b3cebbe761f5eb71c9b7203664f2ae5005", "date": "2018-08-29 16:45:58 -0500", "subject": "Embedded documentation update missed in c6384904." }, { "commit": "c6384904512363baaa8c6dbec42799c0ddb1d4db", "date": "2018-08-28 16:49:29 -0400", "subject": "Documentation updates for exclude feature based on review.", "body": "Reviewed by Cynthia Shang." }, { "commit": "14cde54b37bec6ac831a2ddc870531bd61b034dd", "date": "2018-08-28 16:27:10 -0400", "subject": "Limit manifest build recursion (i.e. links followed) to sixteen levels to detect link loops." }, { "commit": "a6cecf7d5ef722bc962a1e6a3808dce3424ca710", "date": "2018-08-28 16:22:30 -0400", "subject": "Prevent manifest from being built more than once." }, { "commit": "4498f726a59132421f8a1530783f8bb6cc8905c3", "date": "2018-08-28 16:04:53 -0400", "subject": "Improve asynchronous archive-get/archive-push performance by directly checking status files.", "body": "Prior to this commit, an expression was used to search the spool directory for ok/error files for a specific WAL segment. This involved setting up a regular expression and using opendir/readdir.\n\nInstead, directly probe for the status files, checking directly if a '.ok' or '.error' file exists, avoiding the regular expression and eliminating the directory scan.\n\nOnly the two files now probed for could have ever matched the regular expression which had been provided and it's unlikely that many more additional files will be added, so this is a good improvement, and optimization, with little downside." }, { "commit": "bef58a79743d3273d14de221e26291a5d90409b3", "date": "2018-08-27 15:51:05 -0400", "subject": "Allow arbitrary directories and/or files to be excluded from a backup.", "body": "Misuse of this feature can lead to inconsistent backups so read the --exclude documentation carefully before using." }, { "commit": "77dca5b96817d0e0d49e34fb7d8e0944e60f71a8", "date": "2018-08-24 19:31:45 -0400", "subject": "Allow command/option constants to autonumber in both C and Perl to reduce churn when a new command/option is added." }, { "commit": "4c3cf435c036037ff32b7a76e53753e765358173", "date": "2018-08-24 17:08:00 -0400", "subject": "Add cvtZToUInt() to convert string to unsigned int." }, { "commit": "eb30d88b6a6048353b269d590c43fad9e6233a25", "date": "2018-08-24 16:50:33 -0400", "subject": "Allow zero-size files in backup manifest to reference a prior manifest regardless of timestamp delta.", "body": "Contributed by Cynthia Shang." }, { "commit": "0ed37ab9e73fb59a5558b39bb292e0eb4f331ec9", "date": "2018-08-24 12:13:10 -0400", "subject": "Update Archive::Info->archiveIdList() to return a valid error code instead of unknown." }, { "commit": "22765670270067c5102a2ab9b3277d4cbc86c6af", "date": "2018-08-22 20:05:49 -0400", "subject": "Add log-subprocess option to allow file logging for local and remote subprocesses." }, { "commit": "512da125ad7314d2d58931186316423f039c8c35", "date": "2018-08-22 19:03:13 -0400", "subject": "Improve error reporting for TEST_ASSIGN() and TEST_RESULT_VOID() macros." }, { "commit": "ad989068d283a99a8aaf20be2eb0337a47bb8f73", "date": "2018-08-22 16:45:25 -0400", "subject": "Fix issue when a boolean option (e.g. delta) was specified more than once.", "body": "Reported by Yogesh Sharma." }, { "commit": "8a8738308c08ec9ac7a12b08f2ab7358dc4aa3af", "date": "2018-08-22 14:48:37 -0400", "subject": "Enable -Wvla." }, { "commit": "de5614db6b027900ef48f4ade456643cfecad79c", "date": "2018-08-15 14:05:39 -0400", "subject": "PostgreSQL 11 Beta 3 support." }, { "commit": "d0b9f986a0eb30c550b2dc9031ad10dda941a26c", "date": "2018-08-15 10:52:53 -0400", "subject": "Allow any option to be set in an environment variable.", "body": "This includes options that previously could only be specified on the command line, e.g. stanza." }, { "commit": "4a822d3032389543d2bb53018cff9062155cd3f9", "date": "2018-08-15 10:32:18 -0400", "subject": "Correct OptionInvalidError to OptionInvalidValueError in boolean option parsing." }, { "commit": "238e5dae3c12ff37b3873e5db5a9c1cff3bed64f", "date": "2018-08-14 17:17:14 -0400", "subject": "Allow resolve array from cd5df357 to autosize to detect short arrays in testing." }, { "commit": "cb4b715533c1a566add50cb3e245cd2a65fba5fa", "date": "2018-08-14 16:49:38 -0400", "subject": "Add strReplaceChr() to String object." }, { "commit": "4a176681c3d7767c1f5cb98d1d5e46b7adb3f76b", "date": "2018-08-14 16:18:17 -0400", "subject": "Add cvtCharToZ() and macro for debugging char params." }, { "commit": "9e3273fdf91e31d6f13ecd12658fa624dfbf4f3d", "date": "2018-08-14 16:08:58 -0400", "subject": "Define cipher magic size with sizeof() rather than using a constant." }, { "commit": "6643afe9a86bf617d2e90687130248c4a6ee6c14", "date": "2018-08-14 14:56:59 -0400", "subject": "Add gzip compression/decompression filters for C." }, { "commit": "e3ff6b209d9cf50f88f51a70ac7247949b63ac55", "date": "2018-08-14 14:21:53 -0400", "subject": "Filters can now produce output that differs from input.", "body": "This allows filters such as compression, encryption, etc. to be implemented." }, { "commit": "a45d1b4a60545940a6a5eac37cf16473b97d2c41", "date": "2018-08-14 13:38:11 -0400", "subject": "Update to command-line docs missed in 40924e8f." }, { "commit": "40924e8f5c84cfdac7eadde4b6cca092f3900430", "date": "2018-08-13 07:47:26 -0400", "subject": "Fix invalid log level in log-path option reference.", "body": "Reported by Camilo Aguilar." }, { "commit": "343424009795014bce2474f46762d76cc9ec4ef7", "date": "2018-08-12 19:24:21 -0400", "subject": "Remove incompletely implemented online option from the check command.", "body": "Offline operation runs counter to the purpose of this command, which is to check if archiving and backups are working correctly." }, { "commit": "cb6821e8533a9ff3c4e3727746bd1d259255d86a", "date": "2018-08-12 18:19:34 -0400", "subject": "Stop trying to arrange contributors in release.xml by last/first name.", "body": "Contributor names have always been presented in the release notes exactly as given, but we tried to assign internal IDs based on last/first name which can be hard to determine and ultimately doesn't make sense.\n\nInspired by Christophe Pettus' PostgresOpen 2017 talk, \"Human Beings Do Not Have a Primary Key\"." }, { "commit": "cd5df3570b0fcd5011e2339b48a3359a1f2c54da", "date": "2018-08-11 12:55:33 -0400", "subject": "Validate configuration options in a single pass.", "body": "By pre-calculating and storing the option dependencies in parse.auto.c validation can be completed in a single pass, which is both simpler and faster." }, { "commit": "f06bf9e8329fcb083271fab8d7aeccad1122a5b1", "date": "2018-08-11 09:47:07 -0400", "subject": "Improve error message when a command is missing the stanza option.", "body": "Suggested by Sarah Conway." }, { "commit": "8ab2e72960de60557331fe7087015519a516f318", "date": "2018-08-09 08:57:21 -0400", "subject": "Migrate minimum set of code for reading archive.info files from Perl to C.", "body": "Contributed by Cynthia Shang." }, { "commit": "7993f1a96620ac6c00ba961036ba5ff6abc58f22", "date": "2018-08-09 08:06:23 -0400", "subject": "Add basic C JSON parser." }, { "commit": "31167d8f987cf171bd655c5ccb1bebebac9d7997", "date": "2018-08-05 08:35:18 -0400", "subject": "Enable -Wduplicated-branches, and -Wduplicated-cond." }, { "commit": "14f21a8f6c0f1bec4c4af82af51235ddf8617beb", "date": "2018-08-04 19:37:28 -0400", "subject": "Enable -Wpointer-arith." }, { "commit": "429a356e3323acf99f3d73a527baf7aaa55a3b5b", "date": "2018-08-03 19:19:14 -0400", "subject": "Enable -Wstrict-prototypes and update all void functions to conform." }, { "commit": "bec4c176dc478d5eff855c18ba05d4a8301f0b22", "date": "2018-07-30 18:53:34 -0400", "subject": "Exclude temporary and unlogged relation (table/index) files from backup.", "body": "Implemented using the same logic as the patches adding this feature to PostgreSQL, 8694cc96 and 920a5e50. Temporary relation exclusion is enabled in PostgreSQL ≥ 9.0. Unlogged relation exclusion is enabled in PostgreSQL ≥ 9.1, where the feature was introduced." }, { "commit": "ac16cb7ff16b58c9de4ba9c27d5322b69639594e", "date": "2018-07-28 09:39:52 -0400", "subject": "Add cvtBoolToConstZ() to simplify conversion of boolean to string." }, { "commit": "7a00bbebfafc94f17b7897b2074cfd079e6882b6", "date": "2018-07-28 09:04:06 -0400", "subject": "Do nothing in memContextMove() when the context is already in the specified parent." }, { "commit": "cb975a533095f863232843cac1b3831f24a8fe3c", "date": "2018-07-28 08:43:58 -0400", "subject": "Remove redundant lines from embedded Perl by combining blank lines." }, { "commit": "666537cbdee986ebdc323f6c9d412edf2a5c7145", "date": "2018-07-28 08:13:30 -0400", "subject": "Update code count for new file types and exclusions." }, { "commit": "01aea0c067c2e667c47346620c563218f4c0f568", "date": "2018-07-24 21:08:27 -0400", "subject": "Implement filters that do not modify the buffer.", "body": "Update cryptoHash to use the new interface." }, { "commit": "8e1017c1622bed5ebddc910545cbcaf288dd2f2f", "date": "2018-07-23 07:59:24 -0400", "subject": "Move most host setup to containers defined in the documentation.", "body": "This includes PostgreSQL installation which had previously been included in the documentation. This way produces faster builds and there is no need for us to document PostgreSQL installation." }, { "commit": "27238310322096a52f1babf478cd4fffb344d949", "date": "2018-07-23 07:49:15 -0400", "subject": "Allow containers to be defined in a document.", "body": "The defined containers are built before the document build begins which allows them to be reused." }, { "commit": "ae72772e5b366f02f8a5026e3109cfd43aacb8f4", "date": "2018-07-23 07:17:24 -0400", "subject": "Fix typo in 18626306." }, { "commit": "1862630629bdf435a76575a31ed722cc351def11", "date": "2018-07-21 17:02:42 -0400", "subject": "Use pre-built images from Docker Hub when the container definition has not changed.", "body": "Downloading an image is quite a bit faster than building a new image from scratch and saves minutes per test run in CI." }, { "commit": "8568622a6f5941cbe9e0ef40ea9f605b62675838", "date": "2018-07-20 19:03:46 -0400", "subject": "Add --log-level-test option.", "body": "This allows setting the test log level independently from the general test harness setting, but current only works for the C tests. It is useful for seeing log output from functions on the console while a test is running." }, { "commit": "58e9f1e50cfbc2df22af17293fe8a298cac5513a", "date": "2018-07-20 18:51:42 -0400", "subject": "Refactor the common/log tests to not depend on common/harnessLog.", "body": "common/harnessLog was not ideally suited for general testing and made all the tests quite awkward. Instead, move all code used to test the common/log module into the logTest module and repurpose common/harnessLog to do log expect testing for all other tests in a cleaner way.\n\nAdd a few exceptions for config testing since the log levels are reset by default in config/parse." }, { "commit": "1359e2908c777ef7b8cb128f7d7ede3b53bc2018", "date": "2018-07-20 08:11:34 -0400", "subject": "Fix issue where errors raised in C were not logged when called from Perl.", "body": "pgBackRest properly terminated with the correct error code but lacked an error message to aid in debugging." }, { "commit": "d3cfeebdf91a559a0af80bba5fc424f4d091b944", "date": "2018-07-20 08:03:44 -0400", "subject": "Rename error-handling variables in Main.pm to conform to standard." }, { "commit": "fa53e2eddb95822553b6a860ef3e6d09fdb31f4a", "date": "2018-07-20 07:15:28 -0400", "subject": "Show exact log level required for stack trace param output instead of just \"debug\"." }, { "commit": "0ac176b722fe93301ec9f4d706698f0f01125666", "date": "2018-07-19 16:04:20 -0400", "subject": "Abstract IO layer out of the storage layer.", "body": "This allows the routines to be used for IO objects that do not have a storage representation.\n\nImplement buffer read and write IO objects." }, { "commit": "5dc8a2ec08ee7569063915c7a1b3399ac1f2d16c", "date": "2018-07-17 19:01:54 -0400", "subject": "storageFileRead() accepts a buffer for output rather than creating one.", "body": "This is more efficient overall and allows the caller to specify how many bytes will be read on each call. Reads are appended if the buffer already contains data but the buffer size will never increase.\n\nAllow Buffer object \"used size\" to be different than \"allocated size\". Add functions to manage used size and remaining size and update automatically when possible." }, { "commit": "0acf70541601d99795f6da06ebca030eff69cd46", "date": "2018-07-16 17:25:15 -0400", "subject": "Require PostgreSQL catalog version when instantiating a Manifest object (and not loading it from disk).", "body": "Contributed by Cynthia Shang." }, { "commit": "4e38cbaea9fdfbc8618971c5148ffd0a7e7ef4ab", "date": "2018-07-12 15:28:46 -0400", "subject": "Add iniSectionList() to Ini object and remove dead code.", "body": "Contributed by Cynthia Shang." }, { "commit": "0e6b927a172368a77473571d8c27265253894c0e", "date": "2018-07-12 15:23:18 -0400", "subject": "Add uint64 variant type and supporting conversion functions.", "body": "Contributed by Cynthia Shang.\nReviewed by Stephen Frost." }, { "commit": "0e331b12ba0cf377e4292a89ae84de7bb74281d6", "date": "2018-07-12 15:15:32 -0400", "subject": "Improve performance of string to int conversion.", "body": "Use strtoll() instead of sprintf() for conversion. Also use available integer min/max constants rather than hard-coded values.\n\nReviewed by Stephen Frost.\nSuggested by Stephen Frost." }, { "commit": "cf889790e60972adcacc6e21fa3853378676889a", "date": "2018-07-10 15:39:03 -0400", "subject": "Error if LibC build is performed outside the test environment.", "body": "LibC is no longer required for production builds." }, { "commit": "b1bc53657d9e683f30bdfcce190da286a383328f", "date": "2018-07-09 08:15:16 -0400", "subject": "Begin v2.05 development." }, { "commit": "a8143ec1253f3d9187c053def0b8c515d4f13fd5", "date": "2018-07-05 20:16:41 -0400", "subject": "v2.04: Critical Bug Fix for Backup Resume" }, { "commit": "6f6dad6dd5fb0f2ba5824b1812e71abf047704a4", "date": "2018-07-05 16:49:46 -0400", "subject": "Remove call to lscpu which can vary widely by build host." }, { "commit": "22adb395db804e03646fc53d84b6e7935c38c46e", "date": "2018-07-05 15:40:50 -0400", "subject": "Add zero-length file to mock/all test." }, { "commit": "db17973cd0a8a5692e408621703fd83fbce40166", "date": "2018-07-03 14:01:57 -0400", "subject": "Fix critical bug in resume that resulted in inconsistent backups.", "body": "A regression in v0.82 removed the timestamp comparison when deciding which files from the aborted backup to keep on resume. All resumed backups should be considered inconsistent. A resumed backup can be identified by checking the log for the message \"aborted backup of same type exists, will be cleaned to remove invalid files and resumed\"." }, { "commit": "3d07e01fe920bef0d4848ddd55560dc13e38ef85", "date": "2018-07-01 20:02:37 -0400", "subject": "Make ls ordering deterministic in mock/all test." }, { "commit": "1bd98b61df7aeaec25b6d6b5baa71f8a458784ee", "date": "2018-07-01 08:17:27 -0400", "subject": "Fix non-compliant ISO-8601 timestamp format in S3 authorization headers.", "body": "AWS and some gateways were tolerant of space rather than zero-padded hours while others were not.\n\nFixed by Andrew Schwartz." }, { "commit": "7e65ddad34db74a14e54aab125f0e62596268f6e", "date": "2018-06-30 14:55:25 -0400", "subject": "PostgreSQL 11 Beta 2 support." }, { "commit": "7b0e65d48823e94a7a17ae377e54a898bb07d7fb", "date": "2018-06-26 17:27:22 -0400", "subject": "Improve the HTTP client to set content-length to 0 when not specified by the server.", "body": "S3 (and gateways) always set content-length or transfer-encoding but HTTP 1.1 does not require it and proxies (e.g. HAProxy) may not include either." }, { "commit": "e8c68b9c6657d7fabfd70cbd8ad3778e123bcb41", "date": "2018-06-26 16:56:05 -0400", "subject": "Update parameters for VBoxService start." }, { "commit": "ead70e16bbead338b7ba14b4a03014187bb80c23", "date": "2018-06-23 13:09:56 -0400", "subject": "Add sample S3 policy to restrict bucket privileges.", "body": "Suggested by Douglas J Hunley, Jason O'Donnell." }, { "commit": "aa41e00c9cdbb966a6cda088a21fb16c443163d4", "date": "2018-06-21 11:39:37 -0400", "subject": "Set search_path = 'pg_catalog' on PostgreSQL connections.", "body": "Suggested by Stephen Frost." }, { "commit": "7fee739710b052f41ff881b513ae376acb1e5c2a", "date": "2018-06-20 18:26:53 -0400", "subject": "Remove Debian package patch since it has been committed upstream." }, { "commit": "6084e9be04dd958f8ab8906c1af8e3ed1fca4994", "date": "2018-06-16 13:07:01 -0400", "subject": "Fix default location of pgbackrest.conf in option reference." }, { "commit": "1a0d56860059e7f9998e1faf5d384017ca1511ee", "date": "2018-06-14 19:05:35 -0400", "subject": "Preliminary documentation for PostgreSQL 11 unprivileged user backup." }, { "commit": "3793ae1e4f0a4deeb156fa3d0ace4ddab0b85804", "date": "2018-06-14 17:59:10 -0400", "subject": "Convert the not very portable uint type to unsigned int.", "body": "Suggested by Devrim Gündüz." }, { "commit": "4e7692b74d229538fdde123a6020258a9ff5f8f3", "date": "2018-06-14 17:44:44 -0400", "subject": "Fix error in selective restore when only one user database exists in the cluster.", "body": "Fixed by Cynthia Shang.\nReported by Nj Baliyan." }, { "commit": "fbd1da05230bb4790f143443dd515453fada0bba", "date": "2018-06-13 13:43:17 -0400", "subject": "Create a new section to describe building pgBackRest and build on a separate host." }, { "commit": "d55e609959547750116be2954f956e7e918013b5", "date": "2018-06-12 13:43:15 -0400", "subject": "Use a prebuilt s3 server container for documentation and tests." }, { "commit": "350b30fa4977e23b205e05b787d707eaceb5a67f", "date": "2018-06-11 14:52:26 -0400", "subject": "Move cryptographic hash functions to C using OpenSSL." }, { "commit": "064ec757e9da187ff4a6dad481dc32775454dee3", "date": "2018-06-11 10:53:16 -0400", "subject": "Rename cipher module to the more general crypto." }, { "commit": "835396751f220be3f8e46f344d4eadfd7b7305b3", "date": "2018-06-10 14:13:56 -0400", "subject": "Document generator improvements.", "body": "* Build containers from scratch for more accurate testing.\n* Allow environment load to be skipped.\n* Allow bash wrapping to be skipped.\n* Allow forcing a command to run as a user without sudo." }, { "commit": "5c0099781d170409a0121355fb8b4917ca06ac0a", "date": "2018-06-06 22:19:01 -0400", "subject": "Update Debian package to add debug symbols to pgBackRest executable." }, { "commit": "a385cb520b02c8e216bde78de51e57c216534778", "date": "2018-06-06 15:52:28 -0400", "subject": "Update primary test environment (Vagrant and Docker) to Ubuntu 18.04." }, { "commit": "d309a85b51d732cb983ea781b69a9a1d2d4a1831", "date": "2018-06-05 08:59:17 -0400", "subject": "PostgreSQL 11 Beta 1 support." }, { "commit": "e57840d739e12aec86fb4772044e0d722f1d9dd6", "date": "2018-05-25 13:42:09 -0400", "subject": "Document generator improvements.", "body": "* Allow parameters to be passed when a container is created.\n* Allow /etc/hosts update to be skipped (for containers without bash)." }, { "commit": "40093f160cf891c9bb522f4da1f0414aeacbc3e5", "date": "2018-05-24 14:01:24 -0400", "subject": "Improve efficiency of C library builds now that they are used only for testing." }, { "commit": "915b09635a5300f1cb45506c5237c3b883b5a85a", "date": "2018-05-24 11:00:47 -0400", "subject": "Remove RHEL package patch since it has been committed upstream." }, { "commit": "8eb9921c7ca3d3aaacf1894756be02cbe7d17e18", "date": "2018-05-23 14:57:08 -0400", "subject": "Auto-generate Makefile with dependencies." }, { "commit": "2f6017511fda3c6aeb67c3daafcc6c1dc35b2dd4", "date": "2018-05-23 09:45:08 -0400", "subject": "Split log levels into separate header file.", "body": "Many modules that use debug.h do not need to do logging so this reduces dependencies for those modules." }, { "commit": "dfa92b359deddb37b10db5e1bac47750d8d1011c", "date": "2018-05-23 09:10:14 -0400", "subject": "Begin v2.04 development." }, { "commit": "f7123c1bbf239814b33ddc97e53b472cf0e69d16", "date": "2018-05-22 19:53:25 -0400", "subject": "v2.03: Single Executable to Deploy" }, { "commit": "4c7408ea52af7f8faec5244c65a55440643616eb", "date": "2018-05-22 12:53:08 -0400", "subject": "Embed exported C functions and Perl modules directly into the pgBackRest executable." }, { "commit": "ada5c5c0d96e63f9f13009b6b0818457b49c6591", "date": "2018-05-21 10:46:45 -0400", "subject": "Fix archive write lock being taken for the synchronous archive-get command.", "body": "Reported by Uspen." }, { "commit": "e69d5fbf624bbab45dcc820798284244fecd18c3", "date": "2018-05-21 08:06:31 -0400", "subject": "Fix potential buffer overrun in error message handling.", "body": "Reported by Lætitia." }, { "commit": "72a9684d4e9dc15f7252b259dafb35a310fe2cd6", "date": "2018-05-18 12:03:39 -0400", "subject": "Print total runtime in milliseconds at command end." }, { "commit": "52bc07323407668f49282d011b710f85fc9b11b6", "date": "2018-05-18 11:57:32 -0400", "subject": "Add stack trace macros to all functions.", "body": "Low-level functions only include stack trace in test builds while higher-level functions ship with stack trace built-in. Stack traces include all parameters passed to the function but production builds only create the parameter list when the log level is set high enough, i.e. debug or trace depending on the function." }, { "commit": "abb9651f4c58446bbcf3f2013d075157a20beed5", "date": "2018-05-18 06:45:14 -0400", "subject": "Test harness improvements.", "body": "* Allow more than one test to provide coverage for the same module.\n* Add option to disable valgrind.\n* Add option to disabled coverage.\n* Add option to disable debug build.\n* Add option to disable compiler optimization.\n* Add --dev-test mode." }, { "commit": "bce3d0fe1c96c0204fffd38145e4ddd56362a837", "date": "2018-05-17 17:09:06 -0400", "subject": "Build libc using links rather than referencing the C files in src directly.", "body": "The C library builds with different options which should not be reused for the C binary or vice versa." }, { "commit": "91be372e6ac1601249df05e334ee93ba5540633c", "date": "2018-05-11 11:24:38 -0400", "subject": "Set log-timestamp=n for integration tests.", "body": "This means less filtering of logs needs to be done and new timestamps can be added without adding new filters." }, { "commit": "a1be8e16cdfd364591c3a7104b1cc30084b13a08", "date": "2018-05-11 10:39:36 -0400", "subject": "Update SSL error message test on CentOS 7." }, { "commit": "4b4af1cbfc0859a3db2981229e864853a38722bb", "date": "2018-05-09 11:14:35 -0400", "subject": "Use time_t instead of __time_t for better portability.", "body": "Suggested by Nick Floersch." }, { "commit": "a9069f3fd3236d020c589265117817d3fddc6a5d", "date": "2018-05-09 10:50:05 -0400", "subject": "Begin v2.03 development." }, { "commit": "ee8aafb3cadd77682c97bcc74adb457e0723ebee", "date": "2018-05-06 19:53:42 -0400", "subject": "v2.02: Parallel Asynchronous Archive Get and Configuration Includes" }, { "commit": "4d6a51ac47e168811531cb4d388f0dde2b89cbcd", "date": "2018-05-06 08:56:42 -0400", "subject": "Add HARNESS_FORK for tests that require fork().", "body": "A standard pattern for tests makes fork() easier to use and should help prevent some common mistakes." }, { "commit": "790f7c73128a4b3f0f98600aa7475d88f774fd1b", "date": "2018-05-05 11:50:11 -0400", "subject": "Enforce full branch coverage in C code." }, { "commit": "0a860e0b6049bd6922a1583ede6748b46cfb9d23", "date": "2018-05-05 09:38:09 -0400", "subject": "Full branch coverage for command/help/help, common/error, common/ini, and common/log modules." }, { "commit": "90aadc6534be12e8a49d4da5ff231a1f439e378c", "date": "2018-05-04 12:49:25 -0400", "subject": "Full branch coverage for config module." }, { "commit": "6c3b40152fa88e101564867ed55338bb63eff626", "date": "2018-05-04 09:21:32 -0400", "subject": "Improve module branch coverage.", "body": "Add full branch coverage for cipher/block, command/command, common/wait, and postgres/pageChecksum modules." }, { "commit": "c3a8fbe706ed31e2414fa454d6090d0346f34f4a", "date": "2018-05-03 11:24:29 -0400", "subject": "Add _FMT variants for all THROW macros so format types are checked by the compiler." }, { "commit": "6a40c916d4307c2de79de250ed444237d47e6b7a", "date": "2018-05-02 14:06:40 -0400", "subject": "Add repo-s3-token option to allow temporary credentials tokens to be configured.", "body": "pgBackRest currently has no way to request new credentials so the entire command (e.g. backup, restore) must complete before the credentials expire." }, { "commit": "5e090ba30501b76717dcb034420aba06847955f2", "date": "2018-05-02 12:19:54 -0400", "subject": "Fix failure in manifest build when two or more files in PGDATA are linked to the same directory.", "body": "Reported by Vitaliy Kukharik." }, { "commit": "6a01db2b3297fc103577b8bd25da011f09fc8a17", "date": "2018-05-02 12:06:12 -0400", "subject": "Fix delta restore failing when a linked file is missing." }, { "commit": "9d9fad88a25b0f4bafcae1f2e9b1cf81d00b8d9e", "date": "2018-05-02 07:31:44 -0400", "subject": "Add example of command section usage to archiving configuration.", "body": "Suggested by Christophe Courtois." }, { "commit": "fd1984239e5d60293b86419d77bcb1c990dbbc7e", "date": "2018-05-01 14:07:08 -0400", "subject": "Fix rendering of key/value and list options in help.", "body": "Reported by Clinton Adams." }, { "commit": "1a1ed8d6b9973e069325b1dee7b54c9bbc2740d1", "date": "2018-05-01 13:20:48 -0400", "subject": "Update help test to use restore command to provide better coverage." }, { "commit": "8dbbf2de929813d5ed2068c13b8cc5b3c3cfafc2", "date": "2018-05-01 12:37:06 -0400", "subject": "Fix archive-copy throwing \"path not found\" error for incr/diff backups.", "body": "Reported by yummyliu, Vitaliy Kukharik." }, { "commit": "71ba08f579be228a8975c0a59bd485e5c11bebe5", "date": "2018-05-01 11:05:37 -0400", "subject": "Make backup/restore path sync more efficient.", "body": "Remove recursive path sync functionality since it is no longer used." }, { "commit": "54dd6f3ed4fcfeabe0254fdb9d88f560efd5f8ca", "date": "2018-04-30 17:27:39 -0400", "subject": "Add asynchronous, parallel archive-get.", "body": "This feature maintains a queue of WAL segments to help reduce latency when PostgreSQL requests a WAL segment with restore_command." }, { "commit": "c48b0a2a1e40764a33b42485a7edf21a544b0db1", "date": "2018-04-30 08:13:56 -0400", "subject": "Update docs with 32-bit support and caveats.", "body": "32-bit support was added in v1.26." }, { "commit": "321a28f6b0c6c522b8b8120e9fccfec09de4c6f4", "date": "2018-04-29 11:47:50 -0400", "subject": "Add walSegmentNext() and walSegmentRange()." }, { "commit": "be02c6750376e9a0312b7c707c5c96025eb1cfa6", "date": "2018-04-29 11:20:51 -0400", "subject": "Add pgControlInfo() to read pg_control and determine the PostgreSQL version." }, { "commit": "8c6e2bdbc7ac2b0e887d9d30931a532141974821", "date": "2018-04-29 11:02:21 -0400", "subject": "Add storageInfo() and track size in read objects." }, { "commit": "d74c167420b1c2eba74b29cf13b87f1143951b19", "date": "2018-04-29 10:41:05 -0400", "subject": "Add bufNewC() and only reallocate buffer when the size has changed." }, { "commit": "d44848baa0cc6583208d1d5ddb2db8cf69b866f3", "date": "2018-04-29 10:32:46 -0400", "subject": "Add strLstExists(), strLstExistsZ(), strSub(), and strSubN() to String and StringList objects." }, { "commit": "89d3476e325a94cb75457354e26b1ab4f5bcc8b0", "date": "2018-04-29 10:16:59 -0400", "subject": "Refactor archive common functions in preparation for parallel async archive-get." }, { "commit": "721432f6ae55c2a06d645629703c5103f8d89190", "date": "2018-04-25 15:46:05 -0400", "subject": "Update the archive-push-queue-max, manifest-save-threshold, and buffer-size options to accept values in KB, MB, GB, TB, or PB where the multiplier is a power of 1024.", "body": "Contributed by Cynthia Shang." }, { "commit": "8eabc52f3b5872c898cc14b2691a01a2559ad6bd", "date": "2018-04-25 15:16:42 -0400", "subject": "Add strUpper, strLower, strChr, and strTrunc to String object.", "body": "Contributed by Cynthia Shang." }, { "commit": "88a633da17d53261e0131e2d77209f22403112d6", "date": "2018-04-24 09:12:25 -0400", "subject": "Divide tests into three types (unit, integration, performance).", "body": "Many options that were set per test can instead be inferred from the types, i.e. container, c, expect, and individual.\n\nAlso finish renaming Perl unit tests with the -perl suffix." }, { "commit": "bb8c315cadc6329a03cd975a6c865b1ce29d751c", "date": "2018-04-23 17:26:27 -0400", "subject": "Storage object improvements.", "body": "* Add storageCopy(), storageMove(), and storagePathSync().\n* Separate StorageFile object into separate read and write objects.\n* Abstract out Posix file read/write objects." }, { "commit": "02cc8ccbd45221ef03f30cd6b068fc7675011592", "date": "2018-04-23 10:24:04 -0400", "subject": "Add THROWP_* macro variants for error handling.", "body": "These macros allow an ErrorType pointer to be passed and are required for functions that may return different errors based on a parameter." }, { "commit": "18882cb8822ab8af04ff57853c2bc35145cb7b65", "date": "2018-04-23 10:19:45 -0400", "subject": "Add bufEq and bufCat to Buffer object." }, { "commit": "f146502eae44d7366d79f3d73f695209d3189040", "date": "2018-04-23 10:10:55 -0400", "subject": "Add TEST_ERROR_FMT macro to simplify testing of formatted error messages." }, { "commit": "27aa5f756e32e8e1713588695b86451fde2e5b02", "date": "2018-04-19 11:09:39 -0400", "subject": "Add support for additional pgBackRest configuration files.", "body": "Configuration files are loaded from the directory specified by the --config-include-path option.\n\nAdd --config-path option for overriding the default base path of the --config and --config-include-path option." }, { "commit": "79b7552940971ab73cc63676655c6614fd535e21", "date": "2018-04-18 19:37:35 -0400", "subject": "Rename archive-queue-max option to archive-push-queue-max.", "body": "This avoids confusion with the archive-get-queue-max option. The old option name will continue to be accepted." }, { "commit": "ab26c765d454cd8f757ccc7ada593746dbddae0d", "date": "2018-04-18 18:57:45 -0400", "subject": "Don't copy CFGDEF_NAME_ALT or CFGDEF_INHERIT when processing config option inheritance." }, { "commit": "ea4046a607cddef588b5eb061f1df1e602a497bf", "date": "2018-04-18 18:47:43 -0400", "subject": "Try tweaking time sync settings to prevent clock drift rather than restarting VBoxService on every test run." }, { "commit": "b3e668421b03b2869c0dac1be6f22a9faf753341", "date": "2018-04-17 20:25:42 -0400", "subject": "Fix document update missed in e9790fd3." }, { "commit": "0381945caa198f833adde7806af2368c2627678a", "date": "2018-04-17 18:47:14 -0400", "subject": "Show command parameters as well as command options in initial info log message." }, { "commit": "e9790fd3b13f87a7f4726471019ead36d5b7b08d", "date": "2018-04-17 17:38:25 -0400", "subject": "Update out-of-date description for the spool-path option." }, { "commit": "cf0ec44ededb357c4fe2783814a2575119a4c498", "date": "2018-04-17 12:03:03 -0400", "subject": "Rename Perl tests so they don't conflict with their C counterparts." }, { "commit": "dce11ce3cf0473b127e56c21436dd4c4159d8646", "date": "2018-04-16 15:52:17 -0400", "subject": "Generate code counts for all source files.", "body": "The source files are also classified by type and purpose." }, { "commit": "3e229774840f82e4488d0077b07ae80971f7c385", "date": "2018-04-16 15:25:50 -0400", "subject": "Use pip 9.03 in test VMs.", "body": "pip 10 drops support for Python 2.6 which is still used by the older test VMs." }, { "commit": "2a4ff2f904b411f623239f02f54cdb2622017298", "date": "2018-04-13 16:05:52 -0400", "subject": "Split cfgLoad() into multiple functions to make testing easier.", "body": "Mainly this helps with unit tests that need to do log expect testing. Add harnessCfgLoad() test function, which allows a new config to be loaded for unit testing without resetting log functions, opening a log file, or taking locks." }, { "commit": "49fc737cd0fc053339f26b4e3b01d2b598124bb4", "date": "2018-04-13 14:31:33 -0400", "subject": "Add monitoring examples using PostgreSQL and jq.", "body": "Suggested by Stephen Frost, Brian Faherty." }, { "commit": "d924f3d50a1be296a65096b0b1014ade14c2dd59", "date": "2018-04-13 12:00:22 -0400", "subject": "Add logic to find the real oid of the test1 database during restore testing." }, { "commit": "f0250dab4b7fba2eda57fc0a483352f7cd70d0ab", "date": "2018-04-12 20:42:26 -0400", "subject": "Move async forking and more error handling to C.", "body": "The Perl process was exiting directly when called but that interfered with proper locking for the forked async process. Now Perl returns results to the C process which handles all errors, including signals." }, { "commit": "6fd0c3dcaa68e168b05364c699f6c1a6f87f1de0", "date": "2018-04-11 09:36:12 -0400", "subject": "Improved lock implementation written in C.", "body": "Now only two types of locks can be taken: archive and backup. Most commands use one or the other but the stanza-* commands acquire both locks. This provides better protection than the old command-based locking scheme." }, { "commit": "4744eb93878da6b7aa2173be16928b081c865b1d", "date": "2018-04-11 08:21:09 -0400", "subject": "Add storagePathRemove() and use it in the Perl Posix driver.", "body": "This implementation should be faster because it does not stat each file. It simply assumes that most directory entries are files so attempts an unlink() first. If the entry is reported by error codes to be a directory then it attempts an rmdir()." }, { "commit": "c9ce20d41a0c6edc3087511eaff5e0a80e95c8da", "date": "2018-04-09 16:46:36 -0400", "subject": "Skip version checks when testing in --dev mode." }, { "commit": "3bcf637aeeebfeb135e693fb0191dbb2c70f9420", "date": "2018-04-08 12:57:02 -0400", "subject": "Move archive-stop and expire tests to the mock module.", "body": "These are mock integration tests so they should be grouped with the other mock integration tests." }, { "commit": "3b661f4ad550cfce993afc5d767ed7f2ac4cea81", "date": "2018-04-08 12:16:32 -0400", "subject": "Move help/version integration tests to mock/all.", "body": "Help and version are covered by unit tests, so we really just to need to make sure there is output when called from the command line." }, { "commit": "741acfd7799b7b1b2afe850ccf078cf84a421353", "date": "2018-04-08 10:19:24 -0400", "subject": "Move test definitions to test/define.yaml.", "body": "The location is better because it is no longer buried in the Perl test libs. Also, the data can be easily accessed from C." }, { "commit": "b77b4250964ca47ac622c83ae72bfc9d453ea5d7", "date": "2018-04-07 19:44:00 -0400", "subject": "Allow -DDEBUG_UNIT to be suppressed to test how debug macros behave." }, { "commit": "82751b3b511e9a55724d3836b2454df8c97d8a25", "date": "2018-04-07 13:12:35 -0400", "subject": "Split debug and assert code into separate headers.", "body": "Assert can be used earlier because it only depends on the error-handler and not logging." }, { "commit": "e00f2dd4ad574c7680bce2126df4d320c9c8d6ac", "date": "2018-04-06 21:46:45 -0400", "subject": "More C type cleanup.", "body": "* Remove typec.h entirely.\n* Order all typdefs above local includes." }, { "commit": "f3b56cf8f328dc68dc4c978f0d82d3f5efbbe939", "date": "2018-04-06 17:04:52 -0400", "subject": "Allow MemContext objects to be copied to a new parent.", "body": "This makes it easier to create objects and then copy them to another context when they are complete without having to worry about freeing them on error. Update List, StringList, and Buffer to allow moves. Update Ini and Storage to take advantage of moves." }, { "commit": "b9f636cab470165ff0d69baa54efa5f8b2a79d43", "date": "2018-04-05 22:38:11 -0400", "subject": "Cleanup C types.", "body": "* Remove pgBackRest defined types included with the C types.\n* Remove redefinition of standard C types." }, { "commit": "bd25248df02d4a21315e73c1a4dc28fe8458fe97", "date": "2018-04-05 14:48:16 -0400", "subject": "Abstract Posix storage driver code into a separate module." }, { "commit": "348278bb68ea4cebc3140404729f12fc63d6071d", "date": "2018-04-03 21:30:15 -0400", "subject": "Make backup directory sync more efficient.", "body": "Scanning the entire backup directory can be very expensive if there are a lot of small tables. The backup manifest contains the backup directory list so use it to perform syncs instead of scanning the backup directory." }, { "commit": "0dce8ba2fa096faafa3871517458bfe6d742350f", "date": "2018-04-03 20:54:18 -0400", "subject": "Make backup.history sync more efficient.", "body": "Only the backup.history/[year] directory was being synced, so check if the backup.history is newly created and sync it as well." }, { "commit": "58902722477518d7daa202241772bf499ea136a3", "date": "2018-04-03 18:12:03 -0400", "subject": "Fix directory syncs running recursively when only the specified directory should be synced.", "body": "Reported by Craig A. James." }, { "commit": "46b6be6d7269ae35ff633736c4c5ddcde313d0d2", "date": "2018-04-03 13:35:56 -0400", "subject": "Fix header exclusion defines that do not match the general pattern." }, { "commit": "93fdb98d1500ca72a1d3355ed0c7ff23e27e074c", "date": "2018-04-03 12:25:21 -0400", "subject": "Storage object improvements.", "body": "* Convert all functions to variadic functions.\n* Enforce read-only storage.\n* Add storageLocalWrite() helper function. Add storageExists(), storagePathCreate(), storageRemove(), and storageStat().\n* Add StorageFile object and storageOpenRead()/storageOpenWrite()." }, { "commit": "90f980fe91b8dff96523a8089613b31b4485b923", "date": "2018-03-30 21:33:30 -0400", "subject": "Remove documentation describing info --output=json as experimental." }, { "commit": "635caff573315d5fe0dd267f968a4c40c98d524f", "date": "2018-03-30 19:10:34 -0400", "subject": "Add ASSERT() that is preserved in production builds." }, { "commit": "a8721ffe118e0c6ae93f6bc45c6bb79aaf78b440", "date": "2018-03-27 22:48:22 -0400", "subject": "Improve logic for smart builds to include version changes." }, { "commit": "5518a2ac51be91f71bfed0e27eba5e8bb6e465d2", "date": "2018-03-27 20:40:33 -0400", "subject": "Full branch coverage for storage/storage module." }, { "commit": "c1ab7b3c98c0a21b2b1b78ef3e64dfd891f68a11", "date": "2018-03-25 11:39:24 -0400", "subject": "Start work on C handle io object and use it to output help." }, { "commit": "9001b9b9576cb2d852984214e8bdd3b583dc552f", "date": "2018-03-24 14:11:29 -0400", "subject": "Replace THROW_ON_SYS_ERROR() with THROW_SYS_ERROR().", "body": "The former macro was hiding missing branch coverage for critical error handling." }, { "commit": "c7a6e9d2f2b58ca7832c58c3e25c65c1d03079e3", "date": "2018-03-23 16:08:32 -0400", "subject": "Document build improvements.", "body": "* Perform apt-get update to ensure packages are up to date before installing.\n* Add -p to the repository mkdir so it won't fail if the directory already exists, handy for testing packages." }, { "commit": "dabf727d91704dac6bfd59019d112857cbf963f3", "date": "2018-03-21 16:08:08 -0400", "subject": "Include VM type in gcov path to avoid conflicts between VMs with different architectures." }, { "commit": "c6457b070f5bdf26bb9146004e5ba2116b161df7", "date": "2018-03-21 13:46:08 -0400", "subject": "Full branch coverage for config/parse module." }, { "commit": "b234f43c9d8e6abde99947c64e0776e0054091c8", "date": "2018-03-21 09:18:48 -0400", "subject": "Refactor usec to msec in common/time.c.", "body": "The implementation provides usec resolution but this is not needed in practice and it makes the interface more complicated due to the extra zeros." }, { "commit": "31830bdc55bd603e90a13b54b81b919526cf03a5", "date": "2018-03-20 16:08:52 -0400", "subject": "Full branch coverage for all common/type modules." }, { "commit": "a2030da20048845c879c45279e839c9109a92418", "date": "2018-03-20 16:01:38 -0400", "subject": "Specify prefix for lcov output.", "body": "This prevents pages from moving around depending on the subtest." }, { "commit": "f4ed36d128ba7bda602f0c6451325ce377f422b4", "date": "2018-03-20 10:17:53 -0400", "subject": "Add switch() to lcov branch exclusions.", "body": "lcov requires default to show complete coverage but --Wswitch-enum enforces all enum values be present so no default is needed.\n\nAdd documentation for each branch exclusion." }, { "commit": "d34142dee82e41f983517a181f721d6009d70a81", "date": "2018-03-20 09:47:51 -0400", "subject": "Update lcov settings.", "body": "Mark any coverage less that 100% as yellow, less that 90% as red.\n\nAdd comments to config file and make genhtml use it as well as lcov." }, { "commit": "07f38f584a6014e10888fe0f8016febab79ce67b", "date": "2018-03-19 23:33:28 -0400", "subject": "Use lcov for C unit test coverage reporting.", "body": "Switch from Devel::Cover because it would not report on branch coverage for reports converted from gcov.\n\nBranch coverage is not complete, so for the time being errors will only be generated when statement coverage is not complete. Coverage of unit tests is not displayed in the report unless they are incomplete for either statement or branch coverage." }, { "commit": "2a3d6ecde8a86154cfaba067dfcbe459ef2aa8e1", "date": "2018-03-19 21:49:41 -0400", "subject": "v2.01: Minor Bug Fixes and Improvements" }, { "commit": "45c6a0e864189a309ad3e5c0f643b46dd50fb303", "date": "2018-03-19 21:03:42 -0400", "subject": "Remove hard-coded release version from loadTest.c." }, { "commit": "5b0748cf93d49d52bf74290e05c208fc88017a26", "date": "2018-03-19 20:25:55 -0400", "subject": "Always autogenerate code if --smart is not specified." }, { "commit": "f0a4264f77a7d9cb1dc5434e3c76c8313c600c79", "date": "2018-03-19 19:54:03 -0400", "subject": "Fix manifest test in the check command when tablespaces are present.", "body": "Fixed by Cynthia Shang.\nReported by Thomas Flatley." }, { "commit": "8e9e97728c5f58790ba91305f465b04d8a7a061a", "date": "2018-03-19 17:38:44 -0400", "subject": "Remove --smart from --expect tests.", "body": "This ensures that new binaries are built before running the tests." }, { "commit": "2c1687721e57b1917dc3f3bed62aa01b59078f5c", "date": "2018-03-19 13:08:42 -0400", "subject": "Fix issue where specifying log-level-stderr > warn would cause a local/remote process to error on exit due to output found on stderr when none was expected.", "body": "The max value for a local/remote process is now error since there's no reason for these processes to emit warnings." }, { "commit": "0c313713b1f40f09a970bee70e4e1ca3bcbbe082", "date": "2018-03-18 13:32:19 -0400", "subject": "Use clang for static code analysis.", "body": "Nothing found except for some functions that should have been marked __noreturn__." }, { "commit": "f0451c1494d0886c8fc24734eb8f98d403ce91dc", "date": "2018-03-15 13:53:03 -0400", "subject": "Enable -Wformat=2 and -Wformat-nonliteral and silence new warnings." }, { "commit": "8a1ce42c30e7e9ac79b1f7b66aa870d84c7419de", "date": "2018-03-15 12:02:09 -0400", "subject": "Immediately error when a secure option (e.g. repo1-s3-key) is passed on the command line.", "body": "Since pgBackRest would not pass secure options on to sub-processes an obscure error was thrown. The new error is much clearer and provides hints about how to fix the problem.\n\nUpdate command documentation to omit secure options that cannot be specified on the command-line." }, { "commit": "dd3ce7081070aca3a5c915af2a7e642c3ebece4b", "date": "2018-03-15 11:09:46 -0400", "subject": "Config test code writes secure options to a file instead of passing on the command-line." }, { "commit": "4fb75c9cc1c594d462adb31b8146e789ce639fb3", "date": "2018-03-15 11:03:28 -0400", "subject": "Improve conversion of C exceptions to Exception objects.", "body": "Colons in the message would prevent all of the message from being loaded into the Exception object." }, { "commit": "599e291b366e0c0217c81fad44a3f7cdbd800d98", "date": "2018-03-14 14:34:06 -0400", "subject": "Check int size in common/type.h.", "body": "This ensures that integers are at least 32-bits without having to run the test suite." }, { "commit": "e7fd94ee23f7b0b353f926c55086c9163f6f4881", "date": "2018-03-14 11:10:46 -0400", "subject": "Simplify table of contents on command page by only listing commands.", "body": "Suggested by Stephen Frost." }, { "commit": "4b6cd92a4ca8de743ddf3d62e71e548ead06644b", "date": "2018-03-12 17:15:14 -0400", "subject": "Improve debugging.", "body": "* Replace remaining NDEBUG blocks with the more granular DEBUG_UNIT.\n* Remove some debug memset() calls in MemContext since valgrind is more useful for these checks." }, { "commit": "cced6ec03aa212310a940e643cc8f2b484d95a8c", "date": "2018-03-12 14:31:22 -0400", "subject": "Add ASSERT_DEBUG() macro for debugging.", "body": "Replace all current assert() calls except in tests that can't use the debug code." }, { "commit": "dd31ae832d6d5278079d5e84c471b0258f51940b", "date": "2018-03-12 11:25:20 -0400", "subject": "Port most of Config::Config::configLoad() from Perl to C.", "body": "Contributed by Cynthia Shang." }, { "commit": "03f1082e86ac82477f09f212332e9c82946d28ad", "date": "2018-03-12 11:03:38 -0400", "subject": "Improve logging.", "body": "Move command begin to C except when it must be called after another command in Perl (e.g. expire after backup). Command begin logs correctly for complex data types like hash and list. Specify which commands will log to file immediately and set the default log level for log messages that are common to all commands. File logging is initiated from C." }, { "commit": "94494a632f0d217810a0cd0da462529c6c60b032", "date": "2018-03-12 11:02:46 -0400", "subject": "Update pip before installing awscli." }, { "commit": "f047cd0dfd3de01ff4ea678f394af8302e89e7c0", "date": "2018-03-09 23:00:20 -0500", "subject": "Improve code generation performance." }, { "commit": "b987f05f3529654515e5cddee4057fe5f83cfd20", "date": "2018-03-09 21:24:30 -0500", "subject": "Improve bin and libc build performance." }, { "commit": "c32ee346128182b9742417c27b0ae9c5bd768cb8", "date": "2018-03-09 18:28:34 -0500", "subject": "Build with -DNDEBUG by default but disable for testing." }, { "commit": "fbe4c40386d9b8666514703996b5734d2719b652", "date": "2018-03-09 09:30:50 -0500", "subject": "Move logic for setting Perl configuration defaults to C." }, { "commit": "919635b6f42eff1c1de0638626314caf4b0e2f2a", "date": "2018-03-08 16:24:16 -0500", "subject": "Set config before Main::main() call to avoid secrets being exposed in a stack trace." }, { "commit": "34898ce471214e234e14d9532bbb34b8095381cc", "date": "2018-03-08 14:15:05 -0500", "subject": "Error when multiple arguments are set in the config file for an option that does not accept multiple arguments.", "body": "Contributed by Cynthia Shang." }, { "commit": "e331564c9025077a0f3922408a90d5f8f18baed1", "date": "2018-03-08 12:36:55 -0500", "subject": "Add new test for Common::Io::Process.", "body": "Show that output on stderr will raise an exception on close() even if the exit code is 0." }, { "commit": "62a9bdbd4c25b9801bcc6a4892d442f38e6d4da5", "date": "2018-03-08 10:43:09 -0500", "subject": "Fix issue passing --no-config to embedded Perl.", "body": "Reported by Ibrahim Edib Kokdemir." }, { "commit": "5e0ce3e996db90c44eba835093549f9634525f21", "date": "2018-03-06 17:12:16 -0500", "subject": "Fix --target-action and --recovery-option options being reported as invalid when restoring with --type=immediate.", "body": "Reported by Brad Nicholson." }, { "commit": "4c8ed3530c05e2a88a1515a1cdd31ac3871b4bc2", "date": "2018-03-06 14:20:12 -0500", "subject": "Show index in examples for indexed options, i.e. repo-*, pg-*.", "body": "Suggested by Stephen Frost." }, { "commit": "45ffe37e4ff3fd955a10bad93c17f443793855b8", "date": "2018-03-05 18:51:48 -0500", "subject": "Add cfgOptionTest().", "body": "Update cfgOption() calls that are better implemented as cfgOptionTest()." }, { "commit": "a50b1eb5be64c0ea68c468cbe0b793be93136c33", "date": "2018-03-05 10:03:10 -0500", "subject": "Remove references to the C library being optional." }, { "commit": "c07aa2ae1940f2c6cf0f7a2e701b20e2d0c32ff9", "date": "2018-03-02 22:42:02 -0500", "subject": "Improve code documentation in config module." }, { "commit": "406acf9cba16fc93fdcd7d6ee93483ef8ef5d073", "date": "2018-03-02 12:07:12 -0500", "subject": "Enable -Wconversion and silence new warnings." }, { "commit": "6ca6424fb1b32fb43eafc481d179508e958e5e7e", "date": "2018-03-01 16:59:49 -0500", "subject": "Remove extraneous sudo commands from src/Makefile.", "body": "Contributed by Adrian Vondendriesch." }, { "commit": "af805af044317265a786214bed4c506977e934b4", "date": "2018-03-01 16:59:13 -0500", "subject": "Remove Debian package patch now that it has been merged upstream." }, { "commit": "5d1722b8ef7dd86ef717ce0425fb5b55d73f5f1d", "date": "2018-03-01 13:32:51 -0500", "subject": "Disable console display of coverage for C files.", "body": "Devel::Cover does not handle it well." }, { "commit": "57d70a5649c2d4f0500c495d0fb065d1eda06e4b", "date": "2018-03-01 13:31:03 -0500", "subject": "Remove RHEL package patch since upstream has been updated." }, { "commit": "5b491b3035502819a31e1200636c8d2757a78a18", "date": "2018-02-26 19:32:27 -0500", "subject": "Add CentOS/RHEL package builds." }, { "commit": "f9c1a3b156a07ecfd4916fe0386f90022406d721", "date": "2018-02-26 10:43:49 -0500", "subject": "Enable -Wswitch-enum and silence new warnings." }, { "commit": "c8df690931561c4b172d2ea48e68a0597e0a272b", "date": "2018-02-26 10:02:33 -0500", "subject": "Fix incorrect enum types in config.c that throw warnings under clang.", "body": "Found by Douglas J Hunley." }, { "commit": "09223a733dd8a4b9fc3deeec72ee5a168a9c625d", "date": "2018-02-23 23:44:10 -0500", "subject": "Remove github CNAME file." }, { "commit": "1f954b324ae8c2ae43af1da2a97090dde586fb8f", "date": "2018-02-23 23:42:29 -0500", "subject": "Update how versions are displayed in the documentation." }, { "commit": "13cdb75ac56609c6a1d2f7cb3c31c0f0b29ecc3b", "date": "2018-02-23 22:38:45 -0500", "subject": "v2.00: Performance Improvements for Archive Push" }, { "commit": "ed5876810d616a6dc59bddf722f74cccd9b8ddec", "date": "2018-02-23 14:16:20 -0500", "subject": "Fix missing variable replace for PDF code-block title.", "body": "Found by Jason O'Donnell." }, { "commit": "2485fabbadf56aa51f821048e72550ddac026691", "date": "2018-02-22 09:31:53 -0500", "subject": "PDF rendering improvements.", "body": "* Fill is now the default for table columns.\n* Column width is specified as a percentage rather that using latex-specific notation." }, { "commit": "d4418e7764bf6b3d3e8b6d2bc204cfd0e00bca13", "date": "2018-02-21 18:15:40 -0500", "subject": "Rename pg-primary and pg-standby variables to pg1 and pg2.", "body": "It would be better if the hostnames were also pg1 and pg2 to illustrate that primaries and standbys can change hosts, but at this time the configuration ends up being confusing since pg1, pg2, etc. are also used in the option naming. So, for now leave the names as pg-primary and pg-standby to avoid confusion." }, { "commit": "5eb682a569cdc4f33ea053e3619163c98aefcdd1", "date": "2018-02-21 18:10:53 -0500", "subject": "Add id param for hosts created with host-add.", "body": "The host-*-ip variable is created from the id param so the name param can be changed without affecting the host-*-ip variable. If id is not specified then it is copied from name." }, { "commit": "246d4415079550f4f1391c09ad874c2cf4e3fa37", "date": "2018-02-21 15:30:35 -0500", "subject": "More flexible replacements for PDF titles and footers." }, { "commit": "aed578a4bd201d16512b1adb87a327504a0c335c", "date": "2018-02-21 15:26:30 -0500", "subject": "Allow sections to be excluded from table of contents in PDF output." }, { "commit": "64a7196cb64d90fe8801f7be6c4c634ba17bf32a", "date": "2018-02-19 15:07:24 -0500", "subject": "Rename retention-* options to repo-retention-*." }, { "commit": "f75ba7db9426dd05dc868beb00528aae04ea3a4b", "date": "2018-02-19 13:17:58 -0500", "subject": "Update backup host to repository host in the documentation.", "body": "Contributed by Cynthia Shang." }, { "commit": "435240777766afc7effb81cdb5e6cf03fea6e0fa", "date": "2018-02-19 10:12:51 -0500", "subject": "Option rename cleanup based on review.", "body": "* Remove --reset tags from v1 options.\n* Use constants for repo prefix.\n* Specify CFGDEF_INDEX_PG in option structure rather than adding in code.\n* Fix error message references to \"backup host\"." }, { "commit": "f981283b8dea28214072ace05b67acc27989c76f", "date": "2018-02-18 15:45:32 -0500", "subject": "Remove exit() calls from main() to make it cleaner and more testable." }, { "commit": "599e41a2514eda36c1cd7f2a69754a5f94c30dcd", "date": "2018-02-18 14:54:32 -0500", "subject": "Improve S3 delete performance.", "body": "The constant S3_BATCH_MAX had been replaced with a hard-coded value of 2, probably during testing." }, { "commit": "90703257603f04446872b2b39eea26fec2c1b460", "date": "2018-02-18 14:53:27 -0500", "subject": "Improve performance of HTTPS client.", "body": "Buffering now takes the pending bytes on the socket into account (when present) rather than relying entirely on select(). In some instances the final bytes would not be flushed until the connection was closed." }, { "commit": "27678f6188534d1233eeb9424a6fa590c79a5c9d", "date": "2018-02-18 10:44:58 -0500", "subject": "Clean up and document Makefile." }, { "commit": "3eed4bbb4390ecf8d7f2b9ad349a568bfa06a9c8", "date": "2018-02-16 15:09:37 -0500", "subject": "PDF rendering improvements.", "body": "* Check both doc-path and bin-path for logo.\n* Allow PDF to be output to a location other than the output directory.\n* Use PDF-specific version variable for more flexible formatting." }, { "commit": "0e27060952b49254574d017346beb8f834afee4f", "date": "2018-02-16 14:55:48 -0500", "subject": "Add table render for Markdown format.", "body": "Contributed by Cynthia Shang." }, { "commit": "ca52a0485e23da55bd0c15299a52303c6de439bb", "date": "2018-02-16 14:46:02 -0500", "subject": "Allow code blocks to have a type.", "body": "Currently this is only rendered in Markdown." }, { "commit": "2dc0737e95efc858bcc7e4318b3003b3bd57f5ee", "date": "2018-02-16 14:39:42 -0500", "subject": "Improve section source feature to not require a title or content.", "body": "The title will be pulled from the source document." }, { "commit": "1f62237684f78b0d13268f7be59776a9cbd7f5d6", "date": "2018-02-14 19:52:46 -0500", "subject": "Clarify that S3 buckets must be created by the user.", "body": "Suggested by David Youatt." }, { "commit": "72cbb9a9d47ec7a2066fbe12bd75619f9f43e4f7", "date": "2018-02-14 17:19:54 -0500", "subject": "Call Perl with built-in interpreter instead of execvp().", "body": "Exec'ing Perl worked fine but generated a very large command line in the process list and potentially exposed secrets." }, { "commit": "81952c41f4592aec05ecd60f8097f4f1fcb83437", "date": "2018-02-14 17:13:18 -0500", "subject": "Report coverage errors via the console.", "body": "This helps with debugging coverage issues on remote services like Travis." }, { "commit": "5f2884cb296a2c71dd9d6432c2c387efc96ceeef", "date": "2018-02-14 16:46:52 -0500", "subject": "Suppress coverage failures for Archive/Push/Async on Travis.", "body": "The coverage report shows some code as never being run -- but that makes no sense because the tests pass. This may be due to trying to combine the C and Perl coverage reports and overwriting some runs.\n\nSuppress for now with a plan to implement LCOV for the C unit tests." }, { "commit": "a907fd7d2d21f01714427d0c769e3973a99f1a45", "date": "2018-02-14 10:33:21 -0500", "subject": "Build C binary/library for C unit tests that require Perl." }, { "commit": "fda62dfc485d435b4996137844f029464e87222c", "date": "2018-02-14 09:49:01 -0500", "subject": "Move Perl option JSON generation to a new module.", "body": "Linking exec.c into LibC will not be an option once the perl exec loads the Perl interpreter." }, { "commit": "68a83ea2dcdc168aedefc856acc2c261889613fa", "date": "2018-02-14 09:21:55 -0500", "subject": "Add missing const to strLstAdd()." }, { "commit": "5242e8eec59b0cb91437fad95289dcc8b5dc61a7", "date": "2018-02-14 09:18:27 -0500", "subject": "Generate suppressions when running Valgrind.", "body": "This makes it easier to suppress errors that are only occurring on Travis." }, { "commit": "00e9aca872745d2552aa1b562c0dc034fe867356", "date": "2018-02-13 15:58:14 -0500", "subject": "Fixed issue where --reset-* was not passing the default value to Perl.", "body": "Contributed by Cynthia Shang." }, { "commit": "213724907b5eb3acd5af158601d74913f30af67f", "date": "2018-02-09 22:27:21 -0500", "subject": "Add contributor." }, { "commit": "a3b80768bdaf627a2fa71c561ebc8c1962196580", "date": "2018-02-09 15:56:22 -0500", "subject": "Merge 1.28 release notes." }, { "commit": "ea296372d4c920bdcfde85e138719f20d881f16c", "date": "2018-02-09 15:42:11 -0500", "subject": "Add allow range to int/float options that did not already have one." }, { "commit": "7c58fe7451666778b71d3b934d35dc1550a36387", "date": "2018-02-09 13:54:33 -0500", "subject": "Use 64-bit integers for config options.", "body": "In particular, archive-queue-max requires a greater range than is provided by a 32-bit integer." }, { "commit": "305a3e176185edaedec68be5824c950121297213", "date": "2018-02-09 13:52:02 -0500", "subject": "Add int64 variant type." }, { "commit": "1659598cfe957f06e74f1584591337674cb19e81", "date": "2018-02-08 16:11:47 -0500", "subject": "Create a master list of errors in build/error.yaml.", "body": "The C and Perl errors lists are created automatically by Build.pm so they stay up to date." }, { "commit": "eba31fbfe5e58c66b776c2c09a6a53a533819c20", "date": "2018-02-08 14:49:35 -0500", "subject": "Update URL for Debian package repository." }, { "commit": "7d13087c4b0bf2f5e3ca08065edc04a83c37f1b4", "date": "2018-02-06 11:26:06 -0500", "subject": "Rename -no to -reset for non-boolean options." }, { "commit": "808b6000eb4434a66d1073d8b903b1236a082445", "date": "2018-02-05 15:48:26 -0500", "subject": "Fix some bugs in C config code:", "body": "1) Error when the same option is defined multiple times in a section using alternate names.\n2) Fix logging of invalid command error.\n3) Warn when a stanza-only option is in a global section.\n\nAlso, make a note to add validation of section names to the check command.\n\nPer review by Cynthia Shang." }, { "commit": "d35757c05f1b4b30c57997c6221d888660a4ee52", "date": "2018-02-05 15:19:28 -0500", "subject": "Fix missing log-level-stderr option for stanza-* commands." }, { "commit": "2074e6fbf9a4c0b7b5a8759e9dd9be2a9bd46b41", "date": "2018-02-05 12:41:42 -0500", "subject": "Move log option update to after fork() in archive-push.", "body": "The log-level-console option should not be changed in the parent process. Even though it is harmless at the moment, that may not always be true.\n\nPer review by Cynthia Shang." }, { "commit": "c3f47bf240cc2eaf4c6fa441c0c2d95979477379", "date": "2018-02-05 12:32:30 -0500", "subject": "Move config parsing out of Perl tests.", "body": "cfgParseTest() is provided in the C library for parsing configs in unit tests." }, { "commit": "db21b7a360fdc3aea4a22480c634b8d6f2ee52eb", "date": "2018-02-05 11:50:09 -0500", "subject": "Cleanup usage of internal options.", "body": "Apply internal to options that need to be read to determine locality but should not appear in the help." }, { "commit": "be900281003f67c549630186482242cc40f0685b", "date": "2018-02-03 18:27:38 -0500", "subject": "Rename db-* options to pg-* and backup-* options to repo-* to improve consistency.", "body": "* repo-* options are now indexed although only one is allowed.\n* List deprecated option names in documentation and command-line help." }, { "commit": "dc73abdb6e9612f7af8e38408639be53daba0575", "date": "2018-02-01 14:12:03 -0500", "subject": "Improve stanza-create command so that it does not error when the stanza already exists.", "body": "Contributed by Cynthia Shang." }, { "commit": "298b33988c34ac5777c8174435e20a863dd6f730", "date": "2018-01-31 18:22:25 -0500", "subject": "Fix non-compliant formatting for function declarations.", "body": "Per review by Cynthia Shang." }, { "commit": "b4d434b41c8302e48cf2f2dcec8a465378507b73", "date": "2018-01-31 17:34:27 -0500", "subject": "Update stanza-create --force documentation to urge caution when using.", "body": "Suggested by Jason O'Donnell." }, { "commit": "bacc08792dae400de652ce2f769aeeda73f0ef8e", "date": "2018-01-30 16:49:47 -0500", "subject": "Ensure latest db-id is selected on when matching archive.info to backup.info.", "body": "This provides correct matching in the event there are system-id and db-version duplicates (e.g. after reverting a pg_upgrade).\n\nFixed by Cynthia Shang.\nReported by Adam K. Sumner." }, { "commit": "00f58ec8c0349e6941ae6fd0957f2c1196ce0cad", "date": "2018-01-30 16:13:54 -0500", "subject": "Fixed inability to restore a single database contained in a tablespace using --db-include.", "body": "Fixed by Cynthia Shang." }, { "commit": "a91a648019bc8871c9e74868c59a933d74c3dc5c", "date": "2018-01-28 21:37:09 -0500", "subject": "Config parsing no longer implemented in Perl.", "body": "Options are passed to Perl as JSON from the C process." }, { "commit": "f0ef1dee05266f7be1acd8943a3bcda11f0d2e59", "date": "2018-01-26 16:41:17 -0500", "subject": "Improve speed of C unit tests.", "body": "Preserve object files between tests and use a Makefile to avoid rebuilding object files." }, { "commit": "b58a45e0676f9bc5b7e2e136cd338db572a6a604", "date": "2018-01-23 13:34:24 -0500", "subject": "Implement help command in C." }, { "commit": "404ec30d039866a83d7c0707aaab838ccffe433f", "date": "2018-01-23 12:58:35 -0500", "subject": "Move Perl help test to real module." }, { "commit": "3dd882a79eb26b443f74aa8c34328add10baf976", "date": "2018-01-23 12:49:04 -0500", "subject": "Add internal flag to config definition." }, { "commit": "41bd5e8148b307e8285fa855dc715b889d5a0617", "date": "2018-01-23 12:40:02 -0500", "subject": "Improve KeyValue object.", "body": "Add kvGetList() to get a value as a list (of 1) even if it is a scalar." }, { "commit": "2afb73da1cac6447c01a042fe7105e9910f3b20e", "date": "2018-01-23 12:17:30 -0500", "subject": "Improve String, StringList, and List objects.", "body": "* Add strCmp*() and strFirst*() to String.\n* Add strLstSort() and strLstNewSplitSize() to StringList.\n* Add strLstNewSplitZ() to StringList a update calls to strLstNewSplit() as needed.\n* Add lstSort to List." }, { "commit": "47c048b42a0cbf45d97da701521b8ddaeccfd2cf", "date": "2018-01-18 08:56:03 -0500", "subject": "Update LICENSE.txt for 2018." }, { "commit": "2cc9b2287bf4bf7bc0a4b98f274bb737e0d5e961", "date": "2018-01-17 15:52:00 -0500", "subject": "The archive-push command is now partially coded in C.", "body": "This allows the PostgreSQL archive_command to run significantly faster when processing status messages from the asynchronous archive process." }, { "commit": "a4c058d070dfc6f6098fad051a14893ef449eae6", "date": "2018-01-17 15:03:55 -0500", "subject": "Add 30 second wait loop to lockAcquire() when fail on no lock enabled.", "body": "This should help prevent processes that are shutting down from interfering with processes that are starting up." }, { "commit": "1f39a34abc65c43a0635403b246168acdef4dbbe", "date": "2018-01-17 10:31:21 -0500", "subject": "Move lock release later in exitSafe().", "body": "This reduce the chance of a new process starting and acquiring a lock before the old process has exited." }, { "commit": "7c73f4f6c981e8a2806bbca3c035d7ba1e6c7713", "date": "2018-01-17 09:15:51 -0500", "subject": "Add command and exit modules." }, { "commit": "39cb971afb79b1368b9f1dd9185ad49fbb0de9c5", "date": "2018-01-16 13:52:20 -0500", "subject": "Add log module." }, { "commit": "eb452c8addb345c02246b8c97e088cca6c66c6d1", "date": "2018-01-16 13:38:37 -0500", "subject": "Improvements to Storage object.", "body": "* storagePath() and storageList() commands\n* Helper functions for local and spool storag" }, { "commit": "8f81620b9f5a8de4f2d2ebb0a5ecc2fe49d26435", "date": "2018-01-16 13:29:27 -0500", "subject": "Improve error module.", "body": "Add functions to convert error codes to C errors and handle system errors." }, { "commit": "bffc6c49b31a98fc5a6ae68b80db0251da6e9441", "date": "2018-01-16 13:23:08 -0500", "subject": "Add perl-bin option to specify the Perl binary location when /usr/bin/env perl won't work." }, { "commit": "d633417e5db447e3689097c1d31ad1356eb94745", "date": "2018-01-16 13:05:00 -0500", "subject": "Add Wait object and time module." }, { "commit": "721d1127a03b9fbd3fab04554c92f949954cf514", "date": "2018-01-16 12:57:23 -0500", "subject": "Add RegExp object." }, { "commit": "05c731692b93d171ffdd0e0e297c2274998bfc16", "date": "2018-01-16 12:54:06 -0500", "subject": "Add varStrForce() to Variant object." }, { "commit": "83ddd75d824fca293d88bb53f7349cf637926458", "date": "2018-01-16 12:47:08 -0500", "subject": "Improvements to String object.", "body": "* Add strBeginsWith(), strEndsWith(), strEq(), and strBase().\n* Enable compiler type checking for strNewFmt() and strCatFmt().\n* Rename strNewSzN() to strNewN()." }, { "commit": "d992851456f4aef9a0218be0411f1d6815fb9be0", "date": "2018-01-16 12:36:22 -0500", "subject": "Rename Perl tests so they don't conflict with their C counterparts." }, { "commit": "0e9ba98a50159fc1f26792f9032603fae0aed24c", "date": "2018-01-03 12:23:33 -0500", "subject": "Add stanza-delete command to cleanup unused stanzas.", "body": "Contributed by Cynthia Shang." }, { "commit": "526acca5bd7d86a7d8b34a1eb37ec3e49e042073", "date": "2017-12-22 23:27:49 -0500", "subject": "Config parsing implemented in C." }, { "commit": "d8c575801daf6d17e6cbf2daeb2d265c75199032", "date": "2017-12-22 22:55:17 -0500", "subject": "Add Ini object." }, { "commit": "69488ca8ff11f8256b89828e97f62c8b7039bd4f", "date": "2017-12-22 22:36:01 -0500", "subject": "Add Storage object." }, { "commit": "b2a64b1f43be7045ba904b156225496bc6dd405e", "date": "2017-12-22 22:05:37 -0500", "subject": "Add KeyValue object." }, { "commit": "2add6cef95beba05e9c2539d8831273a5b675163", "date": "2017-12-22 21:50:27 -0500", "subject": "Add Variant and VariantList objects." }, { "commit": "c4b30af64598579f87b0556d974264a9248e5e82", "date": "2017-12-22 19:56:01 -0500", "subject": "Add Buffer object." }, { "commit": "f89b027decd35c87ee9b531db1a2d0bf5c671802", "date": "2017-12-22 19:30:15 -0500", "subject": "Improve String and StringList modules." }, { "commit": "5667932063454d0a8851aa1f43b07933307de655", "date": "2017-12-22 18:54:39 -0500", "subject": "Improve MemContext module.", "body": "Add temporary context blocks and refactor allocation arrays to include allocation size." }, { "commit": "5ea1263d8e4541405722a0064a133f71be8fedaf", "date": "2017-12-22 18:36:36 -0500", "subject": "Run valgrind on all C unit tests.", "body": "Also refactor code to make valgrind happy." }, { "commit": "b00c6d86b3020bb2babdd6d1c77c7ffd61594862", "date": "2017-12-19 20:27:31 -0500", "subject": "Merge 1.27 release notes." }, { "commit": "70e38a2bd6cad0697128a637f471ec39f1d50c1b", "date": "2017-12-19 19:14:16 -0500", "subject": "Deploy historical documentation to prior rather than the root directory." }, { "commit": "9fe265d24c55caa4cc7f67cc65e3ee36cf35bd7d", "date": "2017-12-19 17:03:17 -0500", "subject": "No longer run master branch through CI.", "body": "The integration branch will be run through CI and then pushed to master with github status checks." }, { "commit": "c34a76690fbceb8f7289c23206a9c9fcbe874c17", "date": "2017-12-19 15:39:39 -0500", "subject": "Fixed info command to eliminate \"db (prior)\" output if no backups or archives exist for a prior version of the cluster.", "body": "Fixed by Cynthia Shang.\nReported by Stephen Frost." }, { "commit": "717a14754202b8662fbec5356ce825fd293bb6c8", "date": "2017-12-18 18:55:15 -0500", "subject": "Update command-line help from commits 58b08930 and 0bfda1a9." }, { "commit": "ef3ef85c33ac871a4910267b34757e8fcbb7e59c", "date": "2017-12-18 18:51:19 -0500", "subject": "Fixed an issue where WAL was not expired on PostgreSQL 10.", "body": "This was caused by a faulty regex that expected all PostgreSQL major versions to be X.X." }, { "commit": "3cc367185e1a9bec69954895ecb6ae9d54c8d71f", "date": "2017-12-15 11:12:37 -0500", "subject": "Add documentation for command-line negation." }, { "commit": "41f5b2cec2e065b8a9ed9245c5338772ad7e77d8", "date": "2017-12-14 15:44:06 -0500", "subject": "All clusters in the documentation are initialized with checksums." }, { "commit": "e5511d0f82839cd8a13d938e4035ffada872067a", "date": "2017-12-13 11:16:27 -0500", "subject": "Improve check command to verify that the backup manifest can be built.", "body": "Contributed by Cynthia Shang." }, { "commit": "0bfda1a908edd1ca4990a330ba2dcec7260ccd02", "date": "2017-12-11 07:48:30 -0500", "subject": "Document the relationship between the archive-copy and archive-check options.", "body": "Suggested by Markus Nullmeier." }, { "commit": "58b0893067fe33fbeb1e23eb96e080c2d5a9b8ba", "date": "2017-12-11 07:31:30 -0500", "subject": "Improve archive-copy reference documentation." }, { "commit": "99a072163192e7546632119df89511a173d9048e", "date": "2017-12-05 15:23:32 -0500", "subject": "Allow any non-boolean, non-command-line option to be negated.", "body": "This allows specific options in pgbackrest.conf to be ignored (and set to default) which reduces the need to write new configuration files for specific needs.\n\nNote that boolean, non-command-line options are already negatable." }, { "commit": "c5fc88d34097ba03cd4fce3fbfce1f4c337b83e6", "date": "2017-12-05 14:59:09 -0500", "subject": "Fixed an issue that suppressed locality errors for backup and restore.", "body": "When a backup host is present, backups should only be allowed on the backup host and restores should only be allowed on the database host unless an alternate configuration is created that ignores the remote host." }, { "commit": "5eb5d94d65ee159605273b57e504652c980c9cc7", "date": "2017-12-05 14:46:52 -0500", "subject": "Allow internal options that do not show up in the documentation.", "body": "Used for test options initially but other use cases are on the horizon." }, { "commit": "8d4674031e63d7a3c0bfc07f2524551dcf1474de", "date": "2017-12-05 10:09:07 -0500", "subject": "More config parsing in C in preparation for all config parsing in C." }, { "commit": "4f1725dc3684233b444d6d0c0efe6bce6468a623", "date": "2017-12-05 09:45:51 -0500", "subject": "Replace cfgCommandTotal()/cfgOptionTotal() functions with constants.", "body": "The constants are applicable in more cases and allow the compiler to optimize certain loops more efficiently." }, { "commit": "59fd92fdd5c39f0c48897513a2d01205efa278e4", "date": "2017-12-03 17:08:49 -0500", "subject": "Move restore test infrastructure to HostBackup.pm.", "body": "Required to test restores on the backup server, a fairly common scenario.\n\nImprove the restore function to accept optional parameters rather than a long list of parameters. In passing, clean up extraneous use of strType and strComment variables." }, { "commit": "915ae5662abc9a0e31e03d56bf27b739ed8b263b", "date": "2017-11-28 21:44:05 -0500", "subject": "Implement version command in C." }, { "commit": "bd74711ceb1d3faf49f0349d4dbef4f4cd8434ba", "date": "2017-11-28 11:44:24 -0500", "subject": "Add unit tests for the Manifest module.", "body": "Also minor changes to Manifest module, mostly for test reproducibility." }, { "commit": "4a0eb6863d3517151fdec6b450bac2fa2c7ddfb4", "date": "2017-11-27 22:16:24 -0500", "subject": "Sync time to prevent build failures when running on VirtualBox." }, { "commit": "332861c6c95966b38b457b785c2a8db39d205648", "date": "2017-11-27 21:19:59 -0500", "subject": "Only build C binary/library for Perl unit/integration tests." }, { "commit": "2ed426a70b5659cbf1628eb4aaf8c7994580ea63", "date": "2017-11-27 20:43:44 -0500", "subject": "Remove deprecated archive-max-mb option." }, { "commit": "c5ea53bcf9a07cd07bb077a5764b3cc164e8424b", "date": "2017-11-27 16:02:49 -0500", "subject": "Add coding standards document." }, { "commit": "74d6398ad2a893b1413c8202814c6284846087da", "date": "2017-11-26 18:43:51 -0500", "subject": "The pgbackrest executable is now a C binary instead of Perl.", "body": "This allows certain time-critical commands (like async archive-push) to run more quickly." }, { "commit": "4d8ad4ac18498835107a26f1a442429ac9dcf50c", "date": "2017-11-26 18:23:11 -0500", "subject": "Add List and StringList objects to simplify list handling." }, { "commit": "1b3e8e0a5bd8a343a78ecfb51f78d22b405b9a9f", "date": "2017-11-26 17:49:10 -0500", "subject": "Add String object to simplify string handling." }, { "commit": "7cf955425ef998ba198f9668f69c2052c089dcd8", "date": "2017-11-26 17:45:00 -0500", "subject": "The C library is now required.", "body": "This eliminates conditional loading and eases development of new library features." }, { "commit": "c164fc5fb906d73fcc4d5dcfd960d62caa57effb", "date": "2017-11-26 12:22:50 -0500", "subject": "Add memGrowRaw() to memory context module." }, { "commit": "c360ca5a08ecd812610a0a26414e650da6b4b50e", "date": "2017-11-25 20:32:35 -0500", "subject": "Split \"refactor\" sections into \"improvements\" and \"development\" in the release notes.", "body": "Many development notes are not relevant to users and simply clutter the release notes, so they are no longer shown on the website." }, { "commit": "13893a97313757162e061b855bbd494abdbec8ce", "date": "2017-11-21 19:52:56 -0500", "subject": "Relax permissions set by release.pl." }, { "commit": "ba6b49ecb7226e5dab0990403afa6f8878048e35", "date": "2017-11-21 18:31:54 -0500", "subject": "v1.26: Repository Encryption" }, { "commit": "033dbcdc208657e3569c0197ec98e9ff1a052ff1", "date": "2017-11-21 17:59:30 -0500", "subject": "Update release.pl to push data to site repository." }, { "commit": "ac54aac448e1ed84f6d083fcf95158619d729be3", "date": "2017-11-21 13:17:44 -0500", "subject": "Fixed an issue passing parameters to remotes.", "body": "When more than one db was specified the path, port, and socket path would for db1 were passed no matter which db was actually being addressed." }, { "commit": "c77fc1fa61582e1983324e7caa5b573fc0eae5e8", "date": "2017-11-21 12:57:00 -0500", "subject": "Refactor protocol param generation into a new function.", "body": "This allows the code to be tested more precisely and doesn't require executing a remote process." }, { "commit": "062e714307de357ae49bcac8c48e397b1debfa0f", "date": "2017-11-21 09:31:15 -0500", "subject": "Disable gzip filter when --compress-level-network=0.", "body": "The filter was used with compress level set to 0 which added overhead without any benefit." }, { "commit": "1da63aff07de90cd7734b5afd2674b1452c59cf3", "date": "2017-11-20 12:46:35 -0500", "subject": "Fixed an issue with invalid backup groups being set correctly on restore.", "body": "If the backup cannot map a group to a name it stores the group in the manifest as false then uses either the owner of $PGDATA to set the group during restore or failing that the group of the current user. This logic was not working correctly because the selected group was overwriting the user on restore leaving the group undefined and the user incorrectly set to the group. (Reported by Jeff McCormick.)" }, { "commit": "8ccfaa9ad366802525cbf1053af2226f2789b493", "date": "2017-11-20 09:05:55 -0500", "subject": "Designate a single distro (Ubuntu 16.04) for C coverage testing", "body": "Enable optimizations on the distros that don't do coverage testing." }, { "commit": "deae0b8cd7ec102babf584698b15e73a7822283c", "date": "2017-11-20 08:58:47 -0500", "subject": "Refactor C page checksum unit test to compile with -Wstrict-aliasing." }, { "commit": "5d741ea9a9993397bd7aa6602ff8562302d82c8e", "date": "2017-11-19 16:46:31 -0500", "subject": "Refactor C unit test macros so they compile with -Wstrict-aliasing." }, { "commit": "3b43047e0d40ea7e00049df77d20f26498c89be1", "date": "2017-11-19 16:44:33 -0500", "subject": "Disable -Wclobber compiler warning.", "body": "...because it is mostly useless but keep the rest of of -Wextra." }, { "commit": "dc1a5c18acfef55f8d4cdfa21e9543975070b373", "date": "2017-11-19 16:30:23 -0500", "subject": "Wrap try in a do...while loop to make sure that no random else is attached to the main if block." }, { "commit": "9395ad7043d4d7ef8a687e0baa5d25e98d553112", "date": "2017-11-18 22:49:43 -0500", "subject": "Improve base64 implementation.", "body": "Different encoded strings could be generated based on compiler optimizations. Even though decoding was still successful the encoded strings did not match the standard." }, { "commit": "500d6b4b66fab197ae39db2d3f79a3e7ef29f66c", "date": "2017-11-18 20:14:14 -0500", "subject": "Automated tests for 32-bit i386/i686 architecture." }, { "commit": "8a3425ec04fea8c0876df0420d5dd3e318812c4e", "date": "2017-11-18 20:02:54 -0500", "subject": "Automate generation of WAL and pg_control test files.", "body": "The existing static files would not work with 32-bit or big-endian systems so create functions to generate these files dynamically rather than creating a bunch of new static files." }, { "commit": "b701cd5a5f43ffd5b39df5298bd66ea886dedbdd", "date": "2017-11-18 19:53:41 -0500", "subject": "Designate a single distro (Ubuntu 16.04) for Perl coverage testing.", "body": "Running coverage testing on multiple distros takes time but doesn't add significant value. Also ensure that the distro designated to run coverage tests is one of the default test distros." }, { "commit": "6ef2167e972039e67668d7f7700aab505d0ea595", "date": "2017-11-16 17:18:51 -0500", "subject": "Fixed an issue retrieving WAL for old database versions.", "body": "After a stanza-upgrade it should still be possible to restore backups from the previous version and perform recovery with archive-get. However, archive-get only checked the most recent db version/id and failed.\n\nAlso clean up some issues when the same db version/id appears multiple times in the history.\n\nFixed by Cynthia Shang.\nReported by Clinton Adams." }, { "commit": "550d4fb9c591a269253a675f6f3585a777ea9b33", "date": "2017-11-16 16:53:49 -0500", "subject": "Fix incorrect WAL offset for 32-bit architectures.", "body": "Fixed by Javier Wilson." }, { "commit": "1cb11a582de59480af3a5f656dbb0ec3da14e854", "date": "2017-11-15 13:17:57 -0500", "subject": "Fix flapping protocol timeout test.", "body": "It only matters that the correct error code is returned, so disable logging to prevent message ordering from failing the expect test." }, { "commit": "bc8543494a07ef126b0d223e7a90da22a26389e8", "date": "2017-11-15 11:59:27 -0500", "subject": "Add template to improve initial information gathered for issue submissions.", "body": "Contributed by Cynthia Shang." }, { "commit": "22fe684b1fe213df6c9a74a7c0bec4aa6eed3837", "date": "2017-11-14 17:16:39 -0500", "subject": "Only check expect logs on CentOS 7.", "body": "Variations in distros cause false negatives in tests but don't add much value." }, { "commit": "3ee269c0998ea3bbf96ccbcc04857ba6b9789146", "date": "2017-11-14 17:07:22 -0500", "subject": "Add encryption to features list." }, { "commit": "b8746f368dbd76eee19e4c3fecc6853696be1908", "date": "2017-11-14 15:12:31 -0500", "subject": "Inflate performance improvement for gzip filter and full unit test coverage." }, { "commit": "04e55fe71bea32b2666df59a9891362ea6717964", "date": "2017-11-14 14:48:44 -0500", "subject": "Fixed an issue that could cause copying large manifests to fail during restore.", "body": "Reported by Craig A. James." }, { "commit": "cf7da546a3b7c1395faf2958f45572f82fe0127a", "date": "2017-11-13 21:22:13 -0500", "subject": "Simplify try..catch..finally names." }, { "commit": "bcdfc7d0b52dc92ae22aef1c93bbfda7e6fa24f3", "date": "2017-11-06 22:55:34 -0500", "subject": "Enable additional warnings for C builds." }, { "commit": "b03c26968a2817df33b60c8240cbe2c037281783", "date": "2017-11-06 12:51:12 -0500", "subject": "Repository encryption support.", "body": "Contributed by Cynthia Shang." }, { "commit": "f07d2a3d0dbfa7ea510e41a9ea66265b46db1158", "date": "2017-11-06 12:40:54 -0500", "subject": "Add eof to S3 file driver (required for encryption support)." }, { "commit": "8d6a08a32b1221db5b6eae0db615731d19754bc8", "date": "2017-11-03 13:57:58 -0400", "subject": "Library code for repository encryption support." }, { "commit": "ac542788da8264e39b3f3d817535df918f65a342", "date": "2017-11-02 08:14:13 -0400", "subject": "Convert configuration definitions from auto-generated functions to auto-generated data structures." }, { "commit": "2be93036f1c8de73414650fd6c6710e2f2b9fc73", "date": "2017-10-30 14:18:05 -0400", "subject": "Clarify usage of the archive-timeout option.", "body": "Also describe how it is distinct from the PostgreSQL archive_timeout setting." }, { "commit": "55f68ef0136362be1ee8dbe3dabd1b3132e485d1", "date": "2017-10-30 10:58:04 -0400", "subject": "Remove configurable option hints.", "body": "db-path was the only option with a hint so the feature seemed wasteful. All missing stanza options now output the same hint without needing configuration." }, { "commit": "1ef27ec8c2273fce99685c9354a6778d14a54792", "date": "2017-10-30 10:50:35 -0400", "subject": "Add list type for options.", "body": "The hash type was being used for lists with an additional flag (`value-hash`) to indicate that it was not really a hash." }, { "commit": "f57e376c4489cba94b5dba443e6421b085ef9ea4", "date": "2017-10-30 09:29:46 -0400", "subject": "Update Debian/Ubuntu containers to download lastest version of pip." }, { "commit": "85b35f30a4a4ea07e92ad5ded6ce73bc2937f0ef", "date": "2017-10-24 17:36:21 -0400", "subject": "v1.25: S3 Performance Improvements" }, { "commit": "8674a4f7aea3bea2db7e92be599c034170b81706", "date": "2017-10-24 12:35:36 -0400", "subject": "Allow functions with sensitive options to be logged at debug level with redactions.", "body": "Previously, functions with sensitive options had to be logged at trace level to avoid exposing them. Trace level logging may still expose secrets so use with caution." }, { "commit": "b2cc65d886a5c1fe4845f655c53b0c809beefb72", "date": "2017-10-24 10:35:42 -0400", "subject": "Improve performance of test code.", "body": "Wait when all tests have been assigned to reduce CPU load." }, { "commit": "d989cf8ac21e0978174cc94747965743f252a45d", "date": "2017-10-22 19:07:17 -0400", "subject": "Replace dynamically built class hierarchies in I/O layer with fixed parent() calls." }, { "commit": "d82fe88031a3c9ca88bd70652bc4f9fc0e12d4bf", "date": "2017-10-22 18:05:46 -0400", "subject": "Fix custom settings for compress-level option being ignored.", "body": "Reported by Jens Wilke." }, { "commit": "3553ccae449b7b9ad71290234e55c57d9c9455a5", "date": "2017-10-22 13:27:47 -0400", "subject": "Add I/O performance tests." }, { "commit": "9b98c2e7d6492b626267ffa0c50c67922dd43bda", "date": "2017-10-22 13:11:03 -0400", "subject": "Run all tests on tempfs rather than local disk." }, { "commit": "e1cb9ae86a596d0c1e833ba60730e65805c4ef4f", "date": "2017-10-21 14:40:14 -0400", "subject": "Improve labeling for errors in helper processes." }, { "commit": "44c7c0475ad30873075751ea23083861fe53278a", "date": "2017-10-21 14:11:33 -0400", "subject": "Improve protocol error handling.", "body": "In particular, \"stop\" errors are no longer reported as \"unexpected\"." }, { "commit": "1f120f3fce1f8f30739a0cc178e8eea2053fd2f2", "date": "2017-10-20 14:10:16 -0400", "subject": "Improve performance of list requests on S3.", "body": "Any beginning literal portion of a filter expression is used to generate a search prefix which often helps keep the request small enough to avoid rate limiting." }, { "commit": "f4524aeaa92baf2cdae2125c87661036e2bdc0a0", "date": "2017-10-18 11:14:26 -0400", "subject": "Add base64 encode/decode." }, { "commit": "2d56de00fcb04f2f949c1855f68cbeee25cdee6f", "date": "2017-10-18 08:42:32 -0400", "subject": "Fix instances where database-id was not rendered as an integer in JSON info output.", "body": "Fixed by Cynthia Shang.\nReported by Jason O'Donnell." }, { "commit": "b1efd598cfe82c02db1a5943cd900dfc4be28e05", "date": "2017-10-16 18:21:47 -0400", "subject": "Add PostgreSQL versions to Debian VMs for testing." }, { "commit": "c94e52f697cdae67c35fe8cb0f95088029231b95", "date": "2017-10-16 14:34:44 -0400", "subject": "Remove error when overlapping timelines are detected.", "body": "Overlapping timelines are valid in many Point-in-Time-Recovery (PITR) scenarios." }, { "commit": "583a76f605cd49d03fe2fe4a756e7de08966a62d", "date": "2017-10-16 11:25:49 -0400", "subject": "Add C memory contexts." }, { "commit": "6f5186f9e620693815133dc1444c0b627a3ab6a1", "date": "2017-10-16 11:13:51 -0400", "subject": "Convert config tests into C unit tests." }, { "commit": "9d78948a14b20813201b5bf7f21e3525577aa7dc", "date": "2017-10-16 11:03:06 -0400", "subject": "Improvements to page checksum module and tests:", "body": "* Page checksum module uses new C error handler.\n* Convert page checksum tests into C unit tests." }, { "commit": "80758f002311dd58497f95a5fd9a8f9de92920e8", "date": "2017-10-16 10:54:35 -0400", "subject": "Add test macros for C results and errors." }, { "commit": "904b83747cd8140aa64a0eb2ac598cc8c1cf310b", "date": "2017-10-16 10:47:31 -0400", "subject": "Perl error handler recognizes errors thrown from the C library." }, { "commit": "f1e739b4aa85f4b57613b8191e29c2abd303ed8e", "date": "2017-10-16 10:09:56 -0400", "subject": "Add C error handler.", "body": "Basic try ... catch ... finally pattern to simplify error handling in C." }, { "commit": "10dfbd90b5c3af6ebb6c651760d2d62ced738b84", "date": "2017-10-12 12:55:48 -0400", "subject": "Add C unit test infrastructure." }, { "commit": "08d6f14603e7248dd7cc865129527963d9e3df49", "date": "2017-10-10 18:21:44 -0400", "subject": "Add LibC.template.pm to simplify LibC module generation." }, { "commit": "abea4d1fd5f8cd2a8e0c8625dbb3d700b5317cc7", "date": "2017-10-05 12:33:13 -0400", "subject": "Remove Debian test repo after PostgreSQL 10 release." }, { "commit": "d89b7d5862201051732274f622742888dbf09315", "date": "2017-09-30 10:48:25 -0400", "subject": "Warnings in C builds treated as errors." }, { "commit": "8efcc38304dae4e224ae1ac0211ed03691ae5c8a", "date": "2017-09-30 10:44:03 -0400", "subject": "Improvements in C codebase:", "body": "* Update C naming conventions.\n* Use int datatype wherever possible.\n* Better separation of C source from Perl interface." }, { "commit": "d0bf946857d73dcca2ce2a7bf0b78fd8aee2a19b", "date": "2017-09-28 19:06:41 -0400", "subject": "v1.24: New Backup Exclusions" }, { "commit": "40a85e34f1b12620b5520f620779396b7ead525a", "date": "2017-09-20 19:57:05 -0400", "subject": "Improve C library smart build.", "body": "Ignore changes outside of /lib/pgBackRest/Config." }, { "commit": "4d6c56b4d76572f5a45a45ca8f55ddc269d2d6d1", "date": "2017-09-20 08:08:36 -0400", "subject": "Open log file after async process is completely separated from the main process.", "body": "This prevents the main process from also logging to the file." }, { "commit": "266c9ddcc12c377dd2b3d90b79468eaa6c22f101", "date": "2017-09-19 10:14:18 -0400", "subject": "Fixed an issue where some db-* options (e.g. db-port) were not being passed to remotes." }, { "commit": "c857015a38edd6db641987f8084930f59cfb9309", "date": "2017-09-19 10:03:53 -0400", "subject": "Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization." }, { "commit": "d36c52271f994fc6332c40c9a101f9451ccb7266", "date": "2017-09-17 15:52:19 -0400", "subject": "Break up LibC.xs into separate module files." }, { "commit": "20af8ecf505f3b8b490dfb76969d5e39dabf0362", "date": "2017-09-17 14:49:23 -0400", "subject": "Dynamically generate list of files for C library build." }, { "commit": "7c95a2f4de43905bc7b22afbc8d70432156bc033", "date": "2017-09-08 21:50:00 -0700", "subject": "Updates to installation documentation.", "body": "* Add trusted SSH configuration.\n* Add full installation where required and remove doc containers that included parts of the installation." }, { "commit": "4bcef7020ee25104b687580a7089a06d4b597cf8", "date": "2017-09-07 10:59:40 -0700", "subject": "Rename master to primary in documentation to align with PostgreSQL convention." }, { "commit": "6343fdd5846ef05d9f4883d8ffd09e0b47f744ce", "date": "2017-09-04 08:26:57 -0400", "subject": "Additional backup exclusions.", "body": "* Exclude contents of pg_snapshots, pg_serial, pg_notify, and pg_dynshmem from backup since they are rebuilt on startup.\n* Exclude pg_internal.init files from backup since they are rebuilt on startup." }, { "commit": "df1ec0aaeb02fb1359f5f893dad8af06c2e05eeb", "date": "2017-09-03 17:42:00 -0400", "subject": "v1.23: Multiple Standbys and PostgreSQL 10 Support" }, { "commit": "eea2ccc3ab52ee588d6f894d291931bd9aa52147", "date": "2017-09-03 16:48:41 -0400", "subject": "Add HTTP retries to harden against transient S3 network errors." }, { "commit": "80e5e8db01b97ad7878817152d2a9a933d59d415", "date": "2017-09-01 19:16:57 -0400", "subject": "Increase HTTP timeout for S3." }, { "commit": "75511d24813266b87a7b65e25141f2fd6b1dd78a", "date": "2017-09-01 15:07:20 -0400", "subject": "Allow content-length (in addition to chunked encoding) when reading XML data to improve compatibility with third-party S3 gateways.", "body": "Suggested by Victor Gdalevich." }, { "commit": "fcb7c6fd1d0f37ed371079537b95899eaac44812", "date": "2017-09-01 12:29:34 -0400", "subject": "PostgreSQL 10 support." }, { "commit": "36e576b4839d5d9323597014d6f478def7308d9e", "date": "2017-08-31 19:15:44 -0400", "subject": "Up to seven standbys can be configured for backup from standby.`", "body": "Contributed by Cynthia Shang." }, { "commit": "206415d4c754053275666bfcc0eb138f39884c21", "date": "2017-08-30 16:34:05 -0400", "subject": "Fixed an issue that could cause compression to abort on growing files.", "body": "Reported by Jesper St John, Aleksandr Rogozin." }, { "commit": "81ffd094455fb006993a3b9e65c801c127454dc7", "date": "2017-08-30 08:41:46 -0400", "subject": "Fixed an issue with keep-alives not being sent to the remote from the local process.", "body": "Reported by William Cox." }, { "commit": "1e0ed074555df7d9079fdf52c4b6b5b049b6d155", "date": "2017-08-25 16:47:47 -0400", "subject": "Configuration rules are now pulled from the C library when present." }, { "commit": "8d3436bce775845d45eaf8b55e526ad784e54e0f", "date": "2017-08-19 09:02:24 -0400", "subject": "Merge release 2 container build changes." }, { "commit": "7dab459cacd9e1b5934294176e5929a86f7b48de", "date": "2017-08-19 08:48:13 -0400", "subject": "Simplified smart logic for C Library and package builds." }, { "commit": "1be69d5ac71db241f0c41bf28c4c36c5cc0b32c4", "date": "2017-08-16 16:54:35 -0400", "subject": "Fixed document generation to include section summaries on the Configuration page.", "body": "Fixed by Cynthia Shang." }, { "commit": "1d2b08ce94d31e2d0a19cb7f489d73e2e04700d2", "date": "2017-08-11 18:43:21 -0400", "subject": "Move contributor list to the end of release.xml for convenience." }, { "commit": "4c2c612b6f68001b2cf0ccd29b02648f0f11ae8c", "date": "2017-08-11 18:38:40 -0400", "subject": "Ignore auto-generated C code created by release 2." }, { "commit": "4331e09376a124e597c4a0e8e4c9641239f8f64e", "date": "2017-08-11 18:31:25 -0400", "subject": "Drain stderr during test process execution as well as termination to prevent lockups if there is a lot of output." }, { "commit": "f8de73674c5e97bd7103a4892ce4d17cc12d1173", "date": "2017-08-10 20:52:29 -0400", "subject": "Updated Docker build in Vagrantfile." }, { "commit": "ac1574448e8b6e2a6b6c3690f3998aac35e4d40d", "date": "2017-08-10 18:11:29 -0400", "subject": "Changed log test order to ignore unimportant log errors while shutting down PostgreSQL." }, { "commit": "84caca0f341982d7d61d1c310faf5c6a3a601a48", "date": "2017-08-09 11:50:02 -0400", "subject": "v1.22: Fixed S3 Retry" }, { "commit": "61c38f58085ebe5ad769bf5937c41793deafc884", "date": "2017-08-09 11:27:09 -0400", "subject": "Fixed authentication issue in S3 retry." }, { "commit": "cbc026418cdc03bbe645a3c44ccf9e40435c62ca", "date": "2017-08-08 18:09:07 -0400", "subject": "v1.21: Improved Info Output and SSH Port Option" }, { "commit": "038d47bcc05d3de5b377c330576bcc76648ccb8b", "date": "2017-08-08 17:15:01 -0400", "subject": "Retry when S3 returns an internal error (500)." }, { "commit": "961f7033d1f82f279e02500506a255c58064fe55", "date": "2017-08-08 16:26:44 -0400", "subject": "Generate global fake cert in containers for testing." }, { "commit": "b6da509c9f909bcbd1c76b6b920b78e5945b9d1e", "date": "2017-08-04 16:10:51 -0400", "subject": "Consolidate stanza-create and stanza-upgrade tests into new stanza test.", "body": "Contributed by Cynthia Shang." }, { "commit": "f9bdc092bac8cdfe1c7145c0adf1123ae2ea6dd1", "date": "2017-08-04 16:03:55 -0400", "subject": "Fixed an issue that could cause the empty archive directory for an old PostgreSQL version to be left behind after a stanza-upgrade.", "body": "Fixed by Cynthia Shang." }, { "commit": "ce2b18c5b84c506606861010331965ad503af48a", "date": "2017-08-01 10:34:53 -0400", "subject": "Added --backup-ssh-port and --db-ssh-port options to support non-default SSH ports.", "body": "Contributed by Cynthia Shang." }, { "commit": "fa992433da396f8fe3a3c49dfd539d4dd6c54ae1", "date": "2017-07-27 11:31:42 -0400", "subject": "Update CI code to prevent deprecated VM from being rewritten." }, { "commit": "cf3110b0d896c75db775f6b2296c704a54d61142", "date": "2017-07-26 19:22:54 -0400", "subject": "Use new Travis Trusty image." }, { "commit": "14d6974d1b54977ab678d0967c6fa8275b0959c7", "date": "2017-07-26 13:40:09 -0400", "subject": "Use Google DNS in test environment for consistency." }, { "commit": "97c4d9ec1874fa2acbb33d6442d62089be07786b", "date": "2017-07-26 10:22:22 -0400", "subject": "Reduce log verbosity in doc.pl.", "body": "Reduce verbosity by only logging sections that contain an execute list directly or in a child section." }, { "commit": "df7d63368396c1030e178621136f0b304f970987", "date": "2017-07-26 09:33:10 -0400", "subject": "Improvements to command/command-line help:", "body": "* Move repository options into a separate section in command/command-line help. (Suggested by Stephen Frost.)\n* Fix description of --online based on the command context.\n* Remove vestigial repository options from backup command." }, { "commit": "156fd4d54d2387767d298dd295518f847788f845", "date": "2017-07-25 12:44:38 -0400", "subject": "Add bIgnoreMissing parameter to Local->manifest()." }, { "commit": "49449feab3d13fa6aedd5271d60e55f3720e8f08", "date": "2017-07-24 21:14:42 -0400", "subject": "Add creation of /etc/pgbackrest.conf to manual installation instructions." }, { "commit": "cbb749e12a6c752d9172d7038f3f683c84d50d03", "date": "2017-07-24 21:12:05 -0400", "subject": "Debian/Ubuntu documentation now builds on Ubuntu 16." }, { "commit": "d5c1f02c7289284cb0cd7bd5c79e9e6a2dc8fb69", "date": "2017-07-24 07:57:47 -0400", "subject": "Include archive_status directory in online backups.", "body": "The archive_status directory is now recreated on restore to support PostgreSQL 8.3 which does not recreate it automatically like more recent versions do.\n\nAlso fixed log checking after PostgreSQL shuts down to include FATAL messages and disallow immediate shutdowns which can throw FATAL errors in the log." }, { "commit": "cda3b9821b83b3cc96ad13b63483499ff5a52e42", "date": "2017-07-21 17:32:41 -0400", "subject": "Improved WAL data returned by info command.", "body": "Modified the info command (both text and JSON output) to display the archive ID and minimum/maximum WAL currently present in the archive for the current and prior, if any, database cluster version." }, { "commit": "33d769e14786098b6fa02e666c624531dc7d5bea", "date": "2017-06-27 22:42:31 -0400", "subject": "v1.20: Critical 8.3/8.4 Bug Fix" }, { "commit": "884413b251935aa7c1f82758a34c37664c200b82", "date": "2017-06-27 22:27:48 -0400", "subject": "Remove mount and user from host cache-key because it can vary by system." }, { "commit": "7759a94fa2ac0af8ef037c466808685b091c2cc2", "date": "2017-06-27 18:29:48 -0400", "subject": "Add Debian 9 to test suite." }, { "commit": "9e9286ee205e7202bed7fc0d688e43949c3a687c", "date": "2017-06-27 18:00:39 -0400", "subject": "Add performance module and basic performance test for archive-push." }, { "commit": "9e248a66279eab87c18040917f5bdcd94075e6c2", "date": "2017-06-27 17:54:30 -0400", "subject": "Minor optimizations to package loads and ordering for archive-get and archive-push commands." }, { "commit": "f3b62d2d671592881f5e646b100604020fa52e70", "date": "2017-06-27 17:07:12 -0400", "subject": "Fixed misleading error message when a file was opened for write in a missing directory." }, { "commit": "2310e423e98259838826ccc8093e43668fab061a", "date": "2017-06-27 16:47:40 -0400", "subject": "Fixed an issue that prevented tablespaces from being backed up on PostgreSQL ≤ 8.4.", "body": "The integration tests that were supposed to prevent this regression did not work as intended. They verified the contents of a table in the (supposedly) restored tablespace, deleted the table, and then deleted the tablespace. All of this was deemed sufficient to prove that the tablespace had been restored correctly and was valid.\n\nHowever, PostgreSQL will happily recreate a tablespace on the basis of a single full-page write, at least in the affected versions. Since writes to the test table were replayed from WAL with each recovery, all the tests passed even though the tablespace was missing after the restore.\n\nThe tests have been updated to include direct comparisons against the file system and a new table that is not replayed after a restore because it is created before the backup and never modified again.\n\nVersions ≥ 9.0 were not affected due to numerous synthetic integration tests that verify backups and restores file by file." }, { "commit": "fdabf33604cdc5f253187d559b3d4be52c2d843d", "date": "2017-06-27 15:58:02 -0400", "subject": "Revert removal of Ubuntu 12.04 and PostgreSQL 8.3." }, { "commit": "001cff9eb990cf246df42c7d06f5e377da313299", "date": "2017-06-27 15:48:34 -0400", "subject": "Automatically check that all supported PostgreSQL versions are being tested on a single default VM." }, { "commit": "7a1385cc2716de93b7f0388ea2017dfa1a8734a4", "date": "2017-06-24 18:04:02 -0400", "subject": "Add documentation builds to CI." }, { "commit": "7a9b1f69937f5866ab0bc888d700527fda460d47", "date": "2017-06-24 10:59:00 -0400", "subject": "Container build improvements:", "body": "* More optimized container suite that greatly improves build time.\n* Added static Debian packages for Devel::Cover to reduce build time.\n* Add deprecated state for containers. Deprecated containers may only be used to build packages.\n* Remove Debian 8 from CI because it does not provide additional coverage over Ubuntu 14.04 and Ubuntu 16.04." }, { "commit": "53184a7b30c7b3000a4be8af90c9419b22fae3e2", "date": "2017-06-23 10:30:22 -0400", "subject": "Update CentOS 6 documentation to build on PostgreSQL 9.5." }, { "commit": "3d224ad8fa54f007032a5a2c6077c004c4d7c395", "date": "2017-06-23 10:10:48 -0400", "subject": "Improve S3 server implementation in documentation." }, { "commit": "eb4325fa9ac8b6e3da6344d561a861651a4b23f9", "date": "2017-06-22 19:04:52 -0400", "subject": "Remove exhaustive version list from Stable Releases TOC." }, { "commit": "a10a22127d025367655037c1ca9fee0dde248e3c", "date": "2017-06-22 18:51:39 -0400", "subject": "Consolidate archive-get test into new archive test." }, { "commit": "918c1c6f490d3097c46e27fa0226c3fa3b08ec9b", "date": "2017-06-22 18:22:49 -0400", "subject": "Add s3-repo-ca-path and s3-repo-ca-file options.", "body": "The options accommodate systems where CAs are not automatically found by IO::Socket::SSL, i.e. RHEL7, or to load custom CAs." }, { "commit": "6327799c9ae828a56f7f8686d3e35da2441a6e15", "date": "2017-06-22 18:13:59 -0400", "subject": "Use old trusty image until new image works with RHEL6." }, { "commit": "a1a5d18aa436d50f3dff4e845bad51855168071b", "date": "2017-06-22 14:44:21 -0400", "subject": "Balance database versions between VMs to minimize test duration." }, { "commit": "d3054d919b6efc831c9a5a596496e0be80309bc7", "date": "2017-06-22 12:57:10 -0400", "subject": "Fixed missing flag in C library build.", "body": "The missing flag resulted in a mismatched binary on 32-bit systems." }, { "commit": "f8849d735937c16211b0cc905de22088ae467ec6", "date": "2017-06-22 12:37:21 -0400", "subject": "Remove patch directory before Debian package builds.", "body": "Patches should be merged into master before trying a new build after a release with patches." }, { "commit": "f596702c5badb5dbd3b15b6c4ee0e54444ab6e8c", "date": "2017-06-21 20:46:49 -0400", "subject": "Improve S3 error reporting." }, { "commit": "8b9965abcb30421157e11ecc5969bcffbbed93a5", "date": "2017-06-21 19:21:16 -0400", "subject": "Remove process-max option.", "body": "Parallelism is now tested in a more targeted manner and the high level option is no longer needed." }, { "commit": "234869338913ab411baa33b58f28e8d460c74335", "date": "2017-06-21 18:47:25 -0400", "subject": "Reduce process redundancy in mock tests." }, { "commit": "cc0e3f843e0bf3c4982af6423d07f527cc8fd617", "date": "2017-06-21 17:24:36 -0400", "subject": "Remove support for PostgreSQL 8.3." }, { "commit": "73274fc608d7aa4c93af645a85bcbceb3f276847", "date": "2017-06-21 17:02:01 -0400", "subject": "Remove Ubuntu 12.04 from CI now that it is EOL (it can still be run manually)." }, { "commit": "c69baa2de1ed4d00a87f90634c347e730f3babc3", "date": "2017-06-21 16:51:41 -0400", "subject": "Install sudo in base containers rather than on demand." }, { "commit": "64ec7eb49077421f28dbd3cf889e68fc226a4f3d", "date": "2017-06-21 16:07:13 -0400", "subject": "Eliminate redundancy in real tests." }, { "commit": "edada218660a67bd4e87e8450e2491eb2bb47a5c", "date": "2017-06-21 08:45:58 -0400", "subject": "Rename archive-push unit test.", "body": "This is part of the archive consolidation but is committed separately so that git will follow the rename." }, { "commit": "2337be863690c73fc2e141191a3167d959c35263", "date": "2017-06-21 08:38:53 -0400", "subject": "Consolidate archive-push tests into new archive test." }, { "commit": "11ee528e0e11a849612c67dcb297c35c29995c11", "date": "2017-06-21 08:02:21 -0400", "subject": "Rename Archive modules to remove redundancy." }, { "commit": "692b1e274adb9f1f23e3d29d127af521a53a27e9", "date": "2017-06-19 18:55:00 -0400", "subject": "Split full module into mock and real to allow better test combinations and save time in CI." }, { "commit": "f6d4457d58b3f752dadd14c9e341ff86910f72b3", "date": "2017-06-15 15:32:10 -0400", "subject": "Full/Synthetic test refactor.", "body": "* Combine hardlink and non/compressed in synthetic tests to reduce test time and improve coverage.\n* Change log level of hardlink logging to detail.\n* Cast size in S3 manifest to integer." }, { "commit": "269ae4556d00da463d43ef95aaa461821e77f4f3", "date": "2017-06-15 15:20:02 -0400", "subject": "Fix timeouts in ExecuteTest to speed multi-process testing." }, { "commit": "6e29f616b347b66c62c36adf019a7a4d42e4bdac", "date": "2017-06-15 15:12:28 -0400", "subject": "Harden protocol handshake to handle race conditions." }, { "commit": "c10c5bb0ef1de519371e1bdae0b9da7cf8670c95", "date": "2017-06-12 11:36:00 -0400", "subject": "v1.19: S3 Support" }, { "commit": "051c961151e75114c59980e9feb883a8d58dc7b0", "date": "2017-06-12 10:52:32 -0400", "subject": "S3 repository support." }, { "commit": "de7fc37f88f670a1b4b4f95ff354384f37d983b1", "date": "2017-06-09 17:51:41 -0400", "subject": "Storage and IO layer refactor:", "body": "Refactor storage layer to allow for new repository filesystems using drivers. (Reviewed by Cynthia Shang.)\nRefactor IO layer to allow for new compression formats, checksum types, and other capabilities using filters. (Reviewed by Cynthia Shang.)" }, { "commit": "7e982f05f564e560b6ca23f61365fc7f11a5da36", "date": "2017-05-16 11:28:51 -0400", "subject": "Fixed config warnings raised from a remote process causing errors in the master process.", "body": "Fixed by Cynthia Shang." }, { "commit": "74053ed842a4f3c37ce3fa2c9b6e32b4f5aa36e6", "date": "2017-05-16 11:15:31 -0400", "subject": "Fixed missing sudo in installation section.", "body": "Fixed by Lætitia." }, { "commit": "529674727148a7ec6d04ef6bd3ec86f69575f6f2", "date": "2017-05-15 16:01:00 -0400", "subject": "Move backup modules into Backup directory." }, { "commit": "2a23157bf2912bbcdbfe5350ca40ca398cc1001e", "date": "2017-05-15 11:12:14 -0400", "subject": "Move modules in Protocol directory in subdirectories." }, { "commit": "33c87b2a1ccbaf43f56765285ac4918f4b1cdf1c", "date": "2017-05-15 10:24:46 -0400", "subject": "Remove flapping protocol timeout test that will be replaced in the upcoming storage patch." }, { "commit": "c31da3f961b9494cb8f8f351d8a4cf7f22557062", "date": "2017-05-12 16:43:04 -0400", "subject": "Moved test and env modules to new directories to avoid namespace conflicts with common tests." }, { "commit": "4049d59c9e1c4abaa0d96ce0fc307139d1b32a64", "date": "2017-05-12 16:27:06 -0400", "subject": "Fixed issue with --dry-run requiring --vm-out to work properly." }, { "commit": "7d0c50fcd6dd6d7800b53ae2a1abf35f923ec7da", "date": "2017-05-12 16:05:44 -0400", "subject": "Fixed the backup command so the backup-standby option is reset (and the backup proceeds on the master) if the standby is not configured and/or reachable.", "body": "Fixed by Cynthia Shang." }, { "commit": "5bf4f52e3d1ddb3cacb6821080b59e378baf4cb1", "date": "2017-05-12 15:49:14 -0400", "subject": "Fixed the info command so the WAL archive min/max displayed is for the current database version.", "body": "Fixed by Cynthia Shang." }, { "commit": "64be6400fe1f6614c2788e7237e9f75e465fd95f", "date": "2017-04-17 06:39:29 -0400", "subject": "Changed invalid max-archive-mb option in configuration reference to archive-queue-max." }, { "commit": "979610a07d5c201e4e7f93f0540be2b19e4b33a5", "date": "2017-04-13 20:10:28 -0400", "subject": "Fixed an undefined variable when a module had no uncoverable code exceptions." }, { "commit": "77ef4fde20327a6615daaf096930de711fdb4ddf", "date": "2017-04-13 07:42:45 -0400", "subject": "Set --vm-max=2 for CI." }, { "commit": "76161bd8451e581a8f9aa11c1f37d14863585d29", "date": "2017-04-12 19:17:39 -0400", "subject": "v1.18: Stanza Upgrade, Refactoring, and Locking Improvements" }, { "commit": "5c635e0f0a1f5dc8ab8ef8c65204e81d3495afcb", "date": "2017-04-12 18:36:33 -0400", "subject": "Go back to using static user for documentation.", "body": "Making this dynamic in commit 5d2e792 broke doc builds from cache. The long-term solution is to create a special user for doc builds but that’s beyond the scope of this release." }, { "commit": "f207dc71238097a0fded50cc87bb7ef2afb006de", "date": "2017-04-12 12:41:34 -0400", "subject": "Renumber return codes between 25 and 125 to avoid PostgreSQL interpreting some as fatal signal exceptions.", "body": "Suggested by Yogesh Sharma." }, { "commit": "f5f8d51366faae6ac31f355d021eaff67bef8f7f", "date": "2017-04-12 09:53:07 -0400", "subject": "Improved error message when the restore command detects the presence of postmaster.pid.", "body": "Suggested by Yogesh Sharma." }, { "commit": "b0119914d4633431b208a5a327a3758a06258087", "date": "2017-04-12 09:22:51 -0400", "subject": "Do not set timestamps of files in the backup directories to match timestamps in the cluster directory.", "body": "This was originally done to enable backup resume, but that process is now implemented with checksums." }, { "commit": "fe02b40293fec08c819c5f41110203b8919fbae4", "date": "2017-04-12 09:05:57 -0400", "subject": "Backup and restore commands no longer copy via temp files.", "body": "In both cases the files are checksummed on resume so there's no danger of partial copies." }, { "commit": "21a000d002bae2fa87cd09952740cbe14770aada", "date": "2017-04-10 17:23:39 -0400", "subject": "Silence some perl critic warnings.", "body": "* Variables::RequireNegativeIndice\n* Variables::ProhibitUnusedVariables\n* Variables::ProhibitAugmentedAssignmentInDeclaration\n* Modules::ProhibitConditionalUseStatements" }, { "commit": "8546571461215eb65ffcff649c6baa17bc57d605", "date": "2017-04-10 17:20:21 -0400", "subject": "Ignore clock skew in container libc/package builds using make.", "body": "It is common for containers to have clock skew so the build process takes care of this issue independently." }, { "commit": "b63ede5614fed0dce32449f1450b7a5627eeeb3d", "date": "2017-04-10 13:53:19 -0400", "subject": "Added ability to test warning messages.", "body": "Contributed by Cynthia Shang." }, { "commit": "3d84f2ce5e02c5bd7f9bdcbb3b4579b146bf7ccf", "date": "2017-04-10 13:24:45 -0400", "subject": "Improvements to Ini.pm.", "body": "* Refactor Ini.pm to facilitate testing.\n* Complete statement/branch coverage for Ini.pm.\n* Improved functions used to test/munge manifest and info files." }, { "commit": "367e06f4be9133f399d4b7380ace8c5ca087c4b6", "date": "2017-04-10 12:31:30 -0400", "subject": "Coverage testing always enabled on Debian-based containers.", "body": "* Full coverage is verified when specified.\n* Modules marked with partial coverage will error if they are actually fully covered.\n* Simplified test representation is DefineTest.\n* Added new representation for queries in DefineTest and added API functions.\n* Update modules using DefineTest to use new API." }, { "commit": "eb4918d01881c20448e37da4d931d6e8a19f659a", "date": "2017-04-07 10:31:49 -0400", "subject": "Fixed locking bug and refactoring.", "body": "* Fixed an issue where read-only operations that used local worker processes (i.e. restore) were creating write locks that could interfere with parallel archive-push. (Reported by Jens Wilke.)\n* Simplify locking scheme. Now, only the master process will hold write locks (archive-push, backup) and not all the local and remote worker processes as before." }, { "commit": "edfb0962b678a5ebb3021d37d487fafb843dbf2a", "date": "2017-04-06 21:47:43 -0400", "subject": "Update wording for release note sections." }, { "commit": "b620e6b282d3fc0bd1354b9490fbd84ee8d22d6e", "date": "2017-04-06 19:36:37 -0400", "subject": "Improvements and additional tests for stanza-upgrade.", "body": "Contributed by Cynthia Shang." }, { "commit": "0da216c034d484927fa8ad0845e08f25c5227b5a", "date": "2017-04-05 10:50:32 -0400", "subject": "Require description in every call to testResult() and make iWaitSeconds optional." }, { "commit": "c7b61a200258b2f10d1c62f2aedc7441e27bb6b1", "date": "2017-04-05 10:16:16 -0400", "subject": "Refactor backupLabel() and add unit tests." }, { "commit": "b2f43b56014f3d43404a17531887a09a78eb0db1", "date": "2017-04-04 21:17:19 -0400", "subject": "Allow functions to accept optional parameters as a hash.", "body": "Refactor File->list() and fileList() to accept optional parameters." }, { "commit": "9eae36a7028a7c08869ec2e7c2f31f0aa49ecb4c", "date": "2017-04-04 21:15:22 -0400", "subject": "Fixed flapping archive stop tests." }, { "commit": "beead043ac1f988e3757dc8689638ee5d443d9f9", "date": "2017-04-03 10:42:55 -0400", "subject": "Added stanza-upgrade command.", "body": "The stanza-upgrade command provides a mechanism for upgrading a stanza after upgrading to a new major version of PostgreSQL." }, { "commit": "af7e4f4b4b6070e566865872e5240b824a14983f", "date": "2017-03-22 19:03:28 -0400", "subject": "Added validation of pgbackrest.conf to display warnings if options are not valid or are not in the correct section.", "body": "Contributed by Cynthia Shang." }, { "commit": "5d2e79242da79854ee922c1a84dec0e67d52f090", "date": "2017-03-16 19:50:59 -0400", "subject": "Fixed user change in docs missed in vagrant upgrade." }, { "commit": "cbd879a9830d2585b3df3209f59c4a9581a3c166", "date": "2017-03-14 22:05:17 -0400", "subject": "Updated vagrant to new version and image." }, { "commit": "cc9f8fc4b6cb9a2da5bd7419630c4f3eb1c71186", "date": "2017-03-13 16:54:51 -0400", "subject": "v1.17: Page Checksum Bug Fix" }, { "commit": "b0947fdaa8af9c434c85ff33b1140d8ca6d98cbb", "date": "2017-03-13 15:50:13 -0400", "subject": "Fixed an issue where newly initialized (but unused) pages would cause page checksum warnings.", "body": "Reported by Stephen Frost." }, { "commit": "3cec6702e85e901ff3894e047cf5a461562b7b67", "date": "2017-03-02 20:15:14 -0500", "subject": "v1.16: Page Checksum Improvements, CI, and Package Testing" }, { "commit": "02730526fc1a157231293ae532882847f7015a46", "date": "2017-03-02 13:50:29 -0500", "subject": "Fixed an issue where databases created with a non-default tablespace would raise bogus warnings about pg_filenode.map and pg_internal.init not being page aligned.", "body": "Reported by blogh." }, { "commit": "5957f8566f1f8cd90964423321660e457fab57b7", "date": "2017-03-02 11:47:23 -0500", "subject": "Archive test improvements:", "body": "* Fixed flapping archive-stop test with testResult() retries.\n* Added final test of archive contents to archive-push test." }, { "commit": "5eb585c9bae50e02ac5d53d3e20d0b5083283ac9", "date": "2017-03-01 14:38:05 -0500", "subject": "Improved truncation when outputting errors logs in the ExecuteTest module." }, { "commit": "c2666cc7f365fbd294b36dbcf5b11676bbcbf0d1", "date": "2017-03-01 14:15:46 -0500", "subject": "Fixed an issue where tables over 1GB would report page checksum errors after the first segment.", "body": "Reported by Stephen Frost." }, { "commit": "774b243719675a27e0d4f02369df7cb0bdac6524", "date": "2017-03-01 12:22:47 -0500", "subject": "Fixed dev version string in Debian changelog." }, { "commit": "2c48cf8d0d4a4049ffcb8e01549f080bccfcc037", "date": "2017-03-01 09:36:33 -0500", "subject": "Fixed Vagrantfile to match user/group changes made for Travis CI." }, { "commit": "8161ab1c505f811b8aeb8ca33a57133411c4b755", "date": "2017-02-26 12:58:48 -0500", "subject": "Temporarily disable flapping keep-alive test." }, { "commit": "abe0935ea51a78f182549a82b62ca3e1964fe877", "date": "2017-02-26 12:53:41 -0500", "subject": "Disable CI config writing with —no-ci-config." }, { "commit": "ac485cc3552f3b1e35baebaa0140236bf550c6a8", "date": "2017-02-22 18:43:10 -0500", "subject": "Change —retry default to 0." }, { "commit": "31d2d790bd070e2b58a192cb56f6b04cdd307a6f", "date": "2017-02-21 22:10:02 -0500", "subject": "Added --retry option." }, { "commit": "023578c008dec24000c268f29cda25dc2948a86a", "date": "2017-02-21 14:22:03 -0500", "subject": "Make package tests work with dev builds." }, { "commit": "0e9bc513c986140f9bc239dc4b1d3f54c46444a5", "date": "2017-02-21 12:54:27 -0500", "subject": "Suppress lint on all but the first test." }, { "commit": "14ca4dac6fe9ab594c0915486f88ff27f4a5dc7d", "date": "2017-02-21 11:56:55 -0500", "subject": "Improved the code and tests for fileManifest().", "body": "Done to prevent a possible race condition when files are removed by the database while the manifest is being built." }, { "commit": "01312f6260e4f36541d90b5f62be1cbbe6847d13", "date": "2017-02-21 11:47:45 -0500", "subject": "Improved formatting of testResult() output." }, { "commit": "86fee3da18e2646705fdac8853ae4153689d6484", "date": "2017-02-21 08:59:23 -0500", "subject": "Continuous integration using travis-ci." }, { "commit": "56543f7a9916b554204572fb015a24a33c0f74f0", "date": "2017-02-17 22:31:16 -0500", "subject": "Added package builds to test suite and other improvements:", "body": "* Automated builds of Debian packages for all supported distributions.\n* Added --dev option to aggregate commonly used dev options.\n* Added --no-package option to skip package builds.\n* C library and packages are built by default, added -smart option to rebuild only when file changes are detected.\n* The --libc-only option has been changed to --build-only now that packages builds have been added." }, { "commit": "ac7ff755b3533181f7f26a7140cbdefa1cb68442", "date": "2017-02-16 17:18:48 -0500", "subject": "Container executions now load the user's environment." }, { "commit": "2d7d9626bb60640a77ac71559f2a714a1aac8b94", "date": "2017-02-13 20:00:30 -0500", "subject": "v1.15: Refactoring and Bug Fixes" }, { "commit": "e2ac7e1ea624a1dd0e4c5ac214d3dfc1cdc266ab", "date": "2017-02-13 19:59:14 -0500", "subject": "Fixed a regression introduced in v1.13 that could cause backups to fail.", "body": "This happened if files were removed (e.g. tables dropped) while the manifest was being built." }, { "commit": "845c6112bf592fb54b61156b47bbf2ebc5985f29", "date": "2017-02-13 10:07:04 -0500", "subject": "v1.14: Bug Fixes" }, { "commit": "a54018d573926d5d5718727a9f169ad7751577f4", "date": "2017-02-13 10:03:02 -0500", "subject": "Improved performance of wal archive min/max provided by the info command.", "body": "Suggested by Jens Wilke." }, { "commit": "adcc7cb9543714b420d429512f259d14ea265acf", "date": "2017-02-13 09:58:50 -0500", "subject": "Fixed a race condition in parallel archiving.", "body": "Creation of new paths generated an error when multiple processes attempted to do so at the same time." }, { "commit": "bc2bb040c5bf75cb56ec3fa7a00a993d33371a99", "date": "2017-02-13 09:57:10 -0500", "subject": "Fixed an issue where an archive-push error would not be retried.", "body": "It would instead return errors to PostgreSQL indefinitely (unless the .error file was manually deleted)." }, { "commit": "12041f73e2a4f4c91c068b7f43f7ff52f24c72f5", "date": "2017-02-12 21:09:34 -0500", "subject": "Fixed syntax from d68b48d that was not backwards compatible to Perl 5.10." }, { "commit": "d68b48d19b53727bafd55e97cde41db309763daa", "date": "2017-02-11 10:26:54 -0500", "subject": "Improved support for --require option and section depends now default to the previous section." }, { "commit": "498f52da094832d5ffe84ea0eed121acf46f360c", "date": "2017-02-10 10:22:05 -0500", "subject": "Improvements to documentation engine:", "body": "* Documentation can now be built with reusable blocks to reduce duplication.\n* Added ability to pass options to containers within the documentation.\n* Add proper tag to slightly emphasize proper nouns." }, { "commit": "aab763d558b586f0ce4f77a8cc67c2c7e9db07eb", "date": "2017-02-08 09:37:17 -0500", "subject": "Additional notes on the async spool directory." }, { "commit": "b813bfaff68fa9d2e1271b3f6fcf61955e24de3e", "date": "2017-02-08 08:41:43 -0500", "subject": "Updated async archiving documentation.", "body": "More accurately describe how the new method works and how it differs from the old method." }, { "commit": "41eba95155b1fab4c5f98dab3327c1563968fcab", "date": "2017-02-05 20:23:03 -0500", "subject": "v1.13: Parallel Archiving, Stanza Create, Improved Info and Check" }, { "commit": "0daeace1cd2e2ef55c3df3e43b4b622418fe625b", "date": "2017-02-05 19:58:52 -0500", "subject": "Fixed alignment issues with multiline logging." }, { "commit": "cded35791d160a6fc2f99daaaaabf0db21c9bb38", "date": "2017-02-05 10:59:49 -0500", "subject": "Added --log-timestamp option.", "body": "Allow timestamps to be suppressed in logging. This is primarily used to avoid filters in the automated documentation." }, { "commit": "55feae645e92eda928ad0eb5be74431807f3c604", "date": "2017-02-05 10:37:54 -0500", "subject": "Log file banner is not output until the first log entry is written.", "body": "Suggested by Jens Wilke." }, { "commit": "2237c3fc1bafd620f5cafda4d38acbfc7b490aa5", "date": "2017-02-05 10:35:53 -0500", "subject": "Added documentation for parallel archive-push." }, { "commit": "8b5f37c2a87b221fe40f1883f6583ee31ad977d7", "date": "2017-02-05 10:31:29 -0500", "subject": "Added archive and backup WAL ranges to the info command." }, { "commit": "1666ee177f059c3566e531fa697cb229eb68c0c4", "date": "2017-02-02 20:44:42 -0500", "subject": "Fixed --no-online tests to suppress expected errors." }, { "commit": "efdf64506ae075cadc24de0805c8238478dfd28f", "date": "2017-02-02 20:42:45 -0500", "subject": "Remove remote lock requirements for the archive-get, restore, info, and check commands since they are read-only operations.", "body": "Suggested by Michael Vitale." }, { "commit": "3e54aad88f473db619dc7546cf144c3987224943", "date": "2017-01-31 10:38:45 -0500", "subject": "Removed --lock option.", "body": "This option was introduced before the lock directory could be located outside the repository and is now obsolete." }, { "commit": "7418559a6751959727836e462002a14c41461198", "date": "2017-01-31 10:36:59 -0500", "subject": "Fixed a spurious archive-get log message that indicated an exit code of 1 was an abnormal termination." }, { "commit": "9b92edddbe506c3ebaa6f970e62270facdcc5a27", "date": "2017-01-30 17:06:35 -0500", "subject": "Remove Intel-specific optimization from C library build flags.", "body": "Contributed by Adrian Vondendriesch." }, { "commit": "eb1a1e53080375d947b94e58f917bc2816528264", "date": "2017-01-30 16:22:12 -0500", "subject": "Missed expect logs from commit 455c604." }, { "commit": "34e4cfaeec473ba1c90f8c203f82b1146510deee", "date": "2017-01-30 15:48:10 -0500", "subject": "Fixed minor typos." }, { "commit": "455c6048ee4794a2d334067e4651460b3ad2b416", "date": "2017-01-30 14:00:40 -0500", "subject": "C Library builds immune to clock differences between VM and host." }, { "commit": "6b99d770b5203680ac53813d9c3c73f476d895bb", "date": "2017-01-30 13:59:00 -0500", "subject": "Reduced the likelihood of torn pages causing a false positive in page checksums by filtering on start backup LSN." }, { "commit": "43ada9fb33b51479b959ea6a93fcb53fa0803e25", "date": "2017-01-27 11:02:27 -0500", "subject": "Improved, multi-process implementation of asynchronous archiving." }, { "commit": "2a9ba877e1dbce234f1b44d8f3163ce38f9c1781", "date": "2017-01-27 10:06:16 -0500", "subject": "Refactor process IO and process master/minion code out from the common protocol code." }, { "commit": "0163d3b3e02f22179f9854246e6f5009e8ff4e40", "date": "2017-01-27 10:04:41 -0500", "subject": "Allow empty files to be created with FileCommon::fileStringWrite() and use temp files to avoid partial reads." }, { "commit": "2553c7a9982f630226923ec14b0f56350607db44", "date": "2017-01-27 10:02:00 -0500", "subject": "Represent .gz extension with a constant." }, { "commit": "f3ccf3b897e9bab58e2ab1f15dabf54fef9b34db", "date": "2017-01-27 09:56:26 -0500", "subject": "Added Exception::exceptionCode() and Exception::exceptionMessage() to simplify error handling logic." }, { "commit": "6620594b7724f5950b20c1c103a2b0fee194e816", "date": "2017-01-27 09:53:46 -0500", "subject": "Various improvements in Lock.pm:", "body": "* Allow for locks to be taken more than once in the same process without error.\n* Lock directories can be created when more than one directory level is required.\n* Clean up optionValid()/optionTest() logic in Lock.pm." }, { "commit": "18db178ac3a03540bcaf4bd5c23f6a34ab419f55", "date": "2017-01-27 09:42:30 -0500", "subject": "Various improvements to the test suite:", "body": "* Allow logging to be suppressed via logDisable() and logEnable().\n* Added more flexibility in initializing and cleaning up after modules and tests.\n* testResult() suppresses logging and reports exceptions.\n* testException() allows messages to be matched with regular expressions.\n* Refactor name/locations of common modules that setup test environments." }, { "commit": "e876a222fcb68fb4a95455113d3378d5e6b81c7a", "date": "2017-01-24 14:58:55 -0500", "subject": "Fixed an issue where protocol mismatch errors did not output the expected value." }, { "commit": "b6fa146f9b1b9e622f456d73585423538c04ad17", "date": "2017-01-22 19:29:56 -0500", "subject": "Added warning to update pg_tablespace.spclocation when remapping tablespaces in PostgreSQL < 9.2.", "body": "Contributed by blogh." }, { "commit": "7d1347cdec4f4c563d5a6fa0a1d66297a2742f0f", "date": "2017-01-10 19:59:32 -0500", "subject": "Split the archive-get and archive-push commands into separate modules." }, { "commit": "155c8081632d1081da8b7e94ebd3a7d422f0f280", "date": "2017-01-10 19:54:51 -0500", "subject": "Split the check command out of the Archive.pm module." }, { "commit": "b58045f5757b03a1e15e1955402917b9003c5692", "date": "2017-01-10 19:51:20 -0500", "subject": "Moved the Archive modules to the Archive directory." }, { "commit": "2ab63f27b23b8932e9685c5179284fddbb6cf49c", "date": "2017-01-10 13:12:53 -0500", "subject": "C Library builds only run when C library has actually changed." }, { "commit": "0b4055e588331ec70d789ced6e5685f54def197b", "date": "2017-01-10 13:08:03 -0500", "subject": "Moved File->manifest() into the FileCommon.pm module." }, { "commit": "0e4f51c27110f2d3eb6f3d1d15dc3f8ac4675e34", "date": "2017-01-09 20:49:04 -0500", "subject": "Added integration for testing coverage with Devel::Cover." }, { "commit": "39744a4f1dbbe4e593bebaa37a6be93dae0da214", "date": "2017-01-05 15:19:56 -0500", "subject": "Fixed an issue where a missing user/group on restore could cause an \"uninitialized value\" error in File->owner().", "body": "Reported by Leonardo Avellar." }, { "commit": "4ff2714bf00063534ddf90d4995f9f1abcb60c99", "date": "2017-01-04 18:39:50 -0500", "subject": "Return proper error code when unable to convert a relative path to an absolute path.", "body": "Suggested by Yogesh Sharma." }, { "commit": "c8dfc673b87bc04f87e7e3c01f5e227a71f415d8", "date": "2017-01-04 18:31:16 -0500", "subject": "Moved tests into new modules to better reflect actual usage." }, { "commit": "e3d63c0252bfbd0cccb746d405c7e3cdeb8f75c1", "date": "2017-01-04 18:29:13 -0500", "subject": "Allow multiple --module, --test, and --run options to be used for test.pl." }, { "commit": "be337c951aee0121dc3d1a251bdb5218d72769a0", "date": "2017-01-04 10:12:29 -0500", "subject": "Improvements to stanza-create:", "body": "* Force only required when a change is needed for backup.info or archive.info.\n* Identical files are not overwritten." }, { "commit": "b91ca113298104a3c718db93a1dad0fa7336c8c6", "date": "2017-01-04 10:09:21 -0500", "subject": "Added expect log expression to replace year subdirectories in backup.history." }, { "commit": "314ef2c8b317c7d56ae2770231e49748183fdd96", "date": "2017-01-04 10:05:43 -0500", "subject": "Update LICENSE.txt for 2017." }, { "commit": "d5ee7d3535ea3961db2cb73120ee94632463e737", "date": "2016-12-23 16:50:02 -0500", "subject": "Added documentation to the User Guide for the process-max option.", "body": "Contributed by Cynthia Shang." }, { "commit": "83beab7ec368ffebb5d8526e06eb65a9abd568c2", "date": "2016-12-23 11:43:26 -0500", "subject": "Refactor File module to improve test coverage.", "body": "Added unit tests for low-level functions in the BackupCommon module." }, { "commit": "5d3473b52dfe1f67d557d434a9ee373b6317dcfc", "date": "2016-12-23 08:30:34 -0500", "subject": "Refactor File module to improve test coverage." }, { "commit": "6b2666a9d7ee179e237a4ad34117024f2ed62f7f", "date": "2016-12-23 08:22:59 -0500", "subject": "Split test modules into separate files.", "body": "Makes the code more maintainable. Tests are dynamically loaded by name rather than requiring an if-else block." }, { "commit": "56144c99c0570daf7f1dba85968b79cbc3a84b15", "date": "2016-12-21 14:35:20 -0500", "subject": "Improved check command to run on a standby.", "body": "Only basic checks are done because pg_switch_xlog() cannot be executed on a replica." }, { "commit": "974a02dbe41372d28d2c234ebea8a8ac6352865a", "date": "2016-12-20 16:52:20 -0500", "subject": "Improved stanza-create command so that it can repair broken repositories in most cases and is robust enough to be made mandatory.", "body": "Contributed by Cynthia Shang." }, { "commit": "aecc0f737e40dfb7304753e37612b11402e4c51c", "date": "2016-12-19 14:40:22 -0500", "subject": "Fixed a few directory syncs that were missed for the --repo-sync option." }, { "commit": "4e1b74688df11f31e2d5caf76bf7c1d53623ae45", "date": "2016-12-13 08:22:36 -0500", "subject": "Fixed const assignment giving compiler warning in C library.", "body": "Fixed by Adrian Vondendriesch." }, { "commit": "8e3464da805fc0975b6cf25ecb9ba16146b45c9e", "date": "2016-12-12 19:18:27 -0500", "subject": "v1.12: Page Checksums, Configuration, and Bug Fixes" }, { "commit": "36a5349b1c6b6bcd513464029733b62fe4200759", "date": "2016-12-12 18:54:07 -0500", "subject": "Added the --checksum-page option.", "body": "This option allows pgBackRest to validate page checksums in data files when checksums are enabled on PostgreSQL >= 9.3. Note that this functionality requires a C library which may not initially be available in OS packages. The option will automatically be enabled when the library is present and checksums are enabled on the cluster." }, { "commit": "6dd0829033fb600e0aa5d9c60d3315e65a6bb289", "date": "2016-12-12 18:47:17 -0500", "subject": "File copy protocol now accepts a function that can do additional processing on the copy buffers and return a result to the calling process." }, { "commit": "b4884e5a0bdb572aeb766f6d5f1be8b159de5ea7", "date": "2016-12-10 14:05:28 -0500", "subject": "Fixed an issue where the db-port option specified on the backup server would not be properly passed to the remote unless it was from the first configured database.", "body": "Reported by Michael Vitale." }, { "commit": "1a5fa920e6baec14fc092d202839ab16d403b7fb", "date": "2016-12-10 09:15:20 -0500", "subject": "Improved parameter/result logging in debug/trace functions." }, { "commit": "e61ef6ebce004ebacf95796acae835845b25758e", "date": "2016-12-10 09:13:55 -0500", "subject": "Add more realistic data files to synthetic backup and restore tests." }, { "commit": "eff7b46eb1abb0d80de01730e6834f39f450f890", "date": "2016-12-10 09:11:12 -0500", "subject": "Various improvements to validation of backup and restore." }, { "commit": "b45e0d81898f21f8d65f029e382c3d202a3b0e7a", "date": "2016-12-10 09:09:16 -0500", "subject": "Fixed issues in the protocol layer when additional message fields were added." }, { "commit": "f818901c0e619b50afa50412d246d0b1771fac11", "date": "2016-12-10 09:06:45 -0500", "subject": "Added the --repo-sync option to allow directory syncs in the repository to be disabled.", "body": "This is for file systems that do not support them, e.g. NTFS" }, { "commit": "36378c47bd3058b3986bf2913539724965c39e56", "date": "2016-12-04 18:11:23 -0500", "subject": "Added Retention to QuickStart section." }, { "commit": "896984848bf46f85893d4f05cf06534b4fe49327", "date": "2016-12-04 17:51:00 -0500", "subject": "Improved errors returned from child processes by removing redundant error level and code." }, { "commit": "817592837ce08d412dc97e3cfeb543590a83d04f", "date": "2016-12-04 14:44:53 -0500", "subject": "Added a predictable log entry to signal that a command has completed successfully.", "body": "For example a backup ends successfully with: INFO: backup command end: completed successfully." }, { "commit": "f823a25ac20fac867038a4797d96c26e27f8388b", "date": "2016-12-04 09:25:40 -0500", "subject": "Fixed an issue where options that were invalid for the specified command could be provided on the command-line without generating an error.", "body": "* The options were ignored and did not cause any change in behavior, but it did lead to some confusion. Invalid options will now generate an error.\n* Removed erroneous --no-config option in help test module.\n* Changed the --no-fork test option to --fork with negation to match all other boolean parameters." }, { "commit": "d18cd7ad0faa80c4ceacd708d0ae1e964f170a7a", "date": "2016-12-03 18:01:17 -0500", "subject": "Fixed an issue that prevented errors from being output to the console before the logging system was initialized.", "body": "That is, while parsing options. Error codes were still being returned accurately so this would not have made a process look like it succeeded when it did not." }, { "commit": "2e01e6b9e1a9c598715f7ad86177930fb3963e56", "date": "2016-12-03 17:34:51 -0500", "subject": "Improved consistency and flexibility of the protocol layer by using JSON for all messages." }, { "commit": "b7f17382002046b7f52fdd874025428a649713a6", "date": "2016-12-03 10:28:08 -0500", "subject": "Code cleanup in preparation for improved stanza-create command.", "body": "Contributed by Cynthia Shang." }, { "commit": "005fc08795c0bd299f999eff665b4eb4e789b2d2", "date": "2016-12-03 10:23:26 -0500", "subject": "Added the --repo-link option.", "body": "Allow internal symlinks to be suppressed when the repository is located on a filesystem that does not support symlinks. This does not affect any pgBackRest functionality, but the convenience link latest will not be created and neither will internal tablespace symlinks, which will affect the ability to bring up clusters in-place manually using filesystem snapshots." }, { "commit": "6ae4d7de81cfdb8982f3bde0e920fb2a76250208", "date": "2016-12-03 09:56:05 -0500", "subject": "Fixed a bug where internal symlinks were not being created for tablespaces in the repository.", "body": "This issue was only apparent when trying to bring up clusters in-place with filesystem snapshots and did not affect normal backup and restore." }, { "commit": "22cd29771fc87d98bc7269aad1e30b7c3d7de425", "date": "2016-12-01 09:33:14 -0500", "subject": "Update control and wal test files to 9.4 with matching system identifiers.", "body": "Contributed by Cynthia Shang." }, { "commit": "a850335015207c95a05b4219997d025bcc854e1f", "date": "2016-11-30 14:36:39 -0500", "subject": "Simplified the result hash of File->manifest(), Db->tablespaceMapGet(), and Db->databaseMapGet()." }, { "commit": "09df07efb7496db9ac426da243acc636a628d2bb", "date": "2016-11-30 14:23:05 -0500", "subject": "For simplicity, the pg_control file is now copied with the rest of the files instead of by itself of at the end of the process.", "body": "The backup command does not require this behavior and the restore copies to a temporary file which is renamed at the end of the restore." }, { "commit": "4e9f8da9a6c85b8f486d4207d637f9d0b14b3049", "date": "2016-11-30 14:18:12 -0500", "subject": "Improved IO->bufferRead to always return requested number of bytes until EOF." }, { "commit": "e951c4f9c267a7a860c22b29fc1208c3d96f7c89", "date": "2016-11-30 14:15:11 -0500", "subject": "Abstracted code to determine which database cluster is the master and which are standbys.", "body": "Contributed by Cynthia Shang." }, { "commit": "d101e9c84e1e9bc7339a3d52a57964faf3aac51e", "date": "2016-11-30 14:03:58 -0500", "subject": "Improved exception handling in file unit tests." }, { "commit": "4df3eabf6d5acda7e7095933ea7f85ce9c618151", "date": "2016-11-22 17:31:27 -0500", "subject": "Builds in release.pl now remove all docker containers to get consistent IP address assignments." }, { "commit": "dbd16d25b97ba2d2cd86bcfb35e1ca41a2323c33", "date": "2016-11-22 17:29:24 -0500", "subject": "Fixed regression in section links introduced in v1.10.", "body": "This was introduced in an effort to make the html output XHTML 1.0 STRICT compliant because the standard does not allow / characters in anchors.\n\nHowever, the / characters were changed to . in the anchors but not in the links. For now revert the anchors to / so further though can be given to this issue." }, { "commit": "c9b49b0d7e1f0cc612511c1691dcde89ec0cee92", "date": "2016-11-17 16:35:11 -0500", "subject": "Doc engine improvements.", "body": "Bug Fixes:\n\n* Fixed and issue that suppressed exceptions in PDF builds.\n\nFeatures:\n\n* Allow a source to be included as a section so large documents can be broken up.\n* Added section link support to Markdown output.\n* Added list support to PDF output.\n* Added include option to explicitly build sources (complements the exclude option though both cannot be used in the same invocation).\n* Added keyword-add option to add keywords without overriding the default keyword.\n* Added debug option to doc.pl to easily add the debug keyword to documentation builds.\n* Added pre option to doc.pl to easily add the pre keyword to documentation builds.\n\nRefactoring:\n\n* Improvements to markdown rendering.\n* Remove code dependency on project variable, instead use title param." }, { "commit": "54b1a784b55fdee915b550e5151f20dabea4e67c", "date": "2016-11-17 09:57:59 -0500", "subject": "v1.11: Bug Fix for Asynchronous Archiving Efficiency" }, { "commit": "dbb9d80dab5a69130b34d1949a4aec889a49b758", "date": "2016-11-17 09:39:21 -0500", "subject": "Fixed an issue where asynchronous archiving was transferring one file per execution instead of transferring files in batches.", "body": "This regression was introduced in v1.09 and affected efficiency only, all WAL segments were correctly archived in asynchronous mode." }, { "commit": "06cac30c33733d3894a3143a6866a9dbd3972199", "date": "2016-11-08 10:47:47 +0000", "subject": "v1.10: Stanza Creation and Minor Bug Fixes" }, { "commit": "9d9c438f59461e17383cd55dd067a467132ba2de", "date": "2016-11-07 17:06:35 +0200", "subject": "Doc engine improvements.", "body": "Bug Fixes:\n\n* Fixed missing variable replacements.\n* Removed hard-coded host names from configuration file paths.\n\nDocumentation Features:\n\n* Allow command-line length to be configured using cmd-line-len param.\n* Added compact param to allow CSS to be embedded in HTML file.\n* Added pretty param to produce HTML with proper indenting.\n* Only generate HTML menu when required and don't require index page.\n* Assign numbers to sections by default.\n* VM mount points are now optional." }, { "commit": "dd621081b95e5dcf737807053346b7c89e9f962d", "date": "2016-11-07 16:37:16 +0200", "subject": "Fixed an issue where tablespace paths with the same prefix would cause an invalid link error.", "body": "Reported by Nikhilchandra Kulkarni." }, { "commit": "21ca4127026e80f93664d78fcf1e81d8dda0d25d", "date": "2016-11-05 19:22:30 +0200", "subject": "Fixed an issue where a backup could error if no changes were made to a database between backups and only pg_control changed." }, { "commit": "f43e5bc52d31b6f1efe3b92b44752aa49ab1645a", "date": "2016-11-04 13:56:26 +0200", "subject": "Removed extraneous use lib directives from Perl modules.", "body": "Suggested by Devrim Gündüz." }, { "commit": "171c5835bbed34e118e554a291849baa36ecfce0", "date": "2016-11-03 17:48:59 +0200", "subject": "Another expect log update for stanza-create feature." }, { "commit": "26f76762b5ca80bb2ff6c7c5c8e2da11f825420d", "date": "2016-10-17 10:03:42 +0100", "subject": "Expect log updates for stanza-create feature." }, { "commit": "8d1880ca4a15567778b1c295451b3bb62886cc7b", "date": "2016-10-14 12:21:47 +0100", "subject": "Added the stanza-create command to formalize creation of stanzas in the repository.", "body": "Contributed by Cynthia Shang." }, { "commit": "1e0ca3056a84abb07214b54ea2945fcdacd65000", "date": "2016-10-10 17:35:58 -0400", "subject": "v1.09: 9.6 Support, Configurability, and Bug Fixes" }, { "commit": "49a5e8a3f59716cf8f73b458f4cd0c5e47175e48", "date": "2016-10-07 08:51:10 -0400", "subject": "Fixed a remote timeout.", "body": "The timeout occurred when a local process generated checksums (during resume or restore) but did not copy files, allowing the remote to go idle." }, { "commit": "41669a826ee48c7bbcd7a6c2ef849093d3287b6a", "date": "2016-10-05 21:22:42 -0400", "subject": "Added --dev option to doc.pl to easily add dev keyword to documentation builds." }, { "commit": "16d0e767ef40f22d83166c88bc7177ff01e7fb3c", "date": "2016-10-05 21:15:10 -0400", "subject": "Set application_name to \"pgBackRest [command]\" for database connections.", "body": "Suggested by Jens Wilke." }, { "commit": "0a4099fff87458265a5a14006967c48c3cf912bf", "date": "2016-10-05 21:13:29 -0400", "subject": "Clarified error message when unable to acquire pgBackRest advisory lock to make it clear that it is not a PostgreSQL backup lock.", "body": "Suggested by Jens Wilke." }, { "commit": "5dc801d59db9c8ce2f0872deb13b532b32af80ee", "date": "2016-10-05 09:47:34 -0400", "subject": "Fixed an issue where the async archiver would not be started if archive-push did not have enough space to queue a new WAL segment.", "body": "This meant that the queue would never be cleared without manual intervention (such as calling archive-push directly). PostgreSQL now receives errors when there is not enough space to store new WAL segments but the async process will still be started so that space is eventually freed." }, { "commit": "2a18674111d8ee01e15960dd1fcd0da3282bb38c", "date": "2016-10-05 09:09:30 -0400", "subject": "Added the log-level-stderr option.", "body": "Controls whether console log messages are sent to stderr or stdout. By default this is set to warn which represents a change in behavior from previous versions, even though it may be more intuitive. Setting log-level-stderr=off will preserve the old behavior." }, { "commit": "d81198e65e2cca8272d52cc586dcc76016b91f2d", "date": "2016-10-05 08:55:54 -0400", "subject": "Added the cmd-ssh to allow the ssh client to be specified.", "body": "Suggested by Jens Wilke." }, { "commit": "6f34fbc6957f16719749372d78c014abe9b8a5f7", "date": "2016-10-03 09:15:29 -0400", "subject": "Vagrant build improvements:", "body": "* Minimize TeXLive package list to save time during VM builds.\n* General cleanup and added timestamps.\n* Pin to specific box version." }, { "commit": "07898d33e332aa892e406d2df729c5d900110d41", "date": "2016-10-03 07:28:44 -0400", "subject": "Fixes for archive checks added in 5d033d0:", "body": "* Don't execute pg_is_in_recovery() on PostreSQL < 9.0.\n* Don't check archive_mode or archive_command on the standby." }, { "commit": "1491862716aeff6c3a9434b207dcdaf7962ce387", "date": "2016-10-01 13:39:44 -0400", "subject": "Regression tests can now be run as any properly-configured user, not just vagrant." }, { "commit": "198e498b41e85dfcd3698bfb5a79907f41ca5656", "date": "2016-09-29 19:09:19 -0400", "subject": "Non-exclusive backups will automatically be used on PostgreSQL 9.6.", "body": "This feature carries over from 1.08 but has now been tested with the official 9.6 release." }, { "commit": "156859c5d519b5bb757412a805208b78a46d3832", "date": "2016-09-29 19:07:46 -0400", "subject": "Update CentOS/Debian package definitions." }, { "commit": "3e4ca153cea6750a3efbf1b1a319623afcfee86a", "date": "2016-09-29 18:26:32 -0400", "subject": "Fixed broken vm-max option in test.pl." }, { "commit": "5d033d028c54142c872ca4ce8cef6ac05e9ec55a", "date": "2016-09-28 19:45:33 -0400", "subject": "Archive validation improvements:", "body": "* Fixed error message to properly display the archive command when an invalid archive command is detected.\n* Check that archive_mode is enabled when archive-check option enabled." }, { "commit": "48f968b344138f6309f1203f26ecce7198d453b0", "date": "2016-09-28 12:29:29 -0400", "subject": "Added archive-timeout option documentation to the user guide.", "body": "Contributed by Cynthia Shang." }, { "commit": "76673a8e62636a1cbcd364b4252130b6b5a83bd0", "date": "2016-09-27 18:01:38 -0400", "subject": "Fixed the check command to prevent an error message from being logged if the backup directory does not exist.", "body": "Fixed by Cynthia Shang." }, { "commit": "25f40f9b15f987989b8286da47c631d6e6246abf", "date": "2016-09-17 11:53:28 -0400", "subject": "Log improvements:", "body": "* pgBackRest version number included in command start INFO log output.\n* Process ID logged for local process start/stop INFO log output.\n* Fixed missing expect output for help module." }, { "commit": "d98df8c8cff41970a5549328722d90cbc7f8f19d", "date": "2016-09-14 17:36:43 -0500", "subject": "v1.08: Bug Fixes and Log Improvements" }, { "commit": "69c6afb1dfa3c494f3fd8c3c5d98a8ab5e10a1e2", "date": "2016-09-14 16:40:13 -0500", "subject": "Cache file log output until the file is created to create a more complete log." }, { "commit": "f54145c0ccd4676eebd7184edee4746c02981bfe", "date": "2016-09-14 16:37:07 -0500", "subject": "Fixed timeout issues.", "body": "* Fixed an issue where local processes were not disconnecting when complete and could later timeout. (Reported by Todd Vernick.)\n* Fixed an issue where the protocol layer could timeout while waiting for WAL segments to arrive in the archive. (Reported by Todd Vernick.)" }, { "commit": "e08b56a4e33436d8fdff11020897fc8f73bbaa57", "date": "2016-09-14 16:30:57 -0500", "subject": "Show Process ID in log output instead of filtering it out with the timestamp." }, { "commit": "f253a4d85ce47d5706123ce15c460e068e983595", "date": "2016-09-08 17:29:26 -0400", "subject": "Suppress \"dpkg-reconfigure: unable to re-open stdin: No file or directory\" warning in Vagrant VM build.", "body": "Contributed by John Harvey." }, { "commit": "a8590c9aded9a6603eb0ed64ac1a5792f700e22e", "date": "2016-09-07 08:29:21 -0400", "subject": "v1.07: Thread to Process Conversion and Bug Fixes" }, { "commit": "d2add293c7959d8b1919520f98202f07a0c1cba0", "date": "2016-09-07 08:07:37 -0400", "subject": "Archive retention improvements:", "body": "* Fixed an issue where retention-archive was not automatically being set when retention-archive-type=diff, resulting in a less aggressive than intended expiration of archive.\n* Additional warnings when archive retention settings may not have the intended effect or would allow indefinite retention.\n* Closed #235: \"Retention policy question\" by adding documentation for archive retention." }, { "commit": "0d5a1eaf9efc3e051221cc32b373139cc1a274a6", "date": "2016-09-07 07:20:07 -0400", "subject": "The archive-start and archive-stop settings are now filled in backup.manifest." }, { "commit": "cc9c8819eee1257b08f44eaf43597f5e97833932", "date": "2016-09-06 14:01:39 -0400", "subject": "Make uid/gid selection for containers dynamic." }, { "commit": "cedfcbd4be9be7c37d211731f1b10f5e0d50e25a", "date": "2016-09-06 11:02:01 -0400", "subject": "Update Vagrantfile:", "body": "* Change box provider to bento (hoping for better stability with Docker).\n* Install texlive from Debian packages." }, { "commit": "dd8d7812170c4312654dd12d2c742c1963653a92", "date": "2016-09-06 09:44:50 -0400", "subject": "Safely check eval blocks and convert $@ to $EVAL_ERROR." }, { "commit": "a701309453a7df8f8808f6739e06e357ec0bf63f", "date": "2016-09-06 09:35:02 -0400", "subject": "Converted Perl threads to processes." }, { "commit": "4026ad649d4383c500bd40717e2fb177d01a7692", "date": "2016-09-06 09:15:22 -0400", "subject": "Refactor of protocol minions in preparation for the new local minion." }, { "commit": "f71073c11f413f99f35b3c253f35a0aaed34edfb", "date": "2016-09-04 19:29:30 -0400", "subject": "Improved temp file handling for archiving." }, { "commit": "56ee666e69302b291ec5cc7d04caa25c651d7bfb", "date": "2016-09-04 09:27:56 -0400", "subject": "Suppress TOC for unsupported versions of pgBackRest.", "body": "The intent is to tidy the releases page and nobody should care much about the old, unsupported releases," }, { "commit": "8f61473955e212b605088cfe387c625b40c9863c", "date": "2016-09-04 09:25:20 -0400", "subject": "Improve ASSERT error handling." }, { "commit": "f986e6ae33a5c87da7a8a5f5e5a11b8d4637a172", "date": "2016-09-04 09:22:53 -0400", "subject": "File module improvements.", "body": "* Remove obsolete thread index variable from File() module.\n* Changed temporary file names to consistently use .pgbackrest.tmp." }, { "commit": "bcdb5cdac80372536539c46e12b3d1a5d244f5a9", "date": "2016-09-04 09:19:44 -0400", "subject": "Fixed a issue where tablespaces were copied from the master during standby backup." }, { "commit": "2feaaf225e2200fd92ad7d12a1281080cbb5603f", "date": "2016-09-04 09:13:13 -0400", "subject": "Exclude contents of $PGDATA/pg_replslot directory." }, { "commit": "316da4421ec0780963ab8a32d2fee141ff50122d", "date": "2016-09-03 18:34:38 -0400", "subject": "Experimental support for non-exclusive backups in PostgreSQL 9.6 rc1." }, { "commit": "634f5c6829ce0d4ece466ac2d4c29215b13d6f89", "date": "2016-08-29 14:09:37 -0400", "subject": "Closed #250: Fixed the check command so backup info is checked remotely and not just locally.", "body": "Fixed by Cynthia Shang." }, { "commit": "f6c24039e1d360b9be9b39ed77488212167570b2", "date": "2016-08-29 09:43:22 -0400", "subject": "Fixed minor documentation reproducibility issues related to binary paths." }, { "commit": "be77136eaeca4d0943bd00280afcbe3f5a53a096", "date": "2016-08-25 11:49:09 -0400", "subject": "v1.06: Backup from Standby and Bug Fixes" }, { "commit": "c9bdf6a9ae2f2657ba06eb97a7fbaba38251ef1c", "date": "2016-08-25 11:27:00 -0400", "subject": "Fixed timeout issue.", "body": "The protocol-timeout option was not automatically increased when the db-timeout option was increased." }, { "commit": "5ada189a92813a57b9050dec54ba3ddf69f68bf0", "date": "2016-08-25 11:25:46 -0400", "subject": "Backup from a standby cluster.", "body": "A connection to the primary cluster is still required to start/stop the backup and copy files that are not replicated, but the vast majority of files are copied from the standby in order to reduce load on the master." }, { "commit": "ecf827579edc9dc620a27985c0bd75a1d8cb3d23", "date": "2016-08-25 10:04:46 -0400", "subject": "Improve host tag rendering." }, { "commit": "d0b6f78b20cb7c74b43717a97242fce7160d2604", "date": "2016-08-24 12:39:27 -0400", "subject": "More flexible configuration for databases", "body": "Master and standby can both be configured on the backup server and pgBackRest will automatically determine which is the master. This means no configuration changes for backup are required after failing over from a master to standby when a separate backup server is used." }, { "commit": "cd6278e5af22119cb0c4e3714dc2a66d3cd219c0", "date": "2016-08-24 12:27:48 -0400", "subject": "Revert some backup exclusions until they have been tested more thoroughly." }, { "commit": "9c13ca1d091e38dddcd38656fc8af748e8c19675", "date": "2016-08-24 12:01:08 -0400", "subject": "mprove backup log messages to indicated which host the files are being copied from." }, { "commit": "f1412baccf9ab4b5015d839ae0b598d92dd32586", "date": "2016-08-16 09:35:16 -0400", "subject": "Exclude directories during backup that are cleaned, recreated, or zeroed by PostgreSQL at startup.", "body": "These include (depending on the version where they were introduced): pgsql_tmp, pg_dynshmem, pg_notify, pg_replslot, pg_serial, pg_snapshots, pg_stat_tmp, pg_subtrans. The postgresql.auto.conf.tmp file is now excluded in addition to files that were already excluded: backup_label.old, postmaster.opts, postmaster.pid, recovery.conf, recovery.done." }, { "commit": "332055971e29beb031276d7ce32ad4827dabf6d2", "date": "2016-08-15 20:54:17 -0400", "subject": "Added hints to error message when relative paths are detected in archive-push or archive-get." }, { "commit": "b25f10949a016cc4dc6d2e3ca1c8a63f764059c9", "date": "2016-08-15 20:15:17 -0400", "subject": "Fixed #229: Check fails on target db host.", "body": "Options that should not allow multiple values could be specified multiple times in pgbackrest.conf without an error being raised." }, { "commit": "88d9bd3d37475c907a4fffdbf907deafc0b44bc3", "date": "2016-08-15 17:44:51 -0400", "subject": "Improvements in Db module.", "body": "* Separated out connect() function.\n* Allow executeSql() calls that do not return data.\n* Improve error handling." }, { "commit": "1e0f15f4253319ff141455a46d597d2f387c8ff1", "date": "2016-08-15 17:23:37 -0400", "subject": "Improve error message for links that reference links in manifest build." }, { "commit": "f9fa1270b24e2511717d4b4a3ddbee861bb32760", "date": "2016-08-15 17:11:45 -0400", "subject": "Fixed #236: Recursive user tablespace symlink.", "body": "A tablespace link that referenced another link would not produce an error, but instead skip the tablespace entirely." }, { "commit": "35931305d71186935534b26d0b08c25946decd58", "date": "2016-08-15 16:48:24 -0400", "subject": "Update control version for PostgreSQL beta4." }, { "commit": "17b79d62799ac82876b71d79a57d5e5259a2431d", "date": "2016-08-11 22:35:24 -0400", "subject": "Database version refactoring.", "body": "* Refactor db version constants into a separate module.\n* Update synthetic backup tests to PostgreSQL 9.4." }, { "commit": "bff262ac4791fae834f13ee4c422da8a4e7cdb1d", "date": "2016-08-11 17:32:28 -0400", "subject": "Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__." }, { "commit": "9f19e13095628bf1b654db08ea3eec883c2cc5cd", "date": "2016-08-09 10:06:21 -0400", "subject": "v1.05: Bug Fix for Tablespace Link Checking" }, { "commit": "34afe5e85b682803dec846bfe480c82d3b3ca05c", "date": "2016-08-09 09:05:27 -0400", "subject": "Fixed issue with tablespace link checking.", "body": "* Tablespace paths that had $PGDATA as a substring would be identified as a subdirectories of $PGDATA even when they were not.\n* Also hardened relative path checking a bit." }, { "commit": "af790be34f8cc58c39100f125cff6f539aa47946", "date": "2016-08-02 12:55:09 -0400", "subject": "Added documentation for scheduling backups with cron.", "body": "Contributed by Cynthia Shang." }, { "commit": "730262678a2f250076c1b772cdc4a457dd6708f4", "date": "2016-08-02 12:49:39 -0400", "subject": "Improved rendering of spaces in code blocks." }, { "commit": "f0c97289215174cb95d3b4df89cbf9e13ca03243", "date": "2016-08-02 11:38:12 -0400", "subject": "Moved the backlog from the pgBackRest website to the GitHub repository wiki.", "body": "Contributed by Cynthia Shang." }, { "commit": "277934447b0f4602260978ecb12d2e3d580632df", "date": "2016-07-30 09:42:35 -0400", "subject": "v1.04: Various Bug Fixes" }, { "commit": "f2b3dda647c9abc487a099876fa0b03f7cd4fa53", "date": "2016-07-30 08:49:26 -0400", "subject": "Fixed an issue where a remote could try to start its own remote.", "body": "This is a better approach than 93320b8 (reverted in this commit) because it ensures that the remote type will be none so any functions that utilize optionRemoteTypeTest will work correctly.\n\nThis bug was only an issue when backup-host was not properly configured on the database host." }, { "commit": "94a4cb4123c9a300d66e1f34b666bba84f4d727b", "date": "2016-07-30 08:43:38 -0400", "subject": "Disable control master for older OS versions where it is less stable." }, { "commit": "1b6b26956ab2d0ee7957d48b148b080376c0a3fe", "date": "2016-07-29 18:46:19 -0400", "subject": "Reduce the frequency that certain tests are run to save time in regression." }, { "commit": "ac23716d26aaa14470f1ff8307dfe6010e0c3c05", "date": "2016-07-29 18:46:19 -0400", "subject": "Enhancements to the protocol layer for improved reliability and error handling." }, { "commit": "b44786321889a2f7599c505c9f7b1b3726810dff", "date": "2016-07-29 18:46:19 -0400", "subject": "Exceptions are now passed back from threads as messages when possible rather than raised directly." }, { "commit": "93320b865e891701dea7383166f8bca6117d5efc", "date": "2016-07-29 18:45:37 -0400", "subject": "Fixed a issue where a remote could try to start its own remote." }, { "commit": "af5965a6ef9ebe76a1b5ff5c6a82fdaa5f4d3658", "date": "2016-07-29 18:45:23 -0400", "subject": "Fixed an invalid log call in lock routines." }, { "commit": "a3b8808f94cb8ca6931517002cf30c8b3987357b", "date": "2016-07-29 18:44:53 -0400", "subject": "Fixed an issue where the contents of pg_xlog were being copied if the directory was symlinked." }, { "commit": "ef33febfb73f449085d6f3da9b0bd6157560e52f", "date": "2016-07-29 18:43:59 -0400", "subject": "Temp files created during backup are now placed in the same directory as the target file." }, { "commit": "95bbc8ad544cac4a95a90f94de2ca8856811dc37", "date": "2016-07-29 18:02:16 -0400", "subject": "Fixed an issue where multi-threaded tests were not being run when requested." }, { "commit": "6e9d5f5bd31c835bf6aa7058c3c00a160d56b6c8", "date": "2016-07-29 14:02:11 -0400", "subject": "Fixed check command to throw an error when database version/id does not match that of the archive.", "body": "Fixed by Cynthia Shang." }, { "commit": "f95d4af64a9e7cee15e190704fa9b4522f08e31e", "date": "2016-07-26 18:50:58 -0400", "subject": "Closed #220: Installation documentation misinformation.", "body": "Updated information about package availability on supported platforms." }, { "commit": "ee80b7b255edeac3513781a6d77c84d916832baf", "date": "2016-07-26 18:30:25 -0400", "subject": "Added clarification on why the default for the backrest-user option is backrest." }, { "commit": "18447569906f915c7801e9ac07500e6d72c8482d", "date": "2016-07-26 17:40:42 -0400", "subject": "Closed #209: Don't use \"localtime\" for HTML-docs.", "body": "HTML footer dates are statically created in English in order to be reproducible." }, { "commit": "273d1c08d8cae647afe1b228a865de9a92177cd1", "date": "2016-07-26 16:57:38 -0400", "subject": "Improved remote error messages to identify the host where the error was raised." }, { "commit": "bc5c04ffe71faed09519e0bfff1f9ef579fc5aae", "date": "2016-07-26 16:39:01 -0400", "subject": "Updated control/catalog/WAL versions for 9.6 beta3." }, { "commit": "b6ac6b0f1c0d011ada945d9d027c67923a98173b", "date": "2016-07-26 16:28:43 -0400", "subject": "Suppress banners on SSH protocol connections." }, { "commit": "f31ec20fcb249027a4aa455a9193eee40842497d", "date": "2016-07-26 16:21:14 -0400", "subject": "Reduce calls to protocolGet() in backup/restore." }, { "commit": "98a67792ecd02c05511de7ec9c1830a200326ea7", "date": "2016-07-26 16:14:15 -0400", "subject": "Output lock file name when a lock cannot be acquired to aid in debugging." }, { "commit": "d96b1a0dbc86fab538bf1be53825675774e9cbc9", "date": "2016-07-26 16:12:38 -0400", "subject": "All remote types now take locks.", "body": "The exceptions date to when the test harness and pgBackRest were running in the same VM and no longer apply." }, { "commit": "095351f145003c62b24770e8a5ef96ec6125e624", "date": "2016-07-26 16:08:05 -0400", "subject": "Fixed #219: Unable to acquire restore lock.", "body": "Fixed an issue an where an extraneous remote was created causing threaded backup/restore to possibly timeout and/or throw a lock conflict." }, { "commit": "5893c3cd2e7e6dd77283b17d59a5e72c34f6dec7", "date": "2016-07-19 15:26:41 -0400", "subject": "Fixed an issue where db-path was not required for the check command so an assert was thrown when it was missing rather than a polite error message.", "body": "Reported by Michael Vitale." }, { "commit": "9ae6c01432ba66f5b2b743394af0ac00908a0ea9", "date": "2016-07-19 15:22:20 -0400", "subject": "Fixed a version checking issue in test.pl." }, { "commit": "6e528080650dda98109d2bc31c48197804a29eda", "date": "2016-07-02 11:08:25 -0400", "subject": "Added release.pl to make releases reproducible." }, { "commit": "1b62354dcb6cd815fc8a5b235b0aaf52eb85a692", "date": "2016-07-02 10:22:52 -0400", "subject": "v1.03: Check Command and Bug Fixes" }, { "commit": "186ca18659f42e1cc287f0737db0f2138fa3dc54", "date": "2016-07-02 09:19:10 -0400", "subject": "Update WAL/catalog versions for 9.5 beta 2." }, { "commit": "5df2eed72916bc68dbf2bb0d772b4a5e3fcfbe55", "date": "2016-07-02 09:07:48 -0400", "subject": "Order database versions during test.pl --vm-build." }, { "commit": "418039027b32c680680f83183dabb1f7e1adbcb4", "date": "2016-07-02 09:02:55 -0400", "subject": "Closed #213: Archive command should not be validate when archive-check=n" }, { "commit": "0f2eb424bb6d53f2c6619f70535706e649f7c9a9", "date": "2016-07-02 08:59:11 -0400", "subject": "Fix for container build in Vagrantfile." }, { "commit": "9f9396943f20e00157b53494bc074d355456b689", "date": "2016-06-30 19:38:28 -0400", "subject": "Added documentation for asynchronous archiving.", "body": "Also removed some obsolete sections." }, { "commit": "304d890f6c0ead8d49cf8f31fcef9f918904896a", "date": "2016-06-27 23:07:47 -0400", "subject": "Release note edits." }, { "commit": "9516db4ad660a4be29fd43b34ab9e0ef848daaf8", "date": "2016-06-27 20:37:25 -0400", "subject": "Closed #209: Don't use \"localtime\" for HTML-docs.", "body": "The release-date-static var has been added to allow the html footer to use the last release date instead of localtime()." }, { "commit": "cc2a8777d5efdaebfc17b053f747e8683a8ce3b1", "date": "2016-06-26 21:01:20 -0400", "subject": "User/group permissions improvements.", "body": "Improved handling of users/groups captured during backup that do not exist on the restore host. Also explicitly handle the case where user/group is not mapped to a name." }, { "commit": "b571218930c4ef5578e2c42f73c3e24bcfaba216", "date": "2016-06-26 20:53:45 -0400", "subject": "Minor refactor of version variable to a constant.", "body": "It had originally been designed to play nice with a specific packaging tool but that tool was never used." }, { "commit": "6ee485cc76ec05421ac4f45e50cd90911739163d", "date": "2016-06-24 13:16:07 -0400", "subject": "Added more keep-alives.", "body": "Keep-alives were also missing from multi-threaded backup/restore and single-threaded restore." }, { "commit": "bd25223fd6167ef2e1cc4e9788de46371a647572", "date": "2016-06-24 10:54:31 -0400", "subject": "Rename test paths for clarity.", "body": "This was worked out as part of the test suite refactor [c8f806a] but not committed with it because of the large number of expect logs changes involved. Keeping them separate made it easier to audit the changes in the refactor." }, { "commit": "c8f806a293813323affea96c73b1aa177a0ac15a", "date": "2016-06-24 08:12:58 -0400", "subject": "Major refactor of the test suite.", "body": "* Make the code more modular and object-oriented.\n* Multiple Docker containers can now be created for a single test to simulate more realistic environments." }, { "commit": "23a39118301384d939f431a344a724c8fc39f5e0", "date": "2016-06-24 08:06:20 -0400", "subject": "Stop using pg_xlogfile_name().", "body": "The pg_xlogfile_name() function is no longer used to construct WAL filenames from LSNs. While this function is convenient it is not available on a standby. Instead, the archive is searched for the LSN in order to find the timeline. If due to some misadventure the LSN appears on multiple timelines then an error will be thrown, whereas before this condition would have passed unnoticed." }, { "commit": "41b27c0456793694316daa882ffbd2209fd249c3", "date": "2016-06-22 18:01:18 -0400", "subject": "Protocol timeout option and keep-alive fixes.", "body": "* Fixed an issue where keep-alives could be starved out by lots of small files during multi-threaded operation and were completely absent during single-threaded operation when resuming from a previous incomplete backup.\n\n* Added the protocol-timeout option. Previously protocol-timeout was set as db-timeout + 30 seconds.\n* Failure to shutdown remotes at the end of the backup no longer throws an exception. A warning is still generated that recommends a higher protocol-timeout." }, { "commit": "4cff5bb0e69f03f047f8e8fe96a9ea336d7b4f31", "date": "2016-06-18 10:59:45 -0400", "subject": "Fixed pgBackRest config sections being blank in the output when not loaded from cache." }, { "commit": "012405a33b01a3f215a0ee610a2648c5f5afb0f6", "date": "2016-06-18 09:55:00 -0400", "subject": "Closed #207: Expire fails with unhandled exception.", "body": "* Fixed an issue where the expire command would refuse to run when explicitly called from the command line if the db-host option was set. This was not an issue when expire was run after a backup, which is the usual case.\n* Option handling is now far more strict. Previously it was possible for a command to use an option that was not explicitly assigned to it. This was especially true for the backup-host and db-host options which are used to determine locality." }, { "commit": "e988b96eceafd1619d2f8c51c94e38523a051f54", "date": "2016-06-18 09:22:26 -0400", "subject": "Fixed issue in doc info output with --require.", "body": "Section names were being repeated in the info output when multiple --require options depended on the same sections." }, { "commit": "cb32a8ab1f1aa2f71070cfd61c70d7fb4933abb4", "date": "2016-06-13 11:18:06 -0400", "subject": "VM build improvements.", "body": "* Properly set user env before calling test.pl --vm-build.\n* Remove squid proxy made obsolete by more efficient builds." }, { "commit": "7e45ed8366f8933a0e8f52b5777f6618d57766a2", "date": "2016-06-12 09:13:46 -0400", "subject": "Added check command.", "body": "The check command validates that pgBackRest is configured correctly for archiving and backups." }, { "commit": "7c9eaf7210181ca806c1e8b477bc8a0df8d4af3a", "date": "2016-06-12 09:01:56 -0400", "subject": "Add cmd-description tag.", "body": "Allow command summaries to be inserted anywhere in the documentation to avoid duplication." }, { "commit": "f1e92804cef8e2fa7f85d231aaf5d5710130bee9", "date": "2016-06-12 09:00:16 -0400", "subject": "Docker container improvements.", "body": "* Containers now use a squid proxy for apt/yum to speed builds.\n* Obsolete containers are removed by the --vm-force option.\n* Greatly reduced the quantity of Docker containers built by default. Containers are only built for PostgreSQL versions specified in db-minimal and those required to build documentation. Additional containers can be built with --db-version=all or by specifying a version, e.g. --db-version=9.4." }, { "commit": "3d761b726aeb243ffda53e6c8d122aa9d323ac32", "date": "2016-06-10 21:22:36 -0400", "subject": "Update TeX Live to 2016 version." }, { "commit": "5660f69859f02be53b328f7b7773b651ba4e13c1", "date": "2016-06-06 13:27:52 -0400", "subject": "Fixed DTDs not being loaded from test.pl." }, { "commit": "3f7ca876c255f7e3af772cf374ba9bc44a2be701", "date": "2016-06-04 12:24:31 -0400", "subject": "PostgreSQL version is now a variable to allow multi-version documentation." }, { "commit": "bfed78ef42599ea5c7e883b16efef973ee84b23a", "date": "2016-06-04 12:04:09 -0400", "subject": "New, consolidated implementation for link rendering." }, { "commit": "1ddfb1e453aef26590b649c77330d5206978917d", "date": "2016-06-04 11:40:33 -0400", "subject": "Fixed pgBackRest-specific xml that was loaded for non-pgBackRest projects." }, { "commit": "8ddfab0cbc646bfd11fcee1b4a47d3a3b617ae7a", "date": "2016-06-04 11:38:23 -0400", "subject": "Fixed DTD search path.", "body": "The search path that did not work properly when --doc-path was used." }, { "commit": "e796f563c4af7a265a1f8ecd94e7f3f795a78839", "date": "2016-06-03 20:07:28 -0400", "subject": "Add cmd-extra field.", "body": "Allow hidden options to be added to a command. This allows certain commands (like apt-get) to be forced during the build without making that a part of the documentation." }, { "commit": "36cf0b18f5c7db870f8b0338ee43e84c32ad4661", "date": "2016-06-03 18:59:12 -0400", "subject": "Update installation documentation.", "body": "* Recommended install location for pgBackRest modules is now /usr/share/perl5 since /usr/lib/perl5 has been removed from the search path in newer versions of Perl.\n\n* Added instructions for removing prior versions of pgBackRest." }, { "commit": "bfaee7380d6aa0a4a4573df2a6a28581537d169b", "date": "2016-06-02 11:10:24 -0400", "subject": "v1.02: Bug Fix for Perl 5.22" }, { "commit": "eaa981c5aae6b3d8a04fd2d518f180be0921ba4c", "date": "2016-06-02 09:32:56 -0400", "subject": "Added execution cache for document generation.", "body": "Added an execution cache so that documentation can be generated without setting up the full container environment. This is useful for packaging, keeps the documentation consistent for a release, and speeds up generation when no changes are made in the execution list." }, { "commit": "df6086bd24ce9d9322e5c048e5337719e9a43a0a", "date": "2016-06-02 09:25:12 -0400", "subject": "Added a man page to document generation." }, { "commit": "9a9f26a96f0365b0223231f74426602edb5caad9", "date": "2016-05-27 18:36:25 -0400", "subject": "Some wordsmithing in the introduction." }, { "commit": "174b16165b2cd555fd63a6516520900089d643ab", "date": "2016-05-26 16:57:35 -0400", "subject": "Replaced overzealous perl -cW check.", "body": "It failed on Perl 5.22 so replaced with with perl -cw." }, { "commit": "379ab1b3533c525d87b2dacd34ac7d3a9796305e", "date": "2016-05-26 15:04:18 -0400", "subject": "Improve log directory/file creation.", "body": "Log directory create and file open now using FileCommon functions which produce more detailed error messages on failure." }, { "commit": "e4e885d602781afd42f78c74378af2e78e0a4d27", "date": "2016-05-26 14:22:26 -0400", "subject": "Add notes for Ubuntu 16.04 upgrade." }, { "commit": "cf344c144f6c12cca2950429ce61ae075f69d902", "date": "2016-05-26 14:17:50 -0400", "subject": "Fixed absolute paths that were used for the PDF logo." }, { "commit": "b19143b6eaf0a04f921c791a7e62e2aa4f367547", "date": "2016-05-26 14:07:29 -0400", "subject": "Fixed syntax in doc code that was not compatible with Perl 5.2X." }, { "commit": "28f1c927e715b55aa4b5dcba936a6f6c03d46ed5", "date": "2016-05-26 14:03:32 -0400", "subject": "Upgrade doc/test VM to Ubuntu 16.04.", "body": "* This will help catch Perl errors in the doc code since it is not run across multiple OSs like the core and test code.\n* It is to be hoped that a newer kernel will make Docker more stable." }, { "commit": "3d437d9278488d25b30da828a173042774c0e009", "date": "2016-05-26 11:23:52 -0400", "subject": "Fix usage of sprintf() for Perl 5.22.", "body": "Parameters not referenced in the format string are no longer allowed." }, { "commit": "b1c779e606bf6d7e1a30c338694ae628fbac853b", "date": "2016-05-26 11:04:19 -0400", "subject": "Next development cycle." }, { "commit": "bfec2d2f89a0e746d145bd896b8f9c4ba02dde9d", "date": "2016-05-26 11:03:10 -0400", "subject": "Fixed release version test when the current version is development." }, { "commit": "c8d68bcf2d33b206634d0d537ef6d4bfb84229ba", "date": "2016-05-26 10:34:10 -0400", "subject": "More detailed release notes.", "body": "Release notes are now broken into sections so that bugs, features, and refactors are clearly delineated. An \"Additional Notes\" section has been added for changes to documentation and the test suite that do not affect the core code." }, { "commit": "0fb8bcbfb7107b83c345dac1858aab02eeeb4302", "date": "2016-05-26 09:34:03 -0400", "subject": "Lists can now be used outside of p and text tags.", "body": "This allows for more flexible document structuring." }, { "commit": "5a85122841ff38bea5b7b3d02a5d8ace40a4e81f", "date": "2016-05-26 09:20:55 -0400", "subject": "Moved change log to website.", "body": "The change log was the last piece of documentation to be rendered in Markdown only. Wrote a converter so the document can be output by the standard renderers. The change log will now be located on the website and has been renamed to \"Releases\"." }, { "commit": "e2094c3d312a69544cd144e4758508c7966075b8", "date": "2016-05-26 09:09:42 -0400", "subject": "Remove function constants and pass strings directly to logDebugParam().", "body": "The function names were only used once so creating constants for them was wasteful." }, { "commit": "e7d4a25d6a5613b89e3186517f6d4888b3ed9faa", "date": "2016-05-24 08:17:13 -0400", "subject": "Added Ubuntu 16.04 and Debian 8 to regression tests.", "body": "Also added some new fields to make container generation simpler for distros that share a common package base." }, { "commit": "f2a14a06e5a3b9b702cdbcf5f7cfdfb0acfa6e51", "date": "2016-05-23 20:04:36 -0400", "subject": "Moved version checking code so it doesn't run in containers.", "body": "The required modules were not loaded so errors were occurring during regression tests." }, { "commit": "c604b6e657a0ff195d291d6b7f972ef02f508011", "date": "2016-05-23 19:33:02 -0400", "subject": "Test release version using change-log.xml instead of CHANGELOG.md.", "body": "This is in preparation for moving the change log to the website and removing it from Github." }, { "commit": "3af48f1d7818287d9e4443748becc63b86958ab7", "date": "2016-05-20 11:18:51 -0400", "subject": "Initialize local variable variable immediately, per Perl Critic." }, { "commit": "c9632e987437031d40765019bd6ee279cb101197", "date": "2016-05-19 17:10:34 -0400", "subject": "Closed #195: Added type from source node in manifest.xml.", "body": "This parameter `allows the doc code to determine if special handling is needed for the xml document." }, { "commit": "3a309256fa9547f8a26fe0563a873a5be1385c2f", "date": "2016-05-19 10:25:04 -0400", "subject": "Closed #193: Fix perl warnings in doc/ tree.", "body": "Somewhere between perl 5.14 and 5.20, constructs like this:\n perl -e '$a = {}; keys $a'\nstarted to throw warnings:\n keys on reference is experimental at -e line 1.\n\nFix by adding a bunch of %{} and @{} casts." }, { "commit": "b710c016302d8d29c502aab5688197bf9a664131", "date": "2016-05-17 01:04:01 -0400", "subject": "v1.01: Enhanced Info, Selective Restore, and 9.6 Support" }, { "commit": "0451d3afddfd6af2b6d32c2aba898e13f4cd170a", "date": "2016-05-16 17:59:26 -0400", "subject": "Support for non-exclusive backups in PostgreSQL 9.6." }, { "commit": "28c5e54b09c5428c53f43a8e6b9b2c2ce727ad09", "date": "2016-05-16 17:01:48 -0400", "subject": "Added SEO and sharing features to the website.", "body": "Descriptions wordsmithed (for better or worse) by committer." }, { "commit": "48eecc2c04d59f74755d7f4db2b73da8e9e29ce6", "date": "2016-05-16 16:49:54 -0400", "subject": "Added vim to test virtual machine." }, { "commit": "9b5a27f6578b7041d72f8527e71c35aa60c0e8ab", "date": "2016-05-14 10:39:56 -0400", "subject": "Add Manifest->addFile().", "body": "Some files need to be added to the manifest after the initial build. This is currently done in only one place but usage will expand in the future so the functionality has been encapsulated in addFile()." }, { "commit": "77b01e980fc82d81585531bd688d8a32bed759d5", "date": "2016-05-14 10:36:35 -0400", "subject": "Make the initial capital for hints consistent.", "body": "Some hints started with a capital letter and others did not. Make them all lower case for consistency." }, { "commit": "512d006346a06ef2eaf7af7ac2863a2c1a62f3de", "date": "2016-05-14 10:33:12 -0400", "subject": "Refactor database version identification for archive and backup commands.", "body": "Added database version constants and changed version identification code to use hash tables instead of if-else. Propagated the db version constants to the rest of the code and in passing fixed some path/filename constants.\n\nAdded new regression tests to check that specific files are never copied." }, { "commit": "4d9920cc48d871035a9a601095c6700510dd5388", "date": "2016-05-14 10:29:35 -0400", "subject": "Fix null and linefeed handling in Db->executeSql().", "body": "The join() used was not able to handle nulls and was replaced by a loop. An injudicious trim was removed when the source of extra linefeeds was determined to be an additional loop execution that was not handled correctly." }, { "commit": "0c320e7df77a63e3bbebf43dc931b5884531a772", "date": "2016-05-11 09:21:39 -0400", "subject": "Allow selective restore of databases from a cluster backup.", "body": "This feature can result in major space and time savings when only specific databases are restored. Unrestored databases will not be accessible but must be manually dropped before they will be removed from the shared catalogue." }, { "commit": "e430f0a05439ff851d3c4fa8b5a19cd1c743b945", "date": "2016-05-11 08:59:34 -0400", "subject": "Added `--db-version=minimal` option as default.", "body": "This change assigns each version of PostgreSQL to a specific OS version for testing to minimize the number of tests being run. In general, older versions of PostgreSQL are assigned to older OS versions.\n\nThe old behavior can be enabled with `--db-version=all`." }, { "commit": "a6a19e3735f5edfa449fe351372b9d4be625d03e", "date": "2016-05-10 18:12:37 -0400", "subject": "Test directories are now located on the host VM rather than in the Docker container.", "body": "This change allows for easier testing since all files are local on the host VM and can be easily accessed without using `docker exec`. In addition, this change is required to allow multiple Docker containers per test case which is coming soon." }, { "commit": "60b901948af90126700685b5424f332a490d1ad1", "date": "2016-05-06 10:25:46 -0400", "subject": "Enhanced text output of info command to include timestamps, sizes, and the reference list for all backups." }, { "commit": "7b64843221277d4afb7a6a2c8ac4222faf7c551b", "date": "2016-05-06 09:37:01 -0400", "subject": "Added trim() to process id read from lock file.", "body": "The prior way worked fine but added extraneous linefeeds to the log output." }, { "commit": "c477d6f8998f9e8fa8d7015b1c850e1332ab00cc", "date": "2016-05-05 18:13:50 -0400", "subject": "Next development cycle." }, { "commit": "6cd1c42ddc19f2511f159ea1ccdcc5469f728594", "date": "2016-05-03 16:28:20 -0400", "subject": "Add usage documentation for test.pl." }, { "commit": "7b030c5173b6d67c72b3efe54b3542ae3d694432", "date": "2016-05-03 16:12:44 -0400", "subject": "User Guide clarifications." }, { "commit": "afc8a76ee9ed26738f8b0777a14e5084e9087d20", "date": "2016-04-25 16:33:08 -0400", "subject": "Fixed typos in user guide." }, { "commit": "226d266d087b1d686e2171aa6f20ab216ef63e97", "date": "2016-04-17 11:43:33 -0400", "subject": "Added current stable release to documentation." }, { "commit": "0d34c34cea1d8cca005e659e03c1520792b5c6a1", "date": "2016-04-17 11:27:19 -0400", "subject": "Added feature backlog.", "body": "This backlog is intended to hold long-lived feature requests that clutter up the issues area on Github." }, { "commit": "7bdfa7839a1fa260b857bcde9a7e91414d7196e6", "date": "2016-04-17 09:32:03 -0400", "subject": "Minor wording change: problems => challenges." }, { "commit": "7bd9b28ff4e5c296ff5c76b0259b40fe90c58b54", "date": "2016-04-17 08:23:09 -0400", "subject": "Expanded feature bullet points into a new section with detailed explanations.", "body": "Copy editing by John Harvey (@crunchyjohn), Jason O'Donnell (@Dwaligon), and Stephen Frost (@sfrost)." }, { "commit": "ed20c2eda3790b6a327f05a1c08761cdec38f8eb", "date": "2016-04-16 16:38:44 -0400", "subject": "Close #172: Unable to unpack Int64 when running on 32-bit OS", "body": "Added a note to documentation that only 64-bit distributions are supported. It seems unlikely that anybody would be running a production server on anything else these days so we'll wait for a field report before taking further action." }, { "commit": "dee3e86ff8444689f427147e9199070b8bb46ab3", "date": "2016-04-16 11:55:23 -0400", "subject": "README.md is now rendered by new Markdown code." }, { "commit": "ad8ad11e4f555fb5b50c963eb6a61eae642e6750", "date": "2016-04-16 11:11:29 -0400", "subject": "Update URLs for new Github org." }, { "commit": "9ab0dd80f70cc69a6edc9e61b6053752a789fde3", "date": "2016-04-14 23:04:20 -0400", "subject": "v1.00: New Repository Format and Configuration Scheme, Link Support" }, { "commit": "9457e15347b05b4565074a3455f9edc4d1edaae3", "date": "2016-04-14 22:50:02 -0400", "subject": "New manifest format.", "body": "* All files and directories linked from PGDATA are now included in the backup. By default links will be restored directly into PGDATA as files or directories. The --link-all option can be used to restore all links to their original locations. The --link-map option can be used to remap a link to a new location.\n\n* Removed --tablespace option and replaced with --tablespace-map-all option which should more clearly indicate its function.\n\n* Added detail log level which will output more information than info without being as verbose as debug." }, { "commit": "9a7d8b26cceb435d69378dd4bdc4eab74af11167", "date": "2016-04-14 13:50:58 -0400", "subject": "Fixed some inaccurate statements in the user guide. Fixed typo in documentation code comments." }, { "commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba", "date": "2016-04-14 09:30:54 -0400", "subject": "New simpler configuration and consistent project/exe/path naming.", "body": "* The repo-path option now always refers to the repository where backups and archive are stored, whether local or remote, so the repo-remote-path option has been removed. The new spool-path option can be used to define a location for queueing WAL segments when archiving asynchronously. Otherwise, a local repository is no longer required.\n\n* Implemented a new config format which should be far simpler to use. See the User Guide and Configuration Reference for details but for a simple configuration all options can now be placed in the stanza section. Options that are shared between stanzas can be placed in the [global] section. More complex configurations can still make use of command sections though this should be a rare use case.\n\n* The default configuration filename is now pgbackrest.conf instead of pg_backrest.conf. This was done for consistency with other naming changes but also to prevent old config files from being loaded accidentally.\n\n* The default repository name was changed from /var/lib/backup to /var/lib/pgbackrest.\n\n* Lock files are now stored in /tmp/pgbackrest by default. These days /run/pgbackrest would be the preferred location but that would require init scripts which are not part of this release. The lock-path option can be used to configure the lock directory.\n\n* Log files are now stored in /var/log/pgbackrest by default and no longer have the date appended so they can be managed with logrotate. The log-path option can be used to configure the lock directory.\n\n* Executable filename changed from pg_backrest to pgbackrest." }, { "commit": "885797e4b58a675487a3531ba16908c1d1e9f970", "date": "2016-04-13 19:09:35 -0400", "subject": "Migrated many functions from File.pm to FileCommon.pm.", "body": "This makes make the migrated file functions available to parts of the code that don't have access to a File object. They still exist as wrappers in the File object to support remote calls." }, { "commit": "be8487dbad8a52f8b1f5083e3d7e2e3e47140dce", "date": "2016-04-13 19:05:31 -0400", "subject": "Changed some TBD comments from urgent to whenever." }, { "commit": "723abadb750c78b661c9d29404455d4a95cfc7aa", "date": "2016-04-13 18:55:34 -0400", "subject": "Change spacing in expect logs to accommodate DETAIL level." }, { "commit": "64b2858bb50c6b5f5f3cc6934c6dab671c203bbe", "date": "2016-04-13 18:47:29 -0400", "subject": "Test VM build improvements.", "body": "* Specific VMs can now be built by using --vm along with --vm-build.\n* Docker caching can be disabled with --vm-force.\n* ControlMaster is now used for al VMs to improve test speed." }, { "commit": "0e4fdda6d8f7da0b737f2ffd3f0d1ad9ec3a33ab", "date": "2016-04-12 15:50:25 -0400", "subject": "Improved error handling when remote closes unexpectedly.", "body": "In conditions where an error is known to have occurred wait to try and capture the error in the first call that detects the error. Due to timing sometimes the error could be caught later, which worked, but it made the functionality inconsistent in testing." }, { "commit": "8adbcccd02d133f9650486019911f41afe80100d", "date": "2016-04-06 10:00:11 -0400", "subject": "Closed #184: Change test/log directory to test/expect.", "body": "This should make it clearer that these are expect logs for regression testing." }, { "commit": "aacc369e4fc5ff40c8731f47303c547934315988", "date": "2016-04-06 09:41:33 -0400", "subject": "Next development cycle." }, { "commit": "5307c858a7007c9b17f63aaef0439ac951d8741a", "date": "2016-04-06 09:14:06 -0400", "subject": "v0.92: Command-line Repository Path Fix" }, { "commit": "1ce9961f8a65e0e127418905c54a11736e8b6ad3", "date": "2016-04-06 08:57:46 -0400", "subject": "Closed #183: Options --repo-path and --repo-remote-path ignored in archive-push.", "body": "Fixed an issue where the master process was passing --repo-remote-path instead of --repo-path to the remote and causing the lock files to be created in the default repository directory (/var/lib/backup), generally ending in failure. This was only an issue when --repo-remote-path was defined on the command line rather than in pg_backrest.conf." }, { "commit": "1bbf3e6db4d4e1d43b03e75b3eb308565a700952", "date": "2016-03-22 22:18:33 -0400", "subject": "Fixed #181: Missing semicolon violates code style." }, { "commit": "1d4779cfe6645bcfe508cd117c3f77146164066f", "date": "2016-03-22 10:23:20 -0400", "subject": "Next development cycle." }, { "commit": "aea14c85531b564777e60ce4a6259a22413fae10", "date": "2016-03-22 10:16:42 -0400", "subject": "v0.91: Tablespace Bug Fix and Minor Enhancements" }, { "commit": "d4899141734a4ae1abe52721d7f32f2148e05579", "date": "2016-03-22 09:57:39 -0400", "subject": "Closed #180: Backup format regression in v0.90." }, { "commit": "c669dc01e957701161ea7a7ff15392157451d750", "date": "2016-03-10 10:58:07 -0500", "subject": "Fixed url references in latex documentation to use \\href instead of \\hyperref." }, { "commit": "87dd0a127ffc4a55aeefca16ebf740b0e12a1731", "date": "2016-03-09 11:27:08 -0500", "subject": "Clarification for delta restore documentation to indicate that files may be removed." }, { "commit": "004067a5fab8d7d91e24503cd560c319feccb08f", "date": "2016-03-08 09:29:03 -0500", "subject": "Correct retention-diff example value in documentation." }, { "commit": "0b317d9040d33c46f466155f9873757c11517884", "date": "2016-02-27 10:11:58 -0500", "subject": "Fix minor bug in protocol compression.", "body": "This erroneous last caused a warning (which threw an error) and masked the error in decompression. It was found when accidentally attempting to decompress an already-decompressed file, so not a big deal in practice which is probably why it hug around for so long." }, { "commit": "d4c46acf489910ccf248f7e04438a8108647d03a", "date": "2016-02-23 09:39:37 -0500", "subject": "Working on #174: Get Perl Critic to pass on stern", "body": "Added single exception for the violation of BuiltinFunctions::ProhibitStringyEval and removed from policy file." }, { "commit": "048571e23fc9e5b0756c0f19590fe4b74706a01e", "date": "2016-02-23 09:25:22 -0500", "subject": "Closed #173: Add static source code analysis", "body": "Perl Critic added and passes on gentle. A policy file has been created with some permanent exceptions and a list of policies to be fixed in approximately the order they should be fixed in." }, { "commit": "d35ab82a83895049ea542b3a53b2e90f9428d176", "date": "2016-02-19 19:32:02 -0500", "subject": "Closed #167: Rename `--no-start-stop` option to `--no-online`." }, { "commit": "fb63a981cb89b7741120d87be78f7ffd38c4d5de", "date": "2016-02-14 20:42:11 -0500", "subject": "Closed #166: Copy global/pg_control last during backup." }, { "commit": "053f25d870836c001fd826927fa32b5d4ef97a58", "date": "2016-02-11 21:42:27 -0500", "subject": "Closed #170: Write .info and .manifest files to temp before moving to final location and syncing" }, { "commit": "17cbab524aa8e4ef541253aa5923afffb8f98820", "date": "2016-02-11 21:40:43 -0500", "subject": "Combine chmod commands in tests for efficiency." }, { "commit": "f360d5072e6a7ec29489a72732783153ba0c4a92", "date": "2016-02-07 11:20:43 -0500", "subject": "Next development cycle." }, { "commit": "631535ae4fc443102cac0f2da5bdc8fb2671468e", "date": "2016-02-07 10:47:16 -0500", "subject": "v0.90: 9.5 Support, Various Enhancements, and Minor Bug Fixes" }, { "commit": "de9b6d5133c5fbbb02cb0c8b7d4596843a2d3545", "date": "2016-02-06 16:49:12 -0500", "subject": "Closed #113: Better error message when repo does not exist." }, { "commit": "f8b47997a314ed6502b915a0514b20ac23598dab", "date": "2016-02-05 23:03:29 -0500", "subject": "Closed #127: More sanity checking for --delta restores", "body": "Added checks for `--delta` and `--force` restore options to ensure that the destination is a valid $PGDATA directory. pgBackRest will check for the presence of `PG_VERSION` or `backup.manifest` (left over from an aborted restore). If neither is found then `--delta` and `--force` will be disabled but the restore will proceed unless there are files in the $PGDATA directory (or any tablespace directories) in which case the operation will be aborted." }, { "commit": "5c815e4fc0e2c8a9ea162963f32d5679d54fc852", "date": "2016-02-02 14:33:15 -0500", "subject": "Closed #58: Get catalog number for better tablespace copying", "body": "When backing up and restoring tablespaces pgBackRest only operates on the subdirectory created for the version of PostgreSQL being run against. Since multiple versions can live in a tablespace (especially during a binary upgrade) this prevents too many files from being copied during a backup and other versions possibly being wiped out during a `--delta` restore. This only applies to PostgreSQL >= 9.0 -- before that only one PostgreSQL version could use a tablespace." }, { "commit": "24a1ad31d0dfcd8c72a71c589902446a9da75e11", "date": "2016-02-02 11:57:46 -0500", "subject": "Minor rewording in user guide." }, { "commit": "02405e851cc6f1941f0de8001cdf6829d6fa06c0", "date": "2016-01-22 18:01:21 -0500", "subject": "Closed #163: Document Generation Issue", "body": "Fixed an issue where document generation failed because some OSs are not tolerant of having multiple installed versions of PostgreSQL. A separate VM is now created for each version. Also added a sleep after database starts during document generation to ensure the database is running before the next command runs." }, { "commit": "bacdd5583dc7dfc807c385789b26e346db6c219a", "date": "2016-01-22 14:38:48 -0500", "subject": "User guide highlighting fixes for #93." }, { "commit": "e42b8de618b0a8bd003d8b62eefadf7ed0aee34f", "date": "2016-01-20 21:45:03 -0500", "subject": "Updated Copyright for 2016." }, { "commit": "83b1a3cb4446fb59d1295706a547b41fc5bd84be", "date": "2016-01-20 21:28:40 -0500", "subject": "Closed #150: Fixed an issue where a temp WAL file left over after a well-timed system crash could cause the next `archive-push` to fail." }, { "commit": "747346db674705d7db15e8f9293016b00875b4d5", "date": "2016-01-20 18:34:42 -0500", "subject": "Closed #162: When restore `--set=latest` (the default) the actual backup restored will be output to the log." }, { "commit": "2d38876bc4676344936ad72d65d0f697c4e921c1", "date": "2016-01-20 17:24:44 -0500", "subject": "Closed #93: The `retention-archive` option can now be be safely set to less than backup retention (`retention-full` or `retention-diff`) without also specifying `archive-copy=n`. The WAL required to make the backups that fall outside of archive retention consistent will be preserved in the archive. However, in this case PITR will still not be possible for backups that fall outside of archive retention." }, { "commit": "904a8c956f53ae5f6832e6188a668d94a84220b9", "date": "2016-01-19 07:39:29 -0500", "subject": "Refactor of expiration to use backup.info for a list of what needs to be expired rather than looking at the backup directory." }, { "commit": "65cce69dcc7b03605ab46f0f542bc653ecb4154c", "date": "2016-01-15 23:37:17 -0500", "subject": "Closed #131: Offline backups make expire command fail." }, { "commit": "fce72615366dd5a78359bd05c0919210eb128019", "date": "2016-01-15 23:22:30 -0500", "subject": "Only allow --no-cleanup option when a single test is selected." }, { "commit": "4d12cc233e26e568fa8449691051b8f33b238873", "date": "2016-01-15 20:31:29 -0500", "subject": "Fix for typo in error message." }, { "commit": "e91e481f3dcdb5e03320663bfa732b3aef49b49e", "date": "2016-01-15 07:07:00 -0500", "subject": "Closed #19: The following tablespace checks have been added: paths or files in pg_tblspc, relative links in pg_tblspc, tablespaces in $PGDATA. All three will generate errors." }, { "commit": "67fb7a23bc2d448938c000ec7189cc1f9b979440", "date": "2016-01-14 19:37:06 -0500", "subject": "Master test log is output to file." }, { "commit": "65d0c7dc3bd60eb432dd4a582419c3c39866801a", "date": "2016-01-13 22:48:35 -0500", "subject": "Updated Crunchy URL." }, { "commit": "c2b1620c53555924dd4ef666db1a124702ebd5b1", "date": "2016-01-13 22:43:26 -0500", "subject": "Logging enhancements:", "body": "1) Show log output realtime when --max-process=1 or only 1 test is being run.\n2) Dry run now shows test output when --vm-out is specified." }, { "commit": "a0a3d1e97e91ddb6ebbb2ac8ff3f2445f3c455f0", "date": "2016-01-13 20:35:12 -0500", "subject": "Closed #122: 9.5 Integration", "body": "The archive_mode = always setting is not included but is covered by issue #125." }, { "commit": "c7502f341b4ffbe976ff08bf311f24d6d377a408", "date": "2016-01-11 09:50:45 -0500", "subject": "Generate an error when `archive-check=y` but `archive_command` does not execute `pg_backrest`." }, { "commit": "81a2fde21fc9fe98bb3473164b5ac4717bdb067b", "date": "2016-01-10 21:07:07 -0500", "subject": "Fixed typos in test documentation." }, { "commit": "0f88943b7b2e142d86d3a03755a41a1b31754338", "date": "2016-01-10 19:30:51 -0500", "subject": "Database versions are now run as separate tests." }, { "commit": "cd9fa6f028114f4e44068137a6d14bcd74d882d7", "date": "2016-01-10 09:19:21 -0500", "subject": "Updated test logs for partial WAL segment support." }, { "commit": "29102b2887dc6f0a1ad0603c48d14bc92e15fa8a", "date": "2016-01-09 23:08:54 -0500", "subject": "Added error when archive_mode=always is configured." }, { "commit": "7f0f8823df16f3bb4f68fbe7fca4da259ade6409", "date": "2016-01-09 19:37:28 -0500", "subject": "Added support for partial WAL segments." }, { "commit": "e72165a689889f87a863821f6d5edbada425feae", "date": "2016-01-09 10:11:03 -0500", "subject": "Provisional support for PostgreSQL 9.5. No support for `archive_mode = 'always'` or `.partial` WAL on a standby." }, { "commit": "c8f863fbabaf5060e6c8b837856363339740d346", "date": "2016-01-09 08:21:53 -0500", "subject": "Text execution improvements:", "body": "1) Tests for all operating systems can now be run with a single command.\n2) Tests can be run in parallel with --process-max.\n3) Container generation now integrated into test.pl\n4) Some basic test documentation." }, { "commit": "4a384ffbdb3824b116fcf1db63920fc6eddd18ea", "date": "2016-01-03 20:24:14 -0500", "subject": "Added archive-check config test. Fixed capitalization error in optionboolSetTest()." }, { "commit": "6f6c796fbf9d4cdafcede1368b63904e9690f598", "date": "2016-01-03 20:21:30 -0500", "subject": "Fixed an issue where specifying --no-archive-check would throw a configuration error." }, { "commit": "7f630aec49eceada43d3c60f2a810cc3e5960a08", "date": "2015-12-29 13:57:10 -0500", "subject": "Switched to using docker for all unit tests as this allows for greater automation." }, { "commit": "91d1e940769cf81bd511745c9b303833d8940b66", "date": "2015-12-24 12:49:47 -0500", "subject": "Next development cycle." }, { "commit": "50a62fab6ded931efd9c87fe3767fd26f4f7318b", "date": "2015-12-24 11:32:29 -0500", "subject": "v0.89: Timeout Bug Fix and Restore Read-Only Repositories" }, { "commit": "ba098d7b91c189d8ee7f45a157ba8e5a243eb85b", "date": "2015-12-24 10:32:25 -0500", "subject": "Fixed an issue where longer-running backups/restores would timeout when remote and threaded.", "body": "Keepalives are now used to make sure the remote for the main process does not timeout while the thread remotes do all the work. The error messages for timeouts was also improved to make debugging easier." }, { "commit": "b0a6954671dcee50e16a72f4c44d0eaa84b67c5c", "date": "2015-12-23 11:04:26 -0500", "subject": "A number of doc improvements:", "body": "1) Started on a general markdown renderer\n2) Internal links now work in PDF\n3) Improvements to PDF styling\n4) Some comment and formatting fixes\n5) User guide edits." }, { "commit": "fdc99e30bd2e154623fb71134413a11d695d3420", "date": "2015-12-23 10:48:33 -0500", "subject": "Allow restores to be run against a read-only repository.", "body": "Two things needed to be changed:\n1) Don't open a log file when log-level-file=off\n2) New --no-lock option to suppress lock file creation for restores." }, { "commit": "d5cef05a6857512bc1c1410909a58df4d1c102da", "date": "2015-12-21 19:25:50 -0500", "subject": "Added rc to version check." }, { "commit": "a840808bc6916e089dcb119998a742fbb8629fea", "date": "2015-12-21 19:25:17 -0500", "subject": "Regression test for issue #159: duplicated log section entries in config file", "body": "Add a perl -cW test to prevent similar errors in the future." }, { "commit": "fe9c66591f3a0324b0bae483d825d75c4ac38d74", "date": "2015-12-21 14:29:54 -0500", "subject": "Fixed issue #159: Duplicated log section entries in config file", "body": "This would cause a warning when run with perl -cw but appears to have been harmless otherwise." }, { "commit": "4925756dee22faee7bf6e1ca9bcd417d09cf5ba4", "date": "2015-11-22 18:16:54 -0500", "subject": "Merge branch 'master' into dev after release 0.88" }, { "commit": "e04c21b012d8196f716f093a5bbc46f16cc4a1fb", "date": "2015-11-22 17:27:30 -0500", "subject": "v0.88: Documentation and Minor Bug Fixes" }, { "commit": "fa05715dec955a30f271df9c1c059c9c876e3f4d", "date": "2015-11-22 16:44:01 -0500", "subject": "Added documentation in the user guide for delta restores, expiration, dedicated backup hosts, starting and stopping pgBackRest, and replication." }, { "commit": "8ddfdcdd3bc2ee5e76487d903696840655357f87", "date": "2015-11-22 14:02:14 -0500", "subject": "Various fixes and features implemented during doc development", "body": "* Better messaging for expiration.\n* Fixed already stopped message.\n* retention-archive and retention-archive-type now use retention-full and 'full' when not specified.\n* Fixed issue where backup-user was required (should default to backrest).\n* ExecuteTest now supports retries.\n* Fixed issue where log test was not comparing test logs.\n* Fixed issue where test logs would not match for ssh connection errors" }, { "commit": "7ff9fc996c6f43e6c6aeff68624b145efa3fea89", "date": "2015-11-20 11:03:06 -0500", "subject": "Release notes for fixes and rebuild command-line help." }, { "commit": "4c5470e0499e336b704e9472d8a3c7463b256cc2", "date": "2015-11-20 10:55:28 -0500", "subject": "Implemented issue #156: Don't create backup symlinks in the repository." }, { "commit": "11f724bdfc31f7a3fa701d44ce985f47362f65a2", "date": "2015-11-20 10:28:58 -0500", "subject": "Fixed issue #155: Start/Stop do not automatically read config file." }, { "commit": "d89cd955d0fb5b45ec69e02e948c18eab9feb9bf", "date": "2015-11-20 09:18:12 -0500", "subject": "Fixed issue #154: Log files are overwritten rather than appended." }, { "commit": "e5cf1d84a710eb03c179b41c271e203613a89377", "date": "2015-10-29 17:45:29 +0100", "subject": "CSS Tweaks." }, { "commit": "2f83362f32114f2f516d344334e3fa25e0aaad4b", "date": "2015-10-28 13:02:35 +0100", "subject": "Minor user guide fix." }, { "commit": "a498becf11f385c4b525c318412ec8154c0ebd34", "date": "2015-10-28 11:29:04 +0100", "subject": "Merge branch 'master' into dev after release 0.87" }, { "commit": "2813c4d4ebdeccff8a54cbf8157fa3bdca01c44b", "date": "2015-10-28 11:15:38 +0100", "subject": "v0.87: Website and User Guide" }, { "commit": "32ce87d56d0def3a4249606eca9dec765fb1fca4", "date": "2015-10-28 10:19:33 +0100", "subject": "Fixed minor path issue in README.md." }, { "commit": "57a06ba3b12533d623090714c99d1604a74085e6", "date": "2015-10-28 10:10:36 +0100", "subject": "Implemented issue #148: Website with basic user guide." }, { "commit": "3dc014224487c8ab32a86874396b3e78b647315e", "date": "2015-10-08 14:36:39 -0400", "subject": "Renamed userguide.xml to reference.xml so it doesn't conflict with the new user guide." }, { "commit": "994ead1f05eac573948993b51dcb9a1f45f4876e", "date": "2015-10-08 13:47:51 -0400", "subject": "Removed IO::String dependency from docs." }, { "commit": "0bcbe21520f66f58d6795cd0e0969ba90afa8332", "date": "2015-10-08 12:44:55 -0400", "subject": "Merge branch 'master' into dev after release 0.85" }, { "commit": "097eb7ca419a49464fdcfccac873760acf4fee3e", "date": "2015-10-08 12:34:50 -0400", "subject": "v0.85: Start/Stop Commands and Minor Bug Fixes" }, { "commit": "6e170d27e4ec69b94f38f0f5db4a6abe5232f393", "date": "2015-10-08 12:23:37 -0400", "subject": "Replaced expired CentOS VMs with new ones." }, { "commit": "1f9d6c330a35cdfb7402439240e5fc8a77811fea", "date": "2015-10-08 12:22:57 -0400", "subject": "Updated WAL magic for PostgreSQL 9.5 beta1." }, { "commit": "ddd4c14773176d03ffbb30d958f6c3d8596e41a3", "date": "2015-10-08 11:43:56 -0400", "subject": "Implemented issue #129: Stop/Start Commands. Implemented issue #136: Add stderr back into protocol layer.", "body": "There were also miscellaneous bug fixes and improvements to buffering in IO.pm." }, { "commit": "e488f7bb198b4af6f7b1595392b57648bf985dcb", "date": "2015-09-22 21:07:49 -0400", "subject": "Fixed issue #144: Error on resume when temp files (file.tmp.*) present." }, { "commit": "a3d82eef9897965dbe1bff08a92418877447acca", "date": "2015-09-16 15:23:19 -0500", "subject": "Document code in Db.pm." }, { "commit": "210f8ef723a56d0f0d4d8c4a0120729ef952a44a", "date": "2015-09-14 12:28:22 -0400", "subject": "Merge branch 'master' into dev after release 0.82" }, { "commit": "9be15d00f8527309fd81118bb483adb0b1956651", "date": "2015-09-14 11:18:50 -0400", "subject": "v0.82: Refactoring, Command-line Help, and Minor Bug Fixes" }, { "commit": "e0dafbff7ff294b137e085cde63f0e69685b31b3", "date": "2015-09-09 15:40:54 -0400", "subject": "Improvements to issue #132: Improved command-line help. Regression tests are now more comprehensive by default. Better handling for errors in safeExit(). Release notes." }, { "commit": "d7e3be1ebff5d0d017a7406552acd9b3a97f0bb8", "date": "2015-09-08 18:29:13 -0400", "subject": "Fixed issue #138: Fix --no-start-stop working on running db without --force.", "body": "Unable to reproduce this anymore. It seems to have been fixed with the last round of config changes. Add regression tests to make sure it doesn't happen again." }, { "commit": "b17bf31fb6dbe67b6efdcd634a4d29ede1cf9d76", "date": "2015-09-08 16:58:00 -0400", "subject": "Implement issue #130: Info files should be updated with new version when pgBackRest is upgraded." }, { "commit": "59b2261a8ee15d061367ffefe598c05cb93fcb3e", "date": "2015-09-08 16:44:47 -0400", "subject": "Fix issue #137: Info command throws an exception if no stanzas exist." }, { "commit": "8d01138f6def41f12a1c3adcf4e7fbfea65b9aae", "date": "2015-09-08 15:47:34 -0400", "subject": "Improved issue #135: Suppress PostgreSQL notices.", "body": "Regression tests now fail if there is any unexpected output on stderr." }, { "commit": "bb6963cf3b7ba30e2fa13e8df57b234d283d2cbe", "date": "2015-09-08 14:01:19 -0400", "subject": "Implement issue #135: Suppress PostgreSQL notices." }, { "commit": "adc5568b15090c797863206830730e1974bfdc7a", "date": "2015-09-08 12:58:13 -0400", "subject": "Fixed issue #132: Improved command-line help.", "body": "Some platform specific fixes and added regression tests to detect issues." }, { "commit": "ac3c0d43ab8701855b45bc40f1298e9707dc0e14", "date": "2015-09-08 07:31:24 -0400", "subject": "Implemented issue #132: Improved command-line help. Implemented issue #133: Dynamic module loading where possible." }, { "commit": "0913072c4554d62a50e393158f4685dd52831390", "date": "2015-09-02 19:07:21 -0400", "subject": "Removed unused parameter from Info::new()." }, { "commit": "ee55817fcee2184b353e26f608b461d9d3fc9d7f", "date": "2015-09-02 18:55:04 -0400", "subject": "Refactoring documentation generator." }, { "commit": "bf3ef15ccc2991686c51ba10946ef095d248951f", "date": "2015-09-01 19:05:10 -0400", "subject": "Implemented issue #117: Refactor expiration tests to be purely synthetic" }, { "commit": "6a9377a0a9389d285cd36b1fe179d47f46e15d9a", "date": "2015-08-29 14:20:46 -0400", "subject": "Code cleanup and refactoring to standardize on patterns that have evolved over time." }, { "commit": "d3262822efff785911fa1d2450d1fb1ac0d1b950", "date": "2015-08-27 15:55:29 -0400", "subject": "Fixed issue #128: Replace config name in test logs", "body": "It was actually the bin path that was causing the issue." }, { "commit": "83473eb9fb4e437c47a1773c7f4cb7e93f71ee2a", "date": "2015-08-09 11:29:00 -0400", "subject": "Merge branch 'master' into dev after release 0.80" }, { "commit": "a59284a4cca37a0c299f411e44cdfe7e43bb9ba7", "date": "2015-08-09 11:20:43 -0400", "subject": "v0.80: DBI Support, Stability, and Convenience Features" }, { "commit": "65d9de4ee76bcce4f102e2b17d7f7ced809880a0", "date": "2015-08-09 09:18:58 -0400", "subject": "Document issue #114: Better description of repo-path." }, { "commit": "7e49e4596f9fdaae102c5caae7dae35c25e75bef", "date": "2015-08-08 20:17:33 -0400", "subject": "Removed dead function wait_for_file()." }, { "commit": "45259a487f2522ac961ceba0bb38cc8ad0089d00", "date": "2015-08-08 18:36:36 -0400", "subject": "Change log for issue #94: backup_stop needs a timeout." }, { "commit": "1ab6239b4e9b37ed34564e9de9ee102fea82b329", "date": "2015-08-08 18:32:41 -0400", "subject": "Implemented issue #118: Clean up database vs. database cluster in the docs." }, { "commit": "e82afac8854e74fb1451491abde5f353ca496b1b", "date": "2015-08-08 18:22:38 -0400", "subject": "Implemented issue #94: backup_stop needs a timeout.", "body": "The timeout applies to all queries agains the cluster during a backup." }, { "commit": "8c0508789e5debc508aae05d28ebe5f7f4700809", "date": "2015-08-08 17:11:20 -0400", "subject": "Implemented issue #25: Option to call stop_backup with every backup." }, { "commit": "12e8a7572c07fc4ea1d44ba944e530c391396047", "date": "2015-08-08 00:51:58 -0400", "subject": "Worked on issue #122: 9.5 Integration.", "body": "Expiration tests worked differently with checkpoint_segments. Only allow this test < 9.5 until purely synthetic tests are written." }, { "commit": "2edf5d4bf7b47b4fd3fd446740a82c35be84dbda", "date": "2015-08-07 14:43:53 -0400", "subject": "Split most of README.md out into CHANGELOG.md and USERGUIDE.md. Added release dates to change log." }, { "commit": "61c729b37b7787740a1e011544dd97971c44d0ce", "date": "2015-08-07 10:21:08 -0400", "subject": "Worked on issue #122: 9.5 Integration.", "body": "Skip copying tablespace_map instead of deleting it later.\nCleaned up the skip code for pg_control as well." }, { "commit": "4e7bd4468a785a00c37b5d29262d86f76f725a78", "date": "2015-08-06 16:36:55 -0400", "subject": "Worked on issue #122: 9.5 Integration.", "body": "Most tests are working now. What's not working:\n\n1) --target-resume option fails because pause_on_recovery setting was removed. Need to implement to the new 9.5 option and make that work with older versions in a consistent way.\n2) No tests for the new .partial WAL segments that can be generated on timeline switch." }, { "commit": "adb8a009255fdfcd726bf7ded3aef60c80b645cf", "date": "2015-08-06 00:24:02 -0400", "subject": "Improvements to release notes." }, { "commit": "ca1fd9740aede681866e8a52bcece052de631597", "date": "2015-08-06 00:00:30 -0400", "subject": "Working on issue #117: Refactor expiration tests to be purely synthetic.", "body": "Split BackupTest.pm into two modules. It was getting ungainly to work on." }, { "commit": "8b57188bc1e5e6941bf46e9fc4cfd6d8e5bd7856", "date": "2015-08-05 23:37:46 -0400", "subject": "Fixed issue #120: Wrong \"oldest backup timestamp\" in info output." }, { "commit": "a10dd8ba98b2c0e16b560e447336c663e7b865de", "date": "2015-08-05 22:05:45 -0400", "subject": "Implemented issue #121: Check data from db against what's passed to backrest." }, { "commit": "576d50fc1ed0283b5b77e99a72bdf787b473a1c3", "date": "2015-08-05 18:54:41 -0400", "subject": "Added ssh control master config to speed regression testing. Added vagrant config for Centos 7." }, { "commit": "ba4e5fc4cb486c28ddba44f60cfc77fe8b171b39", "date": "2015-08-05 13:35:19 -0400", "subject": "Release notes for issue #20: Convert Postgres calls from psql to DBD::Pg." }, { "commit": "23e6267adc90293d80887492208f68de3c40297d", "date": "2015-08-05 12:32:12 -0400", "subject": "Implemented issue #20: Convert Postgres calls from psql to DBD::Pg." }, { "commit": "f8a2da940012187d5a48c10018ded60128793f5d", "date": "2015-08-05 08:43:41 -0400", "subject": "Work on issue #48: Abandon threads and go to processes", "body": "* Major refactoring of the protocol layer to support this work.\n* Fixed protocol issue that was preventing ssh errors (especially connect) from being logged." }, { "commit": "021afa804638c609a7a8074a9502f4bf05c01688", "date": "2015-08-01 17:26:15 -0400", "subject": "Ensure that info output is terminated by a linefeed.", "body": "On some systems the JSON->encode() function was adding a linefeed and on others it was not. This was causing regression test failures in in the test logs and may have also been inconvenient for users." }, { "commit": "1b0f997f59ef67358b7091fe832b9a5b026da0de", "date": "2015-07-24 18:05:06 -0400", "subject": "Implemented issue #119: Make sure all repo permissions are 640/750.", "body": "Updated remaining test logs." }, { "commit": "97c036973cb945912a08ee7774bc5619a331db7f", "date": "2015-07-23 13:11:38 -0400", "subject": "Implemented issue #119: Make sure all repo permissions are 640/750." }, { "commit": "f3199d13b1c213fe6a52c16ca935fe878dcfbc97", "date": "2015-07-16 11:12:48 -0400", "subject": "Implement issue #115: When restoring copy pg_control last." }, { "commit": "702afeb6f0e14003d4e694e5d3f2b3b39f5b6164", "date": "2015-07-13 15:37:50 -0400", "subject": "Merge branch 'master' into dev after release 0.78" }, { "commit": "c568f5e72745ec9a799c8cd42a5bb8492a5dbec2", "date": "2015-07-13 14:44:32 -0400", "subject": "v0.78: Remove CPAN dependencies, stability improvements" }, { "commit": "65847b5fb1c2886ea7d2d546236c2db3202a34ae", "date": "2015-07-13 13:25:04 -0400", "subject": "Vagrant backrest mount is no longer RO so development can be done entirely within VMs." }, { "commit": "89c0f23f372aa08dd7eaff51eb08fb09f8749d89", "date": "2015-07-13 12:13:07 -0400", "subject": "Update release notes and some test fixes." }, { "commit": "073e3b7c0055a45b0717d4a4b91ede54a3b68569", "date": "2015-07-11 22:47:22 -0400", "subject": "Minor for regression tests. Improved CentOS 6 vagrant config." }, { "commit": "ea7914d9805aea676b25bd31ce38459f32803294", "date": "2015-07-11 19:07:28 -0400", "subject": "Wait now uses a Fibonacci backoff rather than exponential." }, { "commit": "b777525f62fdde71dab702a9afef9b5ad8f6a4b5", "date": "2015-07-11 17:16:35 -0400", "subject": "Added --exe param to allow testing of packaged versions. Updates to u12 vagrant vm." }, { "commit": "e9ce4efedfb653338a5a9a40bbe1238393ea6886", "date": "2015-07-10 09:20:28 -0400", "subject": "Removed dependency on dequeue_timed() which eliminates the CPAN install. Added vagrant config for CentOS 6." }, { "commit": "1df8c305499ee698f91dacf9958c8eb56e71e64c", "date": "2015-07-09 10:21:02 -0400", "subject": "Swapped config and operation sections to hopefully make the docs flow a little better." }, { "commit": "e799361e90adcb1648b2ce208f2fb3ffdd47df2e", "date": "2015-07-09 10:11:49 -0400", "subject": "Clarification for CPAN requirements." }, { "commit": "8b7fd99637d26cff0df192534a729effa435d97a", "date": "2015-07-06 21:00:48 -0400", "subject": "Added vagrant configuration for Ubuntu 12.04. Changes to regression tests to work better with VMs." }, { "commit": "bb443dd098140e07d8ceddc56673b45f303c748d", "date": "2015-07-06 17:59:44 -0400", "subject": "Renamed pg_backrest.pl to pg_backrest in the docs." }, { "commit": "38f48be3cf7be6a24ee513f48fd4a55eb54a1ee5", "date": "2015-07-02 10:05:13 -0400", "subject": "Improvements to help to make it more dynamic depending on environment. Changed PgBackRest to pgBackRest." }, { "commit": "12932dc54cf24a43b7db7c7e829ad04cbc8816d6", "date": "2015-06-30 14:57:17 -0400", "subject": "Merge branch 'master' into dev after release 0.77" }, { "commit": "b1ded135df1e3dd4d4b40a0cbb1a7c1303e7a037", "date": "2015-06-30 14:47:58 -0400", "subject": "v0.77: CentOS/RHEL 6 support and protocol improvements" }, { "commit": "7248795b91dcc6fe749561afb556f625dfe20497", "date": "2015-06-29 22:07:42 -0400", "subject": "Work on issue #48: Abandon threads and go to processes", "body": "Replaced IPC::System::Simple and Net::OpenSSH with IPC::Open3 to eliminate CPAN dependency for multiple distros. Using open3 will also be used for local processes so it make sense to switch now." }, { "commit": "c59adfc68dd10e2ab42a686cace1829b6e4d4e2a", "date": "2015-06-27 11:12:44 -0400", "subject": "Shorted test command line params." }, { "commit": "760baab6b25196df2e1aa430e8736debad34a433", "date": "2015-06-22 14:35:25 -0400", "subject": "Implemented issue #111: Add the psql path for *BSD.", "body": "Author: Eric Radman\nModified by Committer" }, { "commit": "dcad0f70070488692c39409b99cb082fe3d0e796", "date": "2015-06-22 14:20:56 -0400", "subject": "Merged issue #111: Print the real exception when DBH->connect fails.", "body": "Author: Eric Radman" }, { "commit": "f210fe99c33fbab478fc3e75cc09bd5e5089446f", "date": "2015-06-22 13:11:07 -0400", "subject": "Implemented issue #109: Move VERSION into source code.", "body": "Also stopped replacing FORMAT number which explains the large number of test log changes. FORMAT should change very rarely and cause test log failures when it does." }, { "commit": "af580168712ac0c370cc5532bb34ab1805823ffa", "date": "2015-06-22 10:04:58 -0400", "subject": "Release notes for issue #108: Incompatibility with Perl 5.10.1." }, { "commit": "fdd9e8eb176ec0f5c087726393f15a19d121fabd", "date": "2015-06-22 09:58:01 -0400", "subject": "Improved release notes on fsync to include restore." }, { "commit": "3f841fcd95c17541d5f04012a72153a8d5cbd8ce", "date": "2015-06-22 09:51:16 -0400", "subject": "Improved issue #110: 'db-version' is required but not defined.", "body": "Improved the error message and added hints." }, { "commit": "61dfeca3c1d2ddfce53de9fafd137607e21223b8", "date": "2015-06-21 12:06:13 -0400", "subject": "Fixed issue #108: Incompatibility with Perl 5.10.1" }, { "commit": "49f1a3e4812e962201ae80c92ad377f3f8dc4643", "date": "2015-06-19 14:27:44 -0400", "subject": "Document issue #108: Incompatibility with Perl 5.10.1" }, { "commit": "0695c0e7af347478c86a6aaddf068f712f27d91d", "date": "2015-06-19 14:02:26 -0400", "subject": "Document issue #108: Incompatibility with Perl 5.10.1" }, { "commit": "06c290421240ed74f0388a3b71e240fc1a9e6162", "date": "2015-06-18 16:55:09 -0400", "subject": "Change operation constants and functions to command." }, { "commit": "4e2c14623b5fe018ab71f797c2c1b9d9a58634cc", "date": "2015-06-18 15:39:30 -0400", "subject": "Work on issue #48: Abandon threads and go to processes", "body": "More separation of the protocol and remote layers than was done in issue #106.\nSettings are passed to the remote via command-line parameters rather than in the protocol." }, { "commit": "22e126eda7802ac30d7f275a58425528238ee265", "date": "2015-06-17 15:40:12 -0400", "subject": "Fix for logic that removes trailing spaces from code." }, { "commit": "a050b76fa9a6785f67a7b492b8b8bad7dd94a482", "date": "2015-06-17 15:33:58 -0400", "subject": "Implement issue #107: Better debug commands." }, { "commit": "a5d9d6d84d584ed1f574f0eb7f77b32ea2c8e6e6", "date": "2015-06-17 12:53:33 -0400", "subject": "Added file and directory syncs to the File object for additional safety during backup and archiving." }, { "commit": "9511f9c35cbc4b5fac38fb67b86ad9c2f859be69", "date": "2015-06-17 11:26:07 -0400", "subject": "Implemented issue #106: Roll pg_backup_remote into pg_backrest" }, { "commit": "0ba40292532c11d00b6f1e3a5096d0e1a021cac5", "date": "2015-06-16 16:21:24 -0400", "subject": "Update version to 0.80." }, { "commit": "da8b337ee80b7c28ffb8fde7a4b0a11418b926c8", "date": "2015-06-16 15:44:27 -0400", "subject": "Added supported versions of PostreSQL." }, { "commit": "c23916d6de7004a5c039ea7810e7306e6fe99b6e", "date": "2015-06-14 20:59:48 -0400", "subject": "Merge branch 'master' into dev after release 0.75" }, { "commit": "1afbab010fc89476ba8a234772f86ca38e6c4f26", "date": "2015-06-14 20:59:32 -0400", "subject": "v0.75: New repository format, info command and experimental 9.5 support" }, { "commit": "8459e25e32433c7ecba8d4e5189fee45681ef8ae", "date": "2015-06-14 11:49:55 -0400", "subject": "Test fix for issue #96." }, { "commit": "b365d9aacc38dd8f8d6d43a99d034cb1cf8b20ff", "date": "2015-06-14 11:48:33 -0400", "subject": "Updated release notes for 0.75." }, { "commit": "b865070eddb4eedbeab70e5de287e250680b3f85", "date": "2015-06-14 10:12:36 -0400", "subject": "Experimental 9.5 support. Unit tests are not working yet." }, { "commit": "0b6f81a812a02c34b2f8cc9e5b14139d27dc4895", "date": "2015-06-14 09:36:58 -0400", "subject": "Implemented issue #50: Reverse ordering by file size." }, { "commit": "57640d1ac33c6a38c6afe632e1b8a3d6271740fc", "date": "2015-06-14 08:37:37 -0400", "subject": "Implemented issue #96: Executable names" }, { "commit": "6c807f2ddd6a996a46e0d3733f09e61110361742", "date": "2015-06-13 18:30:10 -0400", "subject": "Fixed release notes for info command." }, { "commit": "148836fe44e81622d1836f851b8b87e21d32188e", "date": "2015-06-13 18:25:49 -0400", "subject": "Implemented issue #26: Info command.", "body": "* Includes updating the manifest to format 4. It turns out the manifest and .info files were not very good for providing information. A format update was required anyway so worked through the backlog of changes that would require a format change.\n\n* Multiple database versions are now supported in the archive. Doesn't actually work yet but the structure should be good.\n\n* Tests use more constants now that test logs can catch name regressions." }, { "commit": "5a73b1a2408fd22f90417fcbf70edd41a6a99f3b", "date": "2015-06-10 15:54:24 -0400", "subject": "Fixed minor typos in the documentation." }, { "commit": "aca4511350ff6a2d30e712ac0eda39774a93ffa0", "date": "2015-06-10 15:44:13 -0400", "subject": "Documentation for issue #93: Prevent misconfigured retention-archive setting", "body": "Not an actual fix - just some documentation to (hopefully) keep users from getting bitten until then." }, { "commit": "af98f164cd5f5dfce97b88434e8fe19f7bc0d6aa", "date": "2015-06-02 09:42:56 -0400", "subject": "Fixed issue #97: Interleaved log lines during parallel operations." }, { "commit": "7e06e53a69e79c49a44bbab14a99f15ac20548d9", "date": "2015-06-01 09:39:02 -0400", "subject": "Merge branch 'master' into dev after release 0.70" }, { "commit": "f83f0fa54d1a3b13524fa0ded8a6dffe88276bbc", "date": "2015-06-01 09:24:38 -0400", "subject": "v0.70: Stability improvements for archiving, improved logging and help" }, { "commit": "95d62a82d94985165145d1d543cfdf4acb197992", "date": "2015-05-31 09:50:42 -0400", "subject": "Minor log changes for formatting and consistency." }, { "commit": "200e3b26fe902ae1c71a5954c72455902676f90a", "date": "2015-05-29 22:11:51 -0400", "subject": "Prevent log test regexp replacement when multithreaded. Logging should be completely disabled in this case." }, { "commit": "1586e0eb7555a6f2d44925b3572ab2457ff3e069", "date": "2015-05-29 17:58:13 -0400", "subject": "Implement issue #92: Check for ERRORs in backup full tests" }, { "commit": "e7d2d704fe4befc028257e5f88a97b810a423449", "date": "2015-05-29 16:31:12 -0400", "subject": "Fixed issue #91: Race condition in async archive-push." }, { "commit": "5fd4f3bd5b68db1f68f1df9c00e513a15fbd387b", "date": "2015-05-29 14:39:43 -0400", "subject": "Improvements to log testing.", "body": "Replaced tokens are now numbered to give a more accurate rendition of the logs.\nSome formatting improvements." }, { "commit": "5fce709ae7d925c6969aa002da2dd262fe93d73a", "date": "2015-05-29 12:33:38 -0400", "subject": "Document issue #88: Thoughts on repo & release management." }, { "commit": "d321ef0b6d5af0c1dce8fd5701edbadffffce5af", "date": "2015-05-29 12:26:31 -0400", "subject": "Implement issue #89: Make confess backtraces log-level dependent.", "body": "ASSERTs still dump stack traces to the console and file in all cases. ERRORs only dump stack traces to the file when the file log level is DEBUG or TRACE." }, { "commit": "13e4eec629df044c90c64424a6992ff3e99b5173", "date": "2015-05-29 11:41:19 -0400", "subject": "Implement issue #90: Move archive-max-mb archive-stop checks to end of archive-push." }, { "commit": "639c27e113fb8fd76be5ca5533e420c2ed11b44c", "date": "2015-05-29 08:18:12 -0400", "subject": "Release notes for issue #68: Allow duplicate WAL to be pushed if the checksum matches." }, { "commit": "7ace66e544cd4da848b30c893131b61403242b33", "date": "2015-05-29 08:12:39 -0400", "subject": "Implement issue #68: Allow duplicate WAL to be pushed if the checksum matches." }, { "commit": "6d2f2d3f91227dffe635ab14de3db3d83c09e0c6", "date": "2015-05-28 20:52:42 -0400", "subject": "Fix for issue #74: More helpful message when targeting missing stanzas." }, { "commit": "3083e5fc7ef96368351a9558fe04e4e7c71c9490", "date": "2015-05-28 13:17:34 -0400", "subject": "Fix for issue #83: Provide more helpful error message during archive-stop situations. Fix for issue #84: archive-async in combination with archive-max-mb doesn't work as documented. Unit tests for archive stop." }, { "commit": "a4974f8996c519024f6b645650c9f598b41be553", "date": "2015-05-26 15:29:42 -0400", "subject": "Fix for issue #70: command line help improvements" }, { "commit": "ca0c866d3babd68fb433a12e9efda066ffb8e9eb", "date": "2015-05-26 12:26:59 -0400", "subject": "Implement issue #71: log a message when waiting for a checkpoint Some other log improvements" }, { "commit": "5c43e7035a2adfafa0c8f3a72dd46913ce0cb771", "date": "2015-05-26 11:36:03 -0400", "subject": "Implement issue #79: Support comment characters in config file" }, { "commit": "e9099b99aad5cec0b87668fa90babfc18472e63f", "date": "2015-05-26 10:01:05 -0400", "subject": "Updated required modules. Minor doc fixes." }, { "commit": "d5335b40e83539bf137ff9051ecac84e6d85a2b6", "date": "2015-05-22 14:49:14 -0400", "subject": "Fix for issue #80: enabling archive-copy causes failing differential & incremental backups" }, { "commit": "5ada7fb5adf25d7127d08879cd270164d231a1be", "date": "2015-05-12 15:44:10 -0400", "subject": "Use JSON::PP instead of JSON since it is shipped with core Perl." }, { "commit": "ab4efce5d1064cf887dfea4e541d95c8605444a8", "date": "2015-05-11 18:36:02 -0400", "subject": "Merge branch 'master' into dev after release 0.65" }, { "commit": "49fe40850fad0a850e52d9ebe79e32b7029c5735", "date": "2015-05-11 18:29:40 -0400", "subject": "v0.65: Improved resume and restore logging, compact restores" }, { "commit": "a7d6382cf2317a0d2502f4410fb372778059206f", "date": "2015-05-08 19:33:34 -0400", "subject": "Unit test fix for absolute path change in a0d985b7ad37bb2582d6d92ddd225a9090da1b64." }, { "commit": "9aa41ee76bc4f14b8f8e2856893ac09ad68c33d0", "date": "2015-05-08 18:34:27 -0400", "subject": "Added tablespace setting to allow compact database restores for development, staging, etc." }, { "commit": "a0d985b7ad37bb2582d6d92ddd225a9090da1b64", "date": "2015-05-07 17:37:25 -0500", "subject": "Fixed an issue where an absolute path was not written into recovery.conf when the restore was run with a relative path." }, { "commit": "1ac4b781fd304fcc6aa663afc324cdb2d1fdcb06", "date": "2015-05-07 15:56:56 -0600", "subject": "Better info logging for restore. Most of the messages were debug before and some important ones were missing." }, { "commit": "095a9a0b831877b9b5d62b4b37da4caca0edb7df", "date": "2015-05-07 10:29:30 -0600", "subject": "Added resume setting to allow disabling resume feature." }, { "commit": "328c2ca5c0dd5ed67ddc2c5d76102cee16235f20", "date": "2015-05-06 18:24:34 -0600", "subject": "Much better resume: 1) Re-checksums files that have checksums in the manifest 2) Recopies files that do not have a checksum 3) Saves the manifest at regular intervals to preserve checksums 4) Unit tests for all cases (that I can think of)" }, { "commit": "56588f6fdd30378728372e1dea2a4920c043acb3", "date": "2015-05-05 11:08:48 -0600", "subject": "Log testing can now be enabled for certain deterministic tests. This works by comparing the generated logs against a previous copy. Currently only enabled for the backup/synthetic tests." }, { "commit": "1d1c7e47d149fc9b3b9b0c1db6238e998d56c804", "date": "2015-05-01 19:13:12 -0400", "subject": "Doc fixes for archive-max-mb setting." }, { "commit": "b0db7c04979d4f012bfd66067a25088bd84687ad", "date": "2015-04-29 17:43:28 -0400", "subject": "Fixed case error in Perl module name." }, { "commit": "174896e7971931662a7672dd0271fe0f23b846d0", "date": "2015-04-23 20:52:41 -0400", "subject": "Centralized wait functions." }, { "commit": "2dac171642b6bd876ee44c4d4c9bcb238f7df999", "date": "2015-04-22 16:39:53 -0400", "subject": "More modular locking - this is the first part of a series of improvements." }, { "commit": "87f69508e3500ff7c93a7637bfeb4643f68f2c74", "date": "2015-04-21 10:48:01 -0400", "subject": "Set version to 0.75" }, { "commit": "6987cfaa536555bcb1cb0df3e40c03802a786aa0", "date": "2015-04-21 09:46:28 -0400", "subject": "Merge branch 'master' into dev after release 0.61" }, { "commit": "a9b9ec249234b9106f7c8a7615e227d1b7783a07", "date": "2015-04-21 09:45:03 -0400", "subject": "v0.61: bug fix for uncompressed remote destination" }, { "commit": "4b51f5dc500d9ba63246b953db57deb30afb3a57", "date": "2015-04-19 18:00:51 -0400", "subject": "Removed unused font." }, { "commit": "4bc9ee9b8a39ffeab8b2bab434698106ada795c6", "date": "2015-04-19 17:53:45 -0400", "subject": "Merge branch 'master' into dev after release v0.60." }, { "commit": "5185d49873914c3207894452abfb0a504625821d", "date": "2015-04-19 17:53:29 -0400", "subject": "v0.60: better version support and WAL improvements" }, { "commit": "279bd07623be81d9197e5612ac8a85b2d57c5335", "date": "2015-04-19 17:29:52 -0400", "subject": "Each option is assigned a source to designate where it came from (param, config, default). operationWrite() created to easily pass parameters on to a new process." }, { "commit": "e20a3c991d3868afa050a20e99af7f98895c5d99", "date": "2015-04-19 17:28:19 -0400", "subject": "Added tests for set = latest." }, { "commit": "cb153f7242a8249fe34ee3f391260f6a108acde2", "date": "2015-04-19 17:27:40 -0400", "subject": "Docs and comment fixes." }, { "commit": "6646089f9a15b7500ee18082e8a01222a8eaac16", "date": "2015-04-19 17:27:01 -0400", "subject": "wait_remainder() now waits until .05 seconds after the second to resolve some resolution problems." }, { "commit": "f1cc1d6123fac516dc797ab7fce5ac1a6be62390", "date": "2015-04-11 15:02:04 -0400", "subject": "Refactored backup manifest update by centralizing the code." }, { "commit": "b8ce891603d66dddf9d71bdfabc8e6d9908f60e8", "date": "2015-04-11 12:31:39 -0400", "subject": "Altered rsync comparison test to use a specially crafted table that has a 70% compression ratio. Improved the output of file_size_format()." }, { "commit": "9fe7f87e3a2dc206b4d7464f34b5f200fa30df9f", "date": "2015-04-07 19:21:48 -0400", "subject": "Allow any boolean option that is not command-line only to be negated." }, { "commit": "43d86e64a4ce73d69c4d9c73f32ef5cff23d5344", "date": "2015-04-07 18:36:59 -0400", "subject": "First pass at tests comparing rsync to backrest. Decent results, but room for improvement.", "body": "All tests local over SSH with rsync default compression, 4 threads and default compression on backrest. Backrest default is gzip = 6, assuming rsync is the same.\n\nOn a 1GB DB:\n\nrsync time = 32.82\nbackrest time = 19.48\n\nbackrest is 171% faster.\n\nOn a 5GB DB:\n\nrsync time = 171.16\nbackrest time = 86.97\n\nbackrest is 196% faster." }, { "commit": "7081c8b86701c88abfee03b01382364f79a7cae9", "date": "2015-04-07 07:34:37 -0400", "subject": "New model where threads are created early and destroyed late. Backups now work like restores in terms of how jobs are queued. Split out BackupFile and RestoreFile for easier multi-threading/processing." }, { "commit": "808c7863b64ba56f3fe588f31ef86139a133896c", "date": "2015-04-03 09:56:03 -0400", "subject": "Duplicate WAL issue in 9.3 was fixed in 9.3.6." }, { "commit": "3f651a8ce8d489a680e08467b9baccd7edef188b", "date": "2015-04-02 22:07:23 -0400", "subject": "Unit tests will now work across all installed versions of Postgres. Created a function to list all supported versions. Now used for all version checking." }, { "commit": "0b27c749991ac58de400c81c5e0fe4d0e890f957", "date": "2015-04-01 16:28:16 -0400", "subject": "Increased version to 0.60 and added release notes." }, { "commit": "984fceea67770938d6a4030278d2226cd9e14b5a", "date": "2015-04-01 15:58:33 -0400", "subject": "Moved archive functions from pg_backrest.pl and Backup.pl to Archive.pm. Moved Remote code from pg_backrest.pl to Config.pm. Added version specific code to regression tests and Db.pm. archive-push checks for duplicate WAL in the archive. archive-push reads the db sys id to match up WAL to the correct archive." }, { "commit": "9caccc2ce242c1ee6980c50918f022992c5235fa", "date": "2015-03-29 13:35:36 -0400", "subject": "Doc fixes." }, { "commit": "92a4d648ace8d112bb80f2ebffc6441fca94d11e", "date": "2015-03-26 17:42:45 -0400", "subject": "Fixed issues in collision unit tests." }, { "commit": "16cc2110c54648d2ddabe86e6533518b80edc29c", "date": "2015-03-25 15:17:59 -0400", "subject": "Merge branch 'master' into dev" }, { "commit": "b37d59832f6c3dc2050879e7231228d497b4059c", "date": "2015-03-25 15:15:55 -0400", "subject": "v0.50: restore and much more" }, { "commit": "82fa497511850c7dfe7521b99150bfd95a090a6c", "date": "2015-03-25 14:43:21 -0400", "subject": "Last doc fixes." }, { "commit": "4a6f4e23408b3c65a5594a09c6218ceef90615ee", "date": "2015-03-24 18:50:54 -0400", "subject": "Getting docs in shape for the next release." }, { "commit": "a998119cbaff2ffbff7e469ef5e5edbfee03d132", "date": "2015-03-24 18:50:14 -0400", "subject": "Various option and unit test fixes." }, { "commit": "a3604bc5121cd4a427c90bcd72468b5b32c5d938", "date": "2015-03-24 11:43:37 -0400", "subject": "Changed retention section to expire." }, { "commit": "58d6c37f4af5bc040a15bacd90c1ab056f7bca03", "date": "2015-03-23 17:17:43 -0400", "subject": "Changed permission to mode in manifest." }, { "commit": "8a3c6388b2b7981318f2e7c626cd1b88f907218a", "date": "2015-03-23 16:01:15 -0400", "subject": "Removed WAL from some option names - still waffling on this naming thing." }, { "commit": "66c474abe21d412ef6f4f5db0fc30063a8466cc4", "date": "2015-03-23 15:45:25 -0400", "subject": "A few unit test fixes." }, { "commit": "1729fa1c51c369c57a79061186818ce4781f408c", "date": "2015-03-17 18:31:05 -0400", "subject": "Added unit tests for expiration." }, { "commit": "f4f31302f0529c510ca535e3c57e67181f637092", "date": "2015-03-16 14:45:53 -0400", "subject": "Broke archive-required into two options: backup-wal-check and backup-wal-store." }, { "commit": "258fb9c6e24445e8be390b729cae005208decdca", "date": "2015-03-16 14:01:01 -0400", "subject": "More work on automated docs. Merging this to go back to some feature/bug work for a while." }, { "commit": "882f068254242ed06bceb57e14f5f52e5ed317f8", "date": "2015-03-12 12:15:19 -0400", "subject": "All config options can now be provided on the command-line. Lots of name changes, but more thought needed there. Still needs cleanup." }, { "commit": "7675a11dedaeebaeb5f546bb6c1849f989af794a", "date": "2015-03-08 14:05:41 -0400", "subject": "First pass at building automated docs for markdown/html. This works pretty well, but the config sections of doc.xml still require too much maintenance. With the new Config code, it should be possible to generate those sections automatically." }, { "commit": "ae6bdecfaf47893346443620a0a57586cf22ebdf", "date": "2015-03-08 13:26:09 -0400", "subject": "Split command-line parameter processing out into a separate file. This is in preparation allowing all parameters to be specified/overridden on the command line, with pg_backrest.conf being option." }, { "commit": "f115e01b71b23f1fc4fc8b98c42993a31b87a3e0", "date": "2015-03-04 22:38:27 -0500", "subject": "More work on docs." }, { "commit": "8dc3ba184d661a5c865c395618d20f22e7f4ccc4", "date": "2015-03-04 20:09:26 -0500", "subject": "More work on docs." }, { "commit": "163f8982624632674c55bf5fddadf3423460a228", "date": "2015-03-04 18:50:02 -0500", "subject": "HTML docs look to be in a workable format." }, { "commit": "bfb2c05357521718ef115ca40af60ac51f11ed69", "date": "2015-03-04 00:36:54 -0500", "subject": "Started on new HTML docs. The markdown is not cutting it." }, { "commit": "942b29d5b42a9ad62c96023def0c8cf1a3fc6b19", "date": "2015-03-03 23:15:40 -0500", "subject": "Added unit test for recovery type=preserve." }, { "commit": "d19baefdb99e4853f3dec7abaae757b18e117a16", "date": "2015-03-03 22:33:41 -0500", "subject": "Removed db-timestamp-start and stop from manifest. Better to get these values from" }, { "commit": "7509b01e22352404ef89ded72b8bd413c7f0a726", "date": "2015-03-03 21:21:07 -0500", "subject": "Added format to manifest to identify a manifest/dir structure version." }, { "commit": "f5761a41c12df812ef6c3dd3f9a15654deead958", "date": "2015-03-03 10:03:55 -0500", "subject": "Modules cleanup." }, { "commit": "3d0d308a98ff95b60a4b1258344443cdef934230", "date": "2015-03-03 00:57:20 -0500", "subject": "Made all warnings FATAL. Fixed one bug that was exposed." }, { "commit": "c0ec62b131a6f3a780c659ed82a8e3403d16092b", "date": "2015-03-02 23:42:55 -0500", "subject": "Fixed bug in File->hash() and removed improper last statements from do loops." }, { "commit": "7dbb11e8b85a81305f25d840433d6b125fdf5a76", "date": "2015-03-02 22:58:32 -0500", "subject": "Added buffer-size param and added config validation improvements." }, { "commit": "8e8f2f3c77793d24ef1a4aaa7f373abdc9610ac0", "date": "2015-03-02 20:36:12 -0500", "subject": "New config options compress-level and compress-level-network to control compression levels." }, { "commit": "49112eb6d3a43446bfe7c0830a99b6eef5b0b8fa", "date": "2015-03-02 09:46:11 -0500", "subject": "Better compression window settings." }, { "commit": "d874e122aaa5382b6610089cae1b2379ee97985f", "date": "2015-03-01 23:41:01 -0500", "subject": "Optimized compression to disable headers/crc when the source and destination are both uncompressed. Set different compression levels based on usage." }, { "commit": "0df1b7c4733cd354b2e6e55e2de7e034fb3fe1c9", "date": "2015-03-01 22:43:32 -0500", "subject": "Changed file sizes are now detected and stored in the manifest. Remove thread file minimums - they are unrealistic for a real db and hinder unit tests." }, { "commit": "23102f19e57f1548aab5b9709fc7aebed3567ba5", "date": "2015-03-01 22:23:52 -0500", "subject": "All copy() cases generate checksums during copy. Unit tests for bAppendChecksum option for copy()." }, { "commit": "83658a477820eae8e20238d9fc11034724cb6699", "date": "2015-03-01 16:43:54 -0500", "subject": "Docs for checksum option being removed." }, { "commit": "76391dde90856f5cbbc4be3b506524000938a412", "date": "2015-03-01 16:42:27 -0500", "subject": "Archive checksums are not calculated in stream." }, { "commit": "393525d28030711e0aaf0226d7744673d7b01097", "date": "2015-03-01 15:17:57 -0500", "subject": "Full refactor of binary_xfer. Compression now uses Compress::Raw::Zlib." }, { "commit": "77bc4238dc1afd854049fd901eb1dce76185371f", "date": "2015-03-01 13:41:35 -0500", "subject": "ZLib stuff starting to look good. All references removed from File and using binary_xfer for all de/compression." }, { "commit": "7ede058b456cb708acdcdba93b52a6729adf9380", "date": "2015-02-28 20:31:56 -0500", "subject": "Backup checksums are no longer optional." }, { "commit": "28326d6b4c4a815882acb1d6e95a28701fd12b2b", "date": "2015-02-28 19:07:29 -0500", "subject": "File->copy now returns hash and size in all cases, though the local copies are not optimal. They just call hash_size()." }, { "commit": "260a6cb8f1c7a98ad44f1c4ba0d654c6ca49f544", "date": "2015-02-28 15:54:49 -0500", "subject": "Working on calculating hash and file size in binary_xfer()." }, { "commit": "0f94476a1f3c4af2cb6aa9bc631bc4a01e05a8ad", "date": "2015-02-28 12:10:50 -0500", "subject": "Changed buffer sizes." }, { "commit": "f6b9ab732671b75a7ebb708c8ce85b79b575d46b", "date": "2015-02-28 10:28:25 -0500", "subject": "Minor param fix." }, { "commit": "f93c6caec206071c91d814b3d490da5d357ff44f", "date": "2015-02-28 10:23:33 -0500", "subject": "Backup/restore copy will be run in the main process when thread-max=1. I've resisted this change because it adds complexity, but I have to accept that threads are not stable on all platforms. Or maybe any platform." }, { "commit": "5d10a18b257a92ce520c575a488d8921e8284f5e", "date": "2015-02-28 10:21:36 -0500", "subject": "Added thread-max parameter to test.pl to allow backup threads to be specified." }, { "commit": "d6205d95011e5efb3856f5e62d09571374070492", "date": "2015-02-27 23:31:39 -0500", "subject": "Looks like all unit tests pass - now for a long test run to see if that is really true. And to see if the old lockup is gone." }, { "commit": "25442655c84cd10d026e23f5ad66aa17e5c96ae5", "date": "2015-02-27 18:42:28 -0500", "subject": "Hash of compressed file is working. Something still broken in binary_xfer because some 0 length archive files are showing up. Investigating." }, { "commit": "53f783d3fecd725aed2b7e1a203e11e8f8c85e0b", "date": "2015-02-27 16:36:40 -0500", "subject": "binary_xfer compress/decompression working without threads. All unit tests passing. Hooray." }, { "commit": "c18c629878705c01798e099de4f300b26129b679", "date": "2015-02-27 14:11:59 -0500", "subject": "Compress looks good, back to decompress." }, { "commit": "bd44b2c471a093e350fa5f18bb33832cf75c784b", "date": "2015-02-27 13:48:29 -0500", "subject": "Making binary xfer more modular." }, { "commit": "2506bbb21a044725309e3e8c2ba6761082114676", "date": "2015-02-26 19:12:22 -0500", "subject": "Working on decompression." }, { "commit": "64e1b1cea789b6751fc285a9861912cf09aca04b", "date": "2015-02-26 14:16:12 -0500", "subject": "Simple compression case is working. Still need to implement decompress, handle flags, and do checksum decompression." }, { "commit": "b9378d94a21f28c466a2e9fea9fa19d60987be86", "date": "2015-02-26 09:22:05 -0500", "subject": "Working on removing threads from instream compress/decompression." }, { "commit": "d2602a5c0762ca7ad1cd275587556f2a280b8098", "date": "2015-02-03 20:33:33 -0500", "subject": "Tracking down a lockup in the restore threads. It doesn't happen in backup - they are the same except that restore uses the ThreadGroup object. I'm beginning to think that threads and objects don't play together very nicely. Objects in threads seems OK, but threads in objects, not so much." }, { "commit": "7bee43372d41df531d6c571140dbb8eed805adf2", "date": "2015-02-02 21:10:44 -0500", "subject": "Increase timeout." }, { "commit": "d4aae88becf6e82df8f5e3eb71c24a17098bed88", "date": "2015-02-02 20:11:32 -0500", "subject": "Try non-blocking dequeue in backup." }, { "commit": "850c978240329d536f641e6832871e738526e435", "date": "2015-02-02 19:56:48 -0500", "subject": "All restore compares no-start-stop for now." }, { "commit": "d93b246a692b29f09fcb1b8539dbaad443da1e14", "date": "2015-02-02 19:34:34 -0500", "subject": "Empty restore queues in a non-blocking way." }, { "commit": "7f38461c6814e0e092ee83a3222112aa21c85456", "date": "2015-02-02 18:48:33 -0500", "subject": "Remove ThreadQueue->end(). Not supported on all platforms." }, { "commit": "bde8943517ad260d87414ba6f8aa03c3e799e790", "date": "2015-02-02 18:33:11 -0500", "subject": "Fixes to restore compare unit tests." }, { "commit": "8abcf6caf109479e069f2ec36bf37d7007261c22", "date": "2015-02-02 08:28:37 -0500", "subject": "For no just ignore sizes in the tests since they are normal and do not indicate a bad backup." }, { "commit": "a6d3b7e1a960052728cc274645ebb011b741ab18", "date": "2015-01-31 23:04:24 -0500", "subject": "Working on checking restores against the manifest. Current issue is that the manifest does not always record the final size of the file - it may change while the file is being copied. This is fine in principal but makes testing a pain." }, { "commit": "018a2afacadbf9e6a848c1e0ff66f0cd9d732755", "date": "2015-01-31 18:23:37 -0500", "subject": "Moved bNoStartStop tablespace mapping to Manifest object." }, { "commit": "d7b669d5605bf75116c2d9584c745dfff9fee54c", "date": "2015-01-31 18:15:08 -0500", "subject": "Moved manifest build to manifest object." }, { "commit": "cd500484a2ddebdd43730c051835c3b5b18d83fe", "date": "2015-01-31 17:37:55 -0500", "subject": "Revert \"Working on doc formatting.\"", "body": "This reverts commit a0559799fd2330e7d6c7a28f431bbdd2828eb80e." }, { "commit": "a0559799fd2330e7d6c7a28f431bbdd2828eb80e", "date": "2015-01-31 17:36:25 -0500", "subject": "Working on doc formatting." }, { "commit": "682d419d082f96628811909a969101d61b5a2c4f", "date": "2015-01-31 17:32:16 -0500", "subject": "Fixed file list." }, { "commit": "1ba176285e38e85e03dab31718cfc1a742bcd574", "date": "2015-01-31 17:10:19 -0500", "subject": "Work on restore/recovery docs." }, { "commit": "f94812932a3fc3c3a59ac2da499268c9768ba2e6", "date": "2015-01-31 16:27:32 -0500", "subject": "Working on operations docs." }, { "commit": "267efbd71d56af8b2dc68dc5d21c710b69e16bbb", "date": "2015-01-31 15:37:59 -0500", "subject": "Fixed restore::thread-max" }, { "commit": "0c9da6a5ab8cdfe8283cebfbb7ea8fb751857e1d", "date": "2015-01-31 15:06:53 -0500", "subject": "Removed version file - redundant to the version in backup.manifest." }, { "commit": "e524c4dd1a9e1fe0ae4a46f90eb12ae7a50bb333", "date": "2015-01-31 13:48:09 -0500", "subject": "Timeline unit tests are working. Options from config file are being written to recovery.conf. Fixed issue with .history files not being picked up by archive-xfer." }, { "commit": "cd9df8b4f87cb2042c1b2ddfbba1a1fe76a1fdee", "date": "2015-01-31 09:05:05 -0500", "subject": "Renamed uninit to cleanup." }, { "commit": "11c257296a7632ae760b1ddae66beec2f9e114ca", "date": "2015-01-30 20:16:21 -0500", "subject": "In the end it was a single non-undefed reference holding up the show. The Backup file should be split into Archive, Backup, Expire, and made into objects. That would cut down on this kind of nastiness." }, { "commit": "50e015a8385e347e2ba75fb84f9ab7c5fef7fa70", "date": "2015-01-30 18:58:49 -0500", "subject": "Revert \"Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes.\"", "body": "This reverts commit e95631f82ac8c15cb2492bb321703797be54eff6." }, { "commit": "e95631f82ac8c15cb2492bb321703797be54eff6", "date": "2015-01-30 14:55:55 -0500", "subject": "Abortive attempt at cleaning up some thread issues - I realized the issue is in mixing threads and objects too liberally. Trying another approach but want to keep this code for historical and reference purposes." }, { "commit": "fb934ecce9c204a5ed1d444b8c3876c8393af440", "date": "2015-01-30 14:54:08 -0500", "subject": "Allow immediate stops when discarding data at end of unit test. Makes the shutdowns faster." }, { "commit": "19e455afc1c152f212d0de771bb373a03ab5a8a1", "date": "2015-01-28 16:25:38 -0500", "subject": "Some fixes in unit tests - more needed." }, { "commit": "499d6c84220d9b9e916686aeef2c605aa6995b0b", "date": "2015-01-28 13:14:46 -0500", "subject": "Added tests for all --delta --force combinations. Added error check for postmaster running. Added error check for path not empty." }, { "commit": "16dd2717942eb52004e4cee3510fc524d8042fc9", "date": "2015-01-28 11:12:21 -0500", "subject": "Added an incremental backup to vary the unit tests." }, { "commit": "139b1cf87242995e41a68dbcb35a10c72da9d592", "date": "2015-01-28 10:29:29 -0500", "subject": "Fixed small race condition in cleanup - the archiver was recreating paths after they had been deleted. Put in a loop to make sure it gets done." }, { "commit": "60550cd45b802b9d1859d9bdd22f5211b9908944", "date": "2015-01-28 00:28:21 -0500", "subject": "Archive async now works local, but there is a pending bug to make sure archive::path != backup::path. Added code to be sure that restore will not try to log into the backup path unless it is local." }, { "commit": "b98b2df9f83c70516de37d574d36dcf6194b8f1d", "date": "2015-01-28 00:26:20 -0500", "subject": "Fixed wait_for_file() so that it will not error if the path does not yet exist." }, { "commit": "a59bd8c3281237f35da0ad4b7af33953cf53a26b", "date": "2015-01-27 22:59:59 -0500", "subject": "Restores except for type=none are mostly working. There are some failing unit tests to fix." }, { "commit": "13544d51bf9be1128486b167a3ecb5dc3fb6a09c", "date": "2015-01-27 11:44:23 -0500", "subject": "Recovery is working for none and default, but unit tests are not complete." }, { "commit": "f59aae101df6cb877f644a47e461e5e35440b21d", "date": "2015-01-26 14:59:58 -0500", "subject": "Ready to start writing recovery unit tests." }, { "commit": "ac22c314a90143f1a23f782b88d3f60e14dc6b32", "date": "2015-01-26 11:01:24 -0500", "subject": "Working on plumbing for recovery options." }, { "commit": "eeffd62a12d7afa70794dfefcdbfdc08a4083760", "date": "2015-01-25 17:27:46 -0500", "subject": "Working on recovery options." }, { "commit": "6db49e10831cafa4088b300b2884139bfd0662d0", "date": "2015-01-25 12:20:12 -0500", "subject": "Cleaned up some time functions." }, { "commit": "9069c34e3412889848da22abd5f4697ef8151010", "date": "2015-01-24 11:05:26 -0500", "subject": "Added more tablespace changes to backup unit tests." }, { "commit": "e1c5f7f8edf23d561ba7e730eb718cb2166e32e4", "date": "2015-01-23 18:28:39 -0500", "subject": "Now able to check for specific errors in unit tests - as long as they are raised with an error code." }, { "commit": "c6dad127486b569d683ae9cdff4f10693a3b4453", "date": "2015-01-23 14:12:53 -0500", "subject": "Using usleep for more resolution," }, { "commit": "d3763908e741d9d675d9967e2531dfd195ca03ba", "date": "2015-01-22 21:20:49 -0500", "subject": "Added longer sleep to show how big an issue this can be." }, { "commit": "a3b3f98f66e6e36154831800434e1a7ad3dac431", "date": "2015-01-22 20:55:16 -0500", "subject": "Fixed some issues with remote backups after restore (unit test bugs only)." }, { "commit": "21c715b25c2fd484e8b4e8d53b64a9b2d59ad7d6", "date": "2015-01-22 20:11:33 -0500", "subject": "Restore tablespace remaps are working." }, { "commit": "df4b50b9778d50b1c39fa5828c18cb2e68a5c92c", "date": "2015-01-22 19:04:55 -0500", "subject": "Restore with base path remap working." }, { "commit": "82969eb4971eb78b6a992b2f48e46c1a49189737", "date": "2015-01-22 17:43:19 -0500", "subject": "Wrote some helper functions to make backup unit tests simpler. Fixed an issue with checksum generation in resume." }, { "commit": "b53cb9f64e4d665ce138d98aecc99404db0a127c", "date": "2015-01-22 10:54:02 -0500", "subject": "Unit tests for backup resume. Improved warning message when a backup cannot be resumed." }, { "commit": "fc2838d60fea12347de7be0c239ed72a80446774", "date": "2015-01-21 18:37:49 -0500", "subject": "All references to old-style manifest eliminated (hopefully)." }, { "commit": "ade9ad78b4523b51051c536ca3814e5f1acf8521", "date": "2015-01-21 13:57:58 -0500", "subject": "Allow file keys to be validated on remove." }, { "commit": "ba7a939798d2499d40e5c1fd8ece9b6b6141777b", "date": "2015-01-21 10:44:08 -0500", "subject": "More migration to manifest object." }, { "commit": "a938813c017095dbba6160b433cc164bdea04fac", "date": "2015-01-20 19:04:45 -0500", "subject": "More migration to manifest object." }, { "commit": "c33bc1e899af1ef6ec23ec9bd73bdcc257636428", "date": "2015-01-20 18:00:03 -0500", "subject": "More migration to manifest object." }, { "commit": "26c568b7bcd58934a44f93a55a8ef28e5259ef17", "date": "2015-01-20 16:20:27 -0500", "subject": "Manifest checksum failure shows expected value to allow manual fix - though not recommended." }, { "commit": "92c9ed8963b9f73c104d684fd73ad376b751323b", "date": "2015-01-20 16:05:15 -0500", "subject": "Added checksum to manifest to detect corruption." }, { "commit": "44fad1f4a442cf18cf712c70f2eb4018f3f66a02", "date": "2015-01-20 14:42:22 -0500", "subject": "Improvements to manifest save." }, { "commit": "8a7ee1bb1f69928d37c8803cdd018197b68567be", "date": "2015-01-20 14:13:35 -0500", "subject": "Integration of new Manifest object." }, { "commit": "15a45f31f4632250620aa955cddb3e4f46427eec", "date": "2015-01-20 12:17:39 -0500", "subject": "Added feature list." }, { "commit": "e20f93ef1bca2fcac214b8ce6a732053c55f201c", "date": "2015-01-12 09:05:26 -0500", "subject": "Cleaned up test usage." }, { "commit": "84abcd7d61ce46eead29f790d6b528f3105f499b", "date": "2015-01-11 11:53:03 -0500", "subject": "Minor fixes." }, { "commit": "34116d3816ac0425bb0e787be266abade3e501c0", "date": "2015-01-11 11:52:16 -0500", "subject": "Added usage to test.pl and automatic search for psql-bin." }, { "commit": "425e9485aaf171864e4e0ad7a327f9a60378a33d", "date": "2015-01-08 16:36:45 -0500", "subject": "Re-added File-hash() - accidentally deleted it when working on owner()." }, { "commit": "131d91090614382780d16daec1815b53ebda97f2", "date": "2015-01-08 15:43:43 -0500", "subject": "New structure for --delta and --force params." }, { "commit": "2e09df2cec296b3b639ae14238c56e48836b1ff0", "date": "2015-01-08 12:04:56 -0500", "subject": "More work on new manifest object." }, { "commit": "0085e88966a48f1e5667f1e7618474c03578b04d", "date": "2015-01-07 12:58:21 -0500", "subject": "Added File-owner()" }, { "commit": "4f5ad8496d8d31b27a1da60de064716ce073062e", "date": "2015-01-07 10:59:43 -0500", "subject": "Integrating new manifest object." }, { "commit": "d6d57e654e48101fdbd2ef06316f71b395dbdfd1", "date": "2015-01-06 13:08:56 -0500", "subject": "Fixed the way wait was done after the manifest is created. Previously, waits were done for base and each tablespace which is not very efficient. Now one wait is done after the entire manifest is built. Also storing the exact time that copy began." }, { "commit": "43098086afd9cbf4e487a18fd2c2d6c486e4e224", "date": "2015-01-03 16:49:26 -0500", "subject": "Implemented timestamp last modified to record the time of the last modified file in the backup. Also added timestamp-db-start and timestamp-db-stop to for more info. timestamp-db-start can be used for PITR." }, { "commit": "91b06bef475d6ad17036c27337be59db35460f0d", "date": "2015-01-03 14:22:59 -0500", "subject": "File->manifest detects files that are modified in the future." }, { "commit": "2449d7384cd725587d8ee1ddff884581105fe796", "date": "2015-01-03 12:56:44 -0500", "subject": "Wrote a new test to check rsync collisions." }, { "commit": "2e080eedb85f7394d40fb14ec6c92b0a3e11aba5", "date": "2015-01-02 14:18:07 -0500", "subject": "Added an optional delay after manifest build so that files are not copied in the same second that the manifest is built. This can result in (admittedly unlikely) race conditions that can produce an invalid backup. I was also able to reduce the sleep types when waiting for thread termination - so unit test times are improved by almost 100%." }, { "commit": "297b22cb2bde9dddf99f557a40f8a6fb6e0807c8", "date": "2015-01-02 14:15:15 -0500", "subject": "Added INFO level logging when paths/files/links are removed during the clean phase of restore deltas." }, { "commit": "32b37335a14dd1f7ed98200df3869b0443afb2d8", "date": "2014-12-31 19:03:03 -0500", "subject": "Trying to find realistic conditions where a file can be changed without the timestamp changing between backups. So far, this is the only case I can make work - it looks like adding a 1 second pause after creation of the manifest would cover this case." }, { "commit": "59e901684d0119ec6547356386190bec90837c72", "date": "2014-12-31 14:59:33 -0500", "subject": "Working on improved backup/restore unit tests." }, { "commit": "fb948de55946fee59f9503df4c377ef19c82a1f8", "date": "2014-12-31 12:28:16 -0500", "subject": "Fixed some minor issues in ownership code found by unit tests." }, { "commit": "7e083e8749d5c767040e451d908bb2d9d9f419e1", "date": "2014-12-31 11:20:46 -0500", "subject": "Restore as root is now working." }, { "commit": "0805055d4b96de49f4ee0e7514f3fde31d95f98e", "date": "2014-12-30 15:41:43 -0500", "subject": "More work on restore ownership code." }, { "commit": "46ba3a18dfb2a0fa5c034571e46edd4297b6272f", "date": "2014-12-30 11:59:57 -0500", "subject": "Ownership code runs through - may not work for all cases." }, { "commit": "9f8f33f957ee7d1db68c48c84ebef2cb43c85cce", "date": "2014-12-23 18:52:38 -0500", "subject": "Working on restore options and integration with unit tests." }, { "commit": "a96b83beb84d1c82b24c8d79e08c674757a4bf25", "date": "2014-12-23 15:03:06 -0500", "subject": "Restore can now remap base/tablespace locations. Made Restore more modular." }, { "commit": "653ab486af8897f1058bf0e846aa739f14a4a33f", "date": "2014-12-23 12:48:25 -0500", "subject": "All restore module variables are now object local." }, { "commit": "51544edc70319b38e000003d50af16eb333c191a", "date": "2014-12-23 11:48:51 -0500", "subject": "Some cleanup in restore." }, { "commit": "2db71e91adf078eda5d687155e8e8beaf98996f3", "date": "2014-12-22 11:24:32 -0500", "subject": "Basic restore functionality is working." }, { "commit": "9086728b73e4c5f2063d9ed3e39a66ed9eade216", "date": "2014-12-21 10:11:17 -0500", "subject": "Restore removes paths/files/links and recreated paths/links." }, { "commit": "1557327d2bb2f3aedb2e3363d89569de02acca82", "date": "2014-12-19 17:49:56 +0000", "subject": "Restore cleans out missing files and some basic unit tests." }, { "commit": "161a73159e9723ada085423ead853ba4d68da0af", "date": "2014-12-18 22:05:06 +0000", "subject": "Added some constants." }, { "commit": "b9d9c7fa66e681266ad213ec4b31691bec313d14", "date": "2014-12-18 16:47:03 +0000", "subject": "Incremented version to .50 since restore functionality if going in." }, { "commit": "1dc00c9d4b14af15febebde963cc70a44f357ec8", "date": "2014-12-18 16:42:54 +0000", "subject": "Starting on restore functionality, finally." }, { "commit": "1a3c5cd9dbd832bb8a6a01a897c2368b21d5418c", "date": "2014-12-18 16:14:30 +0000", "subject": "Added latest link so it is easy to get to the last backup." }, { "commit": "7d19504d3a84867cf910ce03b554f7f5ef0d49b6", "date": "2014-12-18 14:58:07 +0000", "subject": "Removed some tests in full that were redundant with the tests in backup." }, { "commit": "93c7ef3c9ea429c64f035bec1acb6f41a18a3397", "date": "2014-12-18 14:56:01 +0000", "subject": "Moved some code into a more logical order." }, { "commit": "c76a8d64d0abca36fc217c94d22542190e1045ee", "date": "2014-12-16 17:41:54 +0000", "subject": "Moved more config logic to Config.pm" }, { "commit": "61245583472b1a621e69ffbdddedd5bd68d9133a", "date": "2014-12-15 22:20:42 +0000", "subject": "Moved config functions to a new file." }, { "commit": "6dd9e881dc06862d7361a2a1db0d91cf93296e61", "date": "2014-11-27 14:07:09 +0000", "subject": "Added reminder." }, { "commit": "602db70d6a9100d80ec421f66d4e76812cd81b85", "date": "2014-10-20 11:44:36 -0400", "subject": "More backup unit tests." }, { "commit": "9765b4e20b0d1e3878806387ccf0f0cda124abbe", "date": "2014-10-19 17:41:11 -0400", "subject": "Backup unit test - more work on tablespaces and references." }, { "commit": "66a5da6fd1757afc1647a051464417497e49e18f", "date": "2014-10-19 16:30:16 -0400", "subject": "More work on backup unit tests - added tablespace tests." }, { "commit": "4de1d9aa5aed934a293d2540816186656c4b58e1", "date": "2014-10-19 11:46:01 -0400", "subject": "Backup unit tests are working." }, { "commit": "1d43c633265e218fc2346786c5f9046d1bd792db", "date": "2014-10-18 13:25:20 -0400", "subject": "Working on better backup unit tests." }, { "commit": "ed5777101f4402c940f551b9e0321dec98d1e260", "date": "2014-10-16 13:22:34 -0400", "subject": "Changes in how paths are removed." }, { "commit": "b6e0bb2ae550a0ea83f2b1139b771add43d1eb6f", "date": "2014-10-16 08:58:11 -0400", "subject": "Small unit test changes." }, { "commit": "5c216c93d5f62a0c395d2830dcc840c84256f4a8", "date": "2014-10-15 19:11:09 -0400", "subject": "Working on backup unit tests." }, { "commit": "f9ff7c6ec7303ae938df9542af98b45b29e779f2", "date": "2014-10-14 23:58:17 -0400", "subject": "Comments." }, { "commit": "0ba838cd3e06c2464db399eed6b08216b65138ab", "date": "2014-10-14 21:44:42 -0400", "subject": "Checksums seem to be working again - still waiting on the new backup unit tests to confirm." }, { "commit": "59a267d6387c463ff0cd469ca8ac1c00e4125d38", "date": "2014-10-14 15:46:03 -0400", "subject": "Fixed typos." }, { "commit": "b19dd9b5529fab599b536dd5819bc7050d884df7", "date": "2014-10-14 15:44:50 -0400", "subject": "Changes to the aborted backups code." }, { "commit": "3a54eaf9dec90896cedb9a3ab34219c02babcae9", "date": "2014-10-14 08:27:50 -0400", "subject": "Last backup type is now checked - still need a unit test for it." }, { "commit": "c8aeadce8eb7f1b9f9bb76b4fc291a920118cb8c", "date": "2014-10-11 00:16:34 -0400", "subject": "Comments." }, { "commit": "aafc0fef6918938a4f32551220afac4340d72c32", "date": "2014-10-10 16:03:33 -0400", "subject": "Removed Moose from the Db object." }, { "commit": "2c173ba53e5dafd5fd090d31c05227250b403ff8", "date": "2014-10-10 15:13:28 -0400", "subject": "Removed moose from File object." }, { "commit": "c1d6890c604c1d9f4e6c940f0ff6e0f552e40e19", "date": "2014-10-09 16:01:06 -0400", "subject": "More Moose removal." }, { "commit": "3d86adadb5a7d3cba91e6839721681d3b1237f37", "date": "2014-10-08 13:54:31 -0400", "subject": "Remote object now using ProcessAsync for de/compression. Removed dependency on Moose from Remote." }, { "commit": "16ebbd2279e25e46b91b65b2684f4e3a7fce9525", "date": "2014-10-06 20:53:34 -0400", "subject": "Documentation fixes." }, { "commit": "74cae73ee0ddee2d16bd5d7e923f23538cd94bc7", "date": "2014-10-05 20:21:15 -0400", "subject": "Moved version number to v0.31." }, { "commit": "4bc4d97f2bfc8702937fe931b5b8d956a73d42f6", "date": "2014-10-05 19:49:30 -0400", "subject": "v0.30: core restructuring and unit tests" }, { "commit": "de35cedc277615bfb777f8a522d35a0d807de9dd", "date": "2014-10-05 18:52:05 -0400", "subject": "Working on getting async process thread into Remote.pl" }, { "commit": "122dc65351f9553f06d374c6c7b29e6357261dc4", "date": "2014-10-03 09:31:23 -0400", "subject": "Added compress and checksum settings to backup manifest." }, { "commit": "fbc2ae132541eafe92e27cd6d6be0d003bf4e16d", "date": "2014-10-02 14:34:58 -0400", "subject": "Fixed function names in comments." }, { "commit": "4cbc6c650a6c1fe3924e91e3fb5b53181a9dfcd9", "date": "2014-10-02 13:54:26 -0400", "subject": "File->hash now works on compressed files." }, { "commit": "991afe3b161e06d940be7acb70a2f8596a495eb2", "date": "2014-10-02 10:55:38 -0400", "subject": "Merge from dev-0.30." }, { "commit": "168398e58a374f062a156088fc4e3571d5772f98", "date": "2014-09-30 15:51:08 -0400", "subject": "Merge from dev-0.30." }, { "commit": "5151b103e8eb985b9cbb91a90a580db122b4afe8", "date": "2014-09-29 23:10:53 -0400", "subject": "Formatting." }, { "commit": "5f30ae3c463ba28759dd5e87a339599f3e95fabd", "date": "2014-09-29 19:51:51 -0400", "subject": "Merge branch 'dev-0.30' of https://github.com/dwsteele/pg_backrest into dev" }, { "commit": "aab5ec2943919c7990d0da202275bd978ce384c1", "date": "2014-09-29 19:39:28 -0400", "subject": "Converting _ to -. Last one I hope." }, { "commit": "bdbdaf39d35e8bfcc88976179716843571890c23", "date": "2014-09-29 19:08:08 -0400", "subject": "Work in progress - new hash method." }, { "commit": "82b0bc0e72c6a47efb7891098ffa854ca2c69621", "date": "2014-09-29 22:51:02 +0000", "subject": "Fixed relative path issue in archive-get." }, { "commit": "7ed6587c42c4594dc4bd9939e12386cb1f4e73ad", "date": "2014-09-19 17:51:51 -0400", "subject": "ISSUE-11: Added --no-start-stop and --force options." }, { "commit": "07801a9a3c9573d44a664c109d4e48affe5406a2", "date": "2014-09-19 11:22:26 -0400", "subject": "Changed timestamp keys to be more consistent." }, { "commit": "121cb8a811710ab739f680e2b97d0f03c6075024", "date": "2014-09-19 10:47:22 -0400", "subject": "Title fix." }, { "commit": "7b1039dbe284beb436557a7db2c7da20967c3ad7", "date": "2014-09-18 17:39:24 -0400", "subject": "Fixed error message." }, { "commit": "535f32c8275c780b64e04dc30da2d4ec4333b744", "date": "2014-09-18 17:24:40 -0400", "subject": "Removed old unit tests." }, { "commit": "6ac124493d1cd0aacbb0d342745c43f240f1eddd", "date": "2014-09-18 16:42:13 -0400", "subject": "Added prior backup label to backup.manifest" }, { "commit": "82f22dd9fedbb01cbad24697b605a16a25d5f541", "date": "2014-09-18 16:41:36 -0400", "subject": "Documentation for config functions." }, { "commit": "fd12299ecd1b39246ede3a2100419cc624c64bbc", "date": "2014-09-18 15:18:52 -0400", "subject": "Some fixes in test logging." }, { "commit": "77802d3689b7e8f2c161165c50cdff12f0ce6ae6", "date": "2014-09-18 13:13:04 -0400", "subject": "Fixed some language." }, { "commit": "97c12f4eda0847025c78e98bab91bde92dfd3b93", "date": "2014-09-18 12:57:50 -0400", "subject": "Update backrest project description." }, { "commit": "a5f09caff7b4017a09e4f80888c211d5d3d7c713", "date": "2014-09-18 12:37:14 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "3ab81752c00f69c6981bb53d06df60ebc0083666", "date": "2014-09-18 11:50:27 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "d3238daf7ec8926635306c2b8d3294b37405c557", "date": "2014-09-18 11:28:23 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "06ad947102fb54fbe4a48f5b1f77353610c9c716", "date": "2014-09-16 11:22:55 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "65f89bd643f2b14338d80fef1644c1fd4a9ada8f", "date": "2014-09-16 08:55:40 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "4d8c97eb55edd3a6472942cf924cf5965e6b69ef", "date": "2014-09-16 08:21:29 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "48b0e0d4612d3f9156f7d4fccce2fdd3c13c3ac5", "date": "2014-09-16 08:15:49 -0400", "subject": "Using ' instead of \" where appropriate." }, { "commit": "411e870c7a04551614132b3a4f461e88d74ef9b8", "date": "2014-09-15 22:04:26 -0400", "subject": "Notes." }, { "commit": "1125397aae9fc4c59b516b133d5c82337041e070", "date": "2014-09-15 19:00:40 -0400", "subject": "Updated readme." }, { "commit": "f86674da02a7f15f98cf1f64c331277e7fa7f3d3", "date": "2014-09-15 18:26:03 -0400", "subject": "Documentation." }, { "commit": "8c9aa3ab7c511c317b32896aaa2958a198e67927", "date": "2014-09-15 18:18:40 -0400", "subject": "Documentation." }, { "commit": "c5192e0fa5ea46e01d9ec0cf39bb1364c10aeed1", "date": "2014-09-15 18:12:30 -0400", "subject": "More docs, changed hardline default to Y." }, { "commit": "b9b038b328526fb0ea24b2fe879be23d63708e6e", "date": "2014-09-14 20:06:45 -0400", "subject": "Added docs and fixed spaces." }, { "commit": "ab7323711f83d833d391751f0f8a5205282f6214", "date": "2014-09-14 17:07:44 -0400", "subject": "Fixed issue in archive extension." }, { "commit": "cfe8851174e861ae707989874bbe2de3ae50de38", "date": "2014-09-14 16:48:33 -0400", "subject": "A few more fixes for differential." }, { "commit": "c0d81f0d10986e1308b3d90d082d2c65b07bd53a", "date": "2014-09-14 16:30:53 -0400", "subject": "Fixed issues in differential expiration." }, { "commit": "9555775d72800cf69f7859651548298e3c22d350", "date": "2014-09-14 15:55:27 -0400", "subject": "Retention defaults, single-quotes." }, { "commit": "6315d326ea7bb184eea63598cc80b6cda42a6f84", "date": "2014-09-14 15:31:56 -0400", "subject": "Fixed a few issues in manifest." }, { "commit": "23870f60f5038302c8e47aee7d231f4fb89d64ec", "date": "2014-09-14 13:17:07 -0400", "subject": "Small change to fix branch." }, { "commit": "4903a818f3e63494f80525be151911d5f3358b0b", "date": "2014-09-14 13:15:21 -0400", "subject": "Merge branch 'dev' of https://github.com/dwsteele/pg_backrest into dev" }, { "commit": "4551a2d089c448c1e4a61606d63e1510a3fa3b91", "date": "2014-09-14 13:12:37 -0400", "subject": "Docs and unit test fix." }, { "commit": "d83820d962c7ea1c28788129487b2c210e12b374", "date": "2014-09-14 12:50:21 -0400", "subject": "More documentation." }, { "commit": "d7faf578f3e4d5d1e694e704e874b71003a357c7", "date": "2014-09-14 11:46:22 -0400", "subject": "Test configuration formatting." }, { "commit": "b0b6c6a91658993a1186a8e005bd78cb307cd92f", "date": "2014-09-14 11:40:17 -0400", "subject": "More doc tests." }, { "commit": "2dc90edb07f22c30ff89d05cb469866f4a300b4c", "date": "2014-09-14 11:38:49 -0400", "subject": "More work on docs." }, { "commit": "8964ba4502591cd77f65de79607eb8e98c35a2fa", "date": "2014-09-13 14:18:59 -0400", "subject": "Testing formatting." }, { "commit": "e47ec0ab2b370cc531961efed4e91d253abe7e08", "date": "2014-09-13 14:13:50 -0400", "subject": "Working on documentation formatting." }, { "commit": "e7ccced3b4a97433fb7c0061462ae80dc10278a5", "date": "2014-09-13 14:04:54 -0400", "subject": "More work on documentation." }, { "commit": "934159eef0a508913f4b36de71bd019a87a4f3bf", "date": "2014-09-13 11:43:39 -0400", "subject": "More table tests." }, { "commit": "826f9cde2c92f780bd43b0f767612b97b777b420", "date": "2014-09-13 11:35:58 -0400", "subject": "Playing with tables." }, { "commit": "9eb2015d9fbb933dff00d1fb866f7edbc719e7f4", "date": "2014-09-13 11:25:35 -0400", "subject": "Working on documentation." }, { "commit": "fa82d5f0af3d5151a58ad44157a74a82d16428d0", "date": "2014-08-15 10:48:50 -0400", "subject": "Added help (issue #10)" }, { "commit": "679005e537bb0c2bf0a115330a8d9646a7e69c65", "date": "2014-08-14 09:40:20 -0400", "subject": "Some cleanup of the diff/incr code." }, { "commit": "3798071c5f2b9c0f8d89c83c65d962ccfbd7fd1d", "date": "2014-08-12 20:01:36 -0400", "subject": "Added backup.manifest change to last commit." }, { "commit": "e8e7c82b147e2deac127187ae758c0c47061ea5a", "date": "2014-08-12 20:00:52 -0400", "subject": "pg_backrest.pl returns version. Version is also stored in the backup path in the version and backup.manifest files. Merged the two date string functions." }, { "commit": "b48a7e6cc2b4702bf1ad26d652142fbb1c28d931", "date": "2014-08-12 19:17:16 -0400", "subject": "The backup label (and path name) are now created at the end of the backup instead of the beginning. This makes selecting a backup for PITR much easier." }, { "commit": "672c6b2ccb3b5926cd0e6bb0d78524d07bc74db6", "date": "2014-08-12 19:04:46 -0400", "subject": "Backup start/stop timestamp now stored in backup.manifest" }, { "commit": "34cb57f925e0f794e1845eae9b3f85dbdc65fe0e", "date": "2014-08-12 18:36:38 -0400", "subject": "Using checkpoint command instead of pg_switch_xlog." }, { "commit": "6b4a8fbc217bc2aa227d879753695bec860e6c3d", "date": "2014-08-10 21:22:17 -0400", "subject": "Unit tests now working on Ubuntu 12.04" }, { "commit": "0298e8dd16b3bce2c6e8d51ab231b079f148ecd8", "date": "2014-08-10 15:02:14 -0400", "subject": "Created unit tests for files deleted by the db during backup." }, { "commit": "09e2351ae8b17a8eaccba81337e16fc4d7aeb7a4", "date": "2014-08-09 18:35:55 -0400", "subject": "Test log mode is working." }, { "commit": "83d0db27d10ca966f7675239069fbdbd1c4ffc3a", "date": "2014-07-27 18:18:59 -0400", "subject": "Added release comment." }, { "commit": "2d9f027e3a8e7ded65efda2fe93780f6e624a1bf", "date": "2014-07-27 18:13:23 -0400", "subject": "Cleanup, work on test framework." }, { "commit": "a849f2d2fdf4709790246bf9d3f65c5b71cee5ee", "date": "2014-07-27 14:26:07 -0400", "subject": "Removed remaining decencies on Config::IniFiles" }, { "commit": "6f4310db426da453f498eb7eac47d6c32608993e", "date": "2014-07-27 14:03:21 -0400", "subject": "Changes for testing - finished changing config to local implementation." }, { "commit": "50dd95c005136aeb03ae5907028c696af6b173db", "date": "2014-07-25 19:07:40 -0400", "subject": "Sync up - hopefully." }, { "commit": "287e15f01facef1d7174d31d6b1f8e4f86323562", "date": "2014-07-25 18:31:56 -0400", "subject": "Test commit." }, { "commit": "6614f50cc824de153454d86c9c7c3a3d273ecf99", "date": "2014-07-25 18:18:20 -0400", "subject": "Test change" }, { "commit": "9dd3df6fd324e33411f539aa63b901cd9895205b", "date": "2014-07-23 08:04:48 -0400", "subject": "Added to feature backlog." }, { "commit": "75160a41b9690e01575df334c00f671a5f4f1d01", "date": "2014-07-21 08:11:04 -0400", "subject": "Added notes for some changes." }, { "commit": "06b5ee3f753e87d15a0c7d34488346c0d3c225f4", "date": "2014-07-16 23:38:38 -0400", "subject": "Working on new config load/save functions and unit tests." }, { "commit": "f6e01de7ced32b89a1cf0f68a2c631fcaa1b127d", "date": "2014-07-16 20:28:47 -0400", "subject": "Improved backup::full unit test." }, { "commit": "5d39b4f64660ccbd4cee64033c186d9a78f0b231", "date": "2014-07-16 20:07:50 -0400", "subject": "Local backups are now completely local." }, { "commit": "9ad1d79f0000497225366981979cb228be66e266", "date": "2014-07-16 19:15:56 -0400", "subject": "Unit tests for archive-get." }, { "commit": "9d9dae418bc03a4586bdb579d113a651927c4d1a", "date": "2014-07-15 22:32:41 -0400", "subject": "Added archive-put unit tests. Lots of other unit test improvements." }, { "commit": "8d398e4bffe30bdb1b33fb5aa4b5d5880592681c", "date": "2014-07-13 10:37:16 -0400", "subject": "Starting on archive unit tests." }, { "commit": "375545320d3278dc9a585ad136e5cc3d93e28475", "date": "2014-07-13 09:13:19 -0400", "subject": "Added tests for large files (16MB archive log). Fixed a sync error in binary_xfer()." }, { "commit": "ed4bcf3e4681a5002b50d8fc165ba7af0be4035c", "date": "2014-07-12 19:36:12 -0400", "subject": "Whitespace is now cleaned in test.pl" }, { "commit": "353cdb6b31e68d7751b44496ebbab72e26be9a92", "date": "2014-07-12 19:03:39 -0400", "subject": "Local archiving is working again." }, { "commit": "e36a785b1bd7480b0445c118c2ed926132038f75", "date": "2014-07-12 10:26:51 -0400", "subject": "Fixed execute function - now only displays output when there is an error." }, { "commit": "7f4c4e13d2031e78f276ed1fc560e97d3c1f9191", "date": "2014-07-02 19:15:21 -0400", "subject": "Back to Open3." }, { "commit": "fead7aa5f1ae741b25b0bc17458a307f7e08515e", "date": "2014-07-02 18:58:38 -0400", "subject": "Not loving IPC::Run, but saving my work just in case." }, { "commit": "d0ca69d433edf407d6b3ea47032444adb61b3209", "date": "2014-06-30 18:35:05 -0400", "subject": "Integrating IPC::Run - IPC::Open3 is out." }, { "commit": "c300c841eb3177519d16073f2312dd597348fb53", "date": "2014-06-30 08:29:25 -0400", "subject": "Added release notes." }, { "commit": "934b7dbe9b5865d505e1726c299a09597f8c1ce8", "date": "2014-06-29 17:23:34 -0400", "subject": "De/compression is now done in threads instead of forked processes." }, { "commit": "c85413ec6837a36ccf3911f07d63f9eb8648e770", "date": "2014-06-29 10:53:39 -0400", "subject": "Lots of improvements to unit tests. A few bug fixes." }, { "commit": "f9ec149ffe866c1a43b020f1a0e2dfa57b9fdc50", "date": "2014-06-28 14:32:34 -0400", "subject": "Working on unit tests." }, { "commit": "97b9560e5c03eb314282dac3984fc21b5d2a2fad", "date": "2014-06-28 11:47:21 -0400", "subject": "Fixed binary_xfer() issue. Now seems to work in all cases." }, { "commit": "9c160a03e36029c8d4eaaf81344f972820a5a2e8", "date": "2014-06-23 19:08:36 -0400", "subject": "Some refinements to compression." }, { "commit": "e1829bb2d269192fa5af4effcf74e53b293d4ea0", "date": "2014-06-23 18:54:00 -0400", "subject": "First fully working backup in a while." }, { "commit": "88bbbb4222a5de1eb572219b16e92ce92d9817e3", "date": "2014-06-22 20:19:13 -0400", "subject": "Fighting with a relative path issue in archive logging." }, { "commit": "5d01aac92e4f27da4f6459885bfd4d00e0d22da6", "date": "2014-06-22 16:05:00 -0400", "subject": "Working on backup - mostly working except for the last archive step." }, { "commit": "f91dce259f30b20608e882052c91c8466c95c20d", "date": "2014-06-22 14:51:28 -0400", "subject": "Working on backup unit tests." }, { "commit": "8fff74ccfb518dcd837d2407b6a6427dbf8fedbd", "date": "2014-06-22 11:56:01 -0400", "subject": "Backup unit test able to create and drop clusters." }, { "commit": "3c748c4b10ad200c7284c0900f8518fc8b73015f", "date": "2014-06-22 10:54:31 -0400", "subject": "More work on unit tests." }, { "commit": "0b597d8da9ddab0c29bee8de24515ccf1066f667", "date": "2014-06-22 10:30:17 -0400", "subject": "Working on getting backup running again." }, { "commit": "0dd15dd216e5084b7594dba7a23e61d65c07d73d", "date": "2014-06-21 20:08:49 -0400", "subject": "Cleanup." }, { "commit": "753fa11b5d4417952424680d723050a2c76e431c", "date": "2014-06-21 19:16:55 -0400", "subject": "remove() and hash() now working." }, { "commit": "7c161be995a0a157f6f91e3179fc6d8664f96b5e", "date": "2014-06-21 18:19:37 -0400", "subject": "manifest() and list() are working." }, { "commit": "53f1d3c78e795546665ee8b51ef4a3be902955b5", "date": "2014-06-21 15:46:26 -0400", "subject": "path_create() working." }, { "commit": "7bc464a44b4145db527a97012cafc74735dbcd17", "date": "2014-06-21 15:17:09 -0400", "subject": "Working on BackRest::File methods." }, { "commit": "936b8d0db03ee00e24f81a47d24fa8f612ee7018", "date": "2014-06-21 14:19:03 -0400", "subject": "move() is working." }, { "commit": "80206a28e930b7b769494eb05ee035fac69e9c3d", "date": "2014-06-21 12:22:25 -0400", "subject": "Ignore missing source in copy() working." }, { "commit": "e1903d53d01bb707bf9ac3347710d03b24dc4851", "date": "2014-06-21 11:05:29 -0400", "subject": "copy() works when both files are local or both files are remote." }, { "commit": "4a113cae66e8ef4ac83b6089ca2f3fe4c82ff185", "date": "2014-06-21 10:05:49 -0400", "subject": "Better error handling for missing source file in copy()." }, { "commit": "3af52398006b8f2bfd689cea6d9ce94a7a87fbff", "date": "2014-06-21 08:42:30 -0400", "subject": "Various compression options working in copy()." }, { "commit": "08750f2fdafb157721aff191aacbc2f2d927f852", "date": "2014-06-16 06:12:38 -0400", "subject": "Still working on copy()." }, { "commit": "0b3b743f5a6030bedf92f736bc6cb6021f2ced48", "date": "2014-06-15 19:18:26 -0400", "subject": "Stupid compress issue was in the unit test - but did tighten up the code a bit." }, { "commit": "d162ce203d6c70bb80dc0f5224329ae76b53f3f7", "date": "2014-06-15 18:32:43 -0400", "subject": "Trying to get various compression options working in copy()." }, { "commit": "9526975ad357a25d16c37e5c337a8d4186746b53", "date": "2014-06-15 16:53:20 -0400", "subject": "Cleanup, comments." }, { "commit": "adf654edb34df2a6ae67eff691e3e469cd95a5d5", "date": "2014-06-15 15:56:45 -0400", "subject": "In-stream compression now working in copy." }, { "commit": "f51c06119c8d5f52312d41f6d4738bac3abeb0c8", "date": "2014-06-15 09:32:11 -0400", "subject": "copy() works through multiple runs an multiple remotes." }, { "commit": "d568b6525b51b33301a4edb2a7b38660975602cc", "date": "2014-06-14 20:47:32 -0400", "subject": "copy() works with remote in either direction." }, { "commit": "79f85fe6c426ad536382d28ce97bf56e91232207", "date": "2014-06-14 19:50:54 -0400", "subject": "Finally a working copy() with new protocol." }, { "commit": "3a32363a568e09f34d2ec3154ce64754a4175d0e", "date": "2014-06-12 21:56:20 -0400", "subject": "Working on copy." }, { "commit": "976bafca9e84f9efcf43dbbf27183ead85bece4c", "date": "2014-06-07 17:29:11 -0400", "subject": "Added new tests." }, { "commit": "ca6823986d2e6ab6aeebe0d8cc4389eff83a0929", "date": "2014-06-07 16:29:03 -0400", "subject": "Sample install file." }, { "commit": "58e70422acb9d8a53d348479da8cdcdaf2ffc655", "date": "2014-06-07 16:27:30 -0400", "subject": "Testing install.md" }, { "commit": "166318d00d324504f242a84a134309ff496c06e2", "date": "2014-06-07 16:25:20 -0400", "subject": "Moved remaining libraries and other files." }, { "commit": "31b05eaab3c22346ef6bdec305889f3ca70cfd78", "date": "2014-06-07 16:13:41 -0400", "subject": "Moved pg_backrest_utility." }, { "commit": "0a8a5c7ed484bae9487d6fe3eb0536c70395f787", "date": "2014-06-07 16:06:46 -0400", "subject": "Refactoring - added version file." }, { "commit": "ea1a158d828485ea45cf137ba232497ba00aaab9", "date": "2014-06-07 15:30:13 -0400", "subject": "Improved logging." }, { "commit": "e60e2b22ed4c6d26d39e5c1732871df8f9815ad1", "date": "2014-06-07 15:01:29 -0400", "subject": "Much improved param protocol." }, { "commit": "e07a6b4e3f14fd24b15497f907d3c5589ec80b93", "date": "2014-06-07 13:15:55 -0400", "subject": "Cleaner remote implementation." }, { "commit": "1bc80c50edf1461ff87eec127221569ff4b327a7", "date": "2014-06-07 11:51:27 -0400", "subject": "First passing test with new protocol." }, { "commit": "ae130229ef89c1360796bfbe593c265aae4b6494", "date": "2014-06-06 21:16:24 -0400", "subject": "Working on remote protocol." }, { "commit": "e71a986ef3e1cf43a7edd0207b7d4f97ee21cdac", "date": "2014-06-05 23:51:27 -0400", "subject": "More work on copy()" }, { "commit": "e44cd6c1ca1d789cb0b6a6ef81418d68072377d1", "date": "2014-06-05 22:42:47 -0400", "subject": "More paths through copy() working." }, { "commit": "ca6b435c4ffbfb7459298535cc06fa48f6900d36", "date": "2014-06-05 16:40:05 -0400", "subject": "June Hackathon: copy_in and copy_out functions written, some paths through File->copy() working, basic unit tests setup." }, { "commit": "c2dd53f90885a0ce8bd4399d8e2555c96b36159d", "date": "2014-06-05 10:20:03 -0400", "subject": "Changes to allow specific tests to be run." }, { "commit": "5813aedaa3894d36c4645744fa47b005a635ef08", "date": "2014-06-05 09:59:04 -0400", "subject": "Added recognition section to read me." }, { "commit": "5d09af9cc04c42271a3b5d2879f28a0d6483dfc8", "date": "2014-06-04 13:47:17 -0400", "subject": "Better include markdown." }, { "commit": "82814aebdd0c37206538b8b55229ee686f7d0f68", "date": "2014-06-04 11:58:30 -0400", "subject": "Whitespace cleaning." }, { "commit": "1793b7a5c4d70ee262c57c56faaa2d975d5b9673", "date": "2014-06-03 22:02:56 -0400", "subject": "Comments and formatting." }, { "commit": "1b9782cb9e566fcc08a8c0f23ceba8ecf44e7f15", "date": "2014-06-03 21:22:07 -0400", "subject": "Converted path_create(), improved unit tests." }, { "commit": "ffa45d07bf9d3ba6134341c1f1293560a76e57bc", "date": "2014-06-03 19:03:03 -0400", "subject": "New version of move()." }, { "commit": "816c67edfdc9b263bfed9ab7a7fa213d78990436", "date": "2014-06-02 17:48:07 -0400", "subject": "Converted File::compress" }, { "commit": "0249d3516b274b650afc04c16e56fd160f53bc71", "date": "2014-06-02 16:26:37 -0400", "subject": "Manifest is working (unit tests at least)." }, { "commit": "361c2c24bfb92d78b0a7006df6945f714a0c511f", "date": "2014-06-01 18:39:35 -0400", "subject": "Working on manifest." }, { "commit": "03383691932d7951ae036409a16d6b364483b97d", "date": "2014-06-01 17:23:33 -0400", "subject": "Working on more robust file functions." }, { "commit": "85f591f801fc7cc19044fb2190829ad1ec057d80", "date": "2014-05-27 09:00:24 -0400", "subject": "More unit tests for file functions." }, { "commit": "3e12f9230b35bc625cc653b620452090ab9b2260", "date": "2014-05-14 15:07:37 -0400", "subject": "Working on unit tests for file_copy. Still need to add specific error tests, timestamp, and permissions." }, { "commit": "db40553434035ffc4ab1f61061f429f023bde5b8", "date": "2014-05-13 16:41:20 -0400", "subject": "Changed version." }, { "commit": "1fa8dbb778bfe43bb345639f8e29c9978347c9ef", "date": "2014-05-13 11:47:14 -0400", "subject": "v0.19: Improved error reporting/handling" }, { "commit": "d234aeea64b9cf6e7ec643fdd0d53961769c768f", "date": "2014-05-13 11:23:15 -0400", "subject": "More work on error-handling." }, { "commit": "a2b28623d42d1979d91bc112a411588d8996a66b", "date": "2014-04-28 09:13:25 -0400", "subject": "Working on better error handling." }, { "commit": "53fa574d7eaf5a1574e3f87d41abd8ff5077faf9", "date": "2014-04-13 11:58:35 -0400", "subject": "Merge branch 'master' of github.com:dwsteele/pg_backrest into dev" }, { "commit": "9acbba173e65f40d6032ed47a1760ec48e383b91", "date": "2014-04-13 09:51:51 -0400", "subject": "v0.18: Return soft error from archive-get when file is missing" }, { "commit": "d8c488f73f1453295028d7b464c99869c084f862", "date": "2014-04-11 14:15:56 -0400", "subject": "Added the feature backlog." }, { "commit": "06b8eefd19dc7d75259888a281962d54fa7e121c", "date": "2014-04-03 18:20:46 -0400", "subject": "Fixed up README" }, { "commit": "7aa6c8ecaf3b15e7c4f58ce345f205b7aef2b423", "date": "2014-04-03 18:17:40 -0400", "subject": "v0.17: Warn when archive directories cannot be deleted" }, { "commit": "49536498e6d54e283f656a41d7e1dcd5fbaed487", "date": "2014-04-03 16:52:39 -0400", "subject": "Warning for non-empty dirs instead of error" }, { "commit": "194696f6742d571bdeb49e75f6d9d980c2cbf1fe", "date": "2014-04-02 17:25:37 -0400", "subject": "Working on unit tests." }, { "commit": "9a5bb36c0f5ec13a03c86f61644ac02c46fba679", "date": "2014-04-01 21:41:34 -0400", "subject": "Added notes." }, { "commit": "be1163b948200c409199302ab5c03e724c7b7331", "date": "2014-04-01 10:49:37 -0400", "subject": "v0.16: RequestTTY=yes for SSH sessions" }, { "commit": "235c75b1b00f05312a437bc53c313fd2e19a2d42", "date": "2014-04-01 09:01:34 -0400", "subject": "Added ;" }, { "commit": "7624d65edf340887559c87a806cee6e6da41db65", "date": "2014-04-01 08:59:09 -0400", "subject": "Added TTY code." }, { "commit": "2b8972936ffb52d27678d69f1fc332f712df014e", "date": "2014-03-30 21:02:17 -0400", "subject": "Updates to README." }, { "commit": "765af10c88ff08de48133629c124d472da68af1c", "date": "2014-03-29 18:18:03 -0400", "subject": "Merge branch 'master' of github.com:dwsteele/pg_backrest into dev" }, { "commit": "dafaeb0b82994172ffc8238e14a50db027c53262", "date": "2014-03-29 18:16:08 -0400", "subject": "v0.15: Added archive-get" }, { "commit": "ba2590dc8eb014152ddcb0a1b1e0c59fd8d1fb22", "date": "2014-03-28 15:20:36 -0400", "subject": "archive-get function is working. Added option to force checkpoint at backup start." }, { "commit": "8ae6c2719dfb83a8404265c5e0b72d93bfbdd36a", "date": "2014-03-28 11:59:44 -0400", "subject": "Better code in file_list_get()." }, { "commit": "23df43e781f9a0631b79b723bf4f09ecb3a07a7e", "date": "2014-03-28 11:40:37 -0400", "subject": "file_list_get now works locally and remotely" }, { "commit": "9d949b7ad6446be70316a50d84adf5c24f6f37c5", "date": "2014-03-26 10:53:49 -0400", "subject": "v0.11: Minor fixes" }, { "commit": "126b39855d6680453bbc2af8a565e776b07d4046", "date": "2014-03-25 18:56:05 -0400", "subject": "Working on archive-get" }, { "commit": "e68f836b2e719c822df6b17df68b2a825a4702c9", "date": "2014-03-08 09:12:53 -0500", "subject": "Documented enhancements planned for v0.15" }, { "commit": "bbb3b48cf8181e0a69328dbb12dcf75169f08e24", "date": "2014-03-05 20:06:13 -0500", "subject": "Added comments." }, { "commit": "587bd1f8d9fa3329d95239501399166aa147bda7", "date": "2014-03-05 19:53:13 -0500", "subject": "v0.10: Backup and archiving are functional" }, { "commit": "1617afb704bab58c0e8c8153c8f116f36d196e95", "date": "2014-03-05 19:51:03 -0500", "subject": "Initial commit." }, { "commit": "1a4f2527e32e4ecf2efac9d47a0ab46bd5da891b", "date": "2014-03-05 19:49:05 -0500", "subject": "Fixed version number." }, { "commit": "ae30ec98e9c1ce41bfcbba02adbf7a3e6add95db", "date": "2014-03-05 19:47:05 -0500", "subject": "First release merge from master." }, { "commit": "81616e19bd43ecd1ffae3401dc713149cffb18e7", "date": "2014-03-05 19:45:01 -0500", "subject": "v0.01: Backup and archiving are functional" }, { "commit": "951419178bed96227cff47d1b08a87b40610dce3", "date": "2014-03-05 19:43:23 -0500", "subject": "Initial commit." }, { "commit": "2b55b8ca5ef7eea92f24515155596a5bb46db112", "date": "2014-03-05 19:10:23 -0500", "subject": "Merge branch 'master' of github.com:dwsteele/pg_backrest into dev" }, { "commit": "1eb8e1be2d31724c2f7b01899734411e25b068b5", "date": "2014-03-05 18:56:15 -0500", "subject": "v0.01: Backup and archiving are functional" }, { "commit": "80d5332fa032f604f63e2833e1c919e8c52a460e", "date": "2014-03-04 08:00:51 -0500", "subject": "Squashed commit of the following: " }, { "commit": "f0d82151b91828fece28a57d2de24f5ccc92e0d1", "date": "2014-03-03 16:38:01 -0500", "subject": "Changed thread timeout from WARN to ERROR" }, { "commit": "571d449717fecee1eac64088bde42606fcddc4eb", "date": "2014-02-27 19:15:00 -0500", "subject": "Redirect find error output to /dev/null. Sometimes files are removed from the db while find is running. We only want to error if the find process errors." }, { "commit": "84c4cec257b25fc026f12560d6c0bc5cfb5822ec", "date": "2014-02-27 13:00:41 -0500", "subject": "Put redirects in common places where errors are be output but we don't want to see them." }, { "commit": "ae782d08845e2d9f5fd9df8ce8a05cb472da6f56", "date": "2014-02-25 07:30:45 -0500", "subject": "Made archiving single-threaded so it will work" }, { "commit": "a84478045e7e25d197368a19ac375509f80dfc9c", "date": "2014-02-24 18:04:42 -0500", "subject": "No attempt to kill threads - just abort" }, { "commit": "da41eb3883622a333e6e84056c05964bc2e4e402", "date": "2014-02-24 17:59:42 -0500", "subject": "Added more warnings" }, { "commit": "21b15b7cf6a8b48a4e9c65691eaece5306e47c22", "date": "2014-02-24 09:33:47 -0500", "subject": "Added thread timeout." }, { "commit": "5de8f275f0e9f06a45f1d2dafb540d5db244d505", "date": "2014-02-22 11:14:01 -0500", "subject": "Removed stderr redirects from the master ssh connection" }, { "commit": "0e4f0f1308e15dad9e6d6d07cf9bc92bc1aa1492", "date": "2014-02-22 10:54:02 -0500", "subject": "Fixed issue with archive path expiration" }, { "commit": "e8c7d7aca69dae3ff14cf0065815bced3f2002f1", "date": "2014-02-22 09:05:58 -0500", "subject": "When archive_retention_type is full, use the oldest backup if there are fewer than required" }, { "commit": "9270a6789206a0f2fcd5f92d5faaae5e6ac54973", "date": "2014-02-21 16:09:34 -0500", "subject": "Removed some more stderr redirects" }, { "commit": "6d975d283073e90247214961e31d49959e7765c6", "date": "2014-02-21 08:49:27 -0500", "subject": "No longer discarding stderr" }, { "commit": "0387a8ee09e5fbd66fe8d4dae055f9fea07e6039", "date": "2014-02-21 07:34:17 -0500", "subject": "replaced process id with thread id. Added use thread to all modules." }, { "commit": "ac3ce81621fab54c925eead8c53dee01c797d63e", "date": "2014-02-21 06:42:42 -0500", "subject": "Add process id to logging, don't generate checksum for 0 length files" }, { "commit": "3d8e933343d8b7fa0900d37f68cd235b923980bf", "date": "2014-02-19 16:06:21 -0500", "subject": "More threads" }, { "commit": "857e1774292da086f3ad4e9fca4ed28efea6683f", "date": "2014-02-19 15:13:07 -0500", "subject": "Using separate master queues" }, { "commit": "800cd898317d76b24e8aa7f3acdbcb39cb2de052", "date": "2014-02-19 13:37:18 -0500", "subject": "Thread files are no longer in an array" }, { "commit": "81433c0fdde660c3357526a3447cd1146a6b9f8c", "date": "2014-02-19 13:03:52 -0500", "subject": "Now using one control master for threading." }, { "commit": "b4ac9552d24a12ddf06d4df293a360cd72a1cf4d", "date": "2014-02-18 19:29:57 -0500", "subject": "Skipped files removed from manifest, checksums stored" }, { "commit": "27b820cfb4c5ac0ff5695202cdab98d471e0b95f", "date": "2014-02-18 15:42:51 -0500", "subject": "Backup handles files that were removed by the db" }, { "commit": "187fdaf49bd1d9abb1805e28afc2fab9161bc405", "date": "2014-02-16 19:01:06 -0500", "subject": "Better compression choices." }, { "commit": "5c695a6522fd0092934e60dec7634760cde0673f", "date": "2014-02-16 18:20:55 -0500", "subject": "Improved archive logging and put in max limit" }, { "commit": "13086e96266f8872ad0a07dfbac3289233742242", "date": "2014-02-16 17:02:25 -0500", "subject": "Renamed processes." }, { "commit": "eb25dbdb9dedae5ef7dd35e8e5dbff839168373d", "date": "2014-02-16 16:58:25 -0500", "subject": "Added stanza to command string" }, { "commit": "b45d9c946e74434a01e62b371f9c382dcb64210d", "date": "2014-02-16 16:51:05 -0500", "subject": "Improved command string" }, { "commit": "6d7f89fc98ad2e511e6e549943ff5c8311de89cf", "date": "2014-02-16 01:31:24 -0500", "subject": "change process string" }, { "commit": "577c5af33fe05c961273d0d62c42dbd3320b4d87", "date": "2014-02-16 01:24:54 -0500", "subject": "testing" }, { "commit": "b514058cee5801897530e6d27d1a61b0f6b7692f", "date": "2014-02-15 16:46:13 -0500", "subject": "Changed to perl storable - at least it works" }, { "commit": "392da9162084cb17eb7eff8bf1815e970df8ac3e", "date": "2014-02-15 15:28:22 -0500", "subject": "Remove old local archive dirs." }, { "commit": "0bc40d206cdbf777f56bfa2cb21472da71185872", "date": "2014-02-15 14:33:31 -0500", "subject": "Some fixes for config" }, { "commit": "0979841f1a08352ece1ade8821d69080f82b1132", "date": "2014-02-15 14:18:15 -0500", "subject": "Async compress, thread kill improvements" }, { "commit": "bd00fb7f0ceb86092c3998ac1ac923bb4f28ae2f", "date": "2014-02-15 10:45:01 -0500", "subject": "Still working on thread kill" }, { "commit": "3b2dd68aac9bc00e1b45d2a8d6dfd74da17112f7", "date": "2014-02-15 10:31:57 -0500", "subject": "More robust join code." }, { "commit": "27bf9b65720e278419c0c0a414141fb7b729c789", "date": "2014-02-15 10:09:47 -0500", "subject": "First SSH session is shared between objects and thread 0" }, { "commit": "c7aebf05c4e12dc9fbd7ba4bed838c6110e6cdd0", "date": "2014-02-14 21:39:18 -0500", "subject": "Handle term signals gracefully." }, { "commit": "d100294894e1f1a5b2d35f6807d3e3a18a8c0b7e", "date": "2014-02-14 19:56:28 -0500", "subject": "Ability to resume failed backups, better locking" }, { "commit": "308652cc657f5f015c6affde2d01a784862c96a0", "date": "2014-02-14 09:05:14 -0500", "subject": "Remove a lot of path creates - percent logging." }, { "commit": "e14d52c42a48b2c707ae585e9470c637c9966d46", "date": "2014-02-14 08:23:25 -0500", "subject": "Improved backup threading" }, { "commit": "e93a444a415244de15769f07b69741530254f882", "date": "2014-02-13 23:37:52 -0500", "subject": "Changes to manifest." }, { "commit": "5c393a0df9beb7ce8e78b3b3627bc1114aa1f94d", "date": "2014-02-13 21:44:19 -0500", "subject": "Increased time to wait for log files" }, { "commit": "dccdec2ffa5d145f0dd8efceafaef651f59d72c6", "date": "2014-02-13 21:41:20 -0500", "subject": "trying to make labels stick" }, { "commit": "ae3dcc57f01983e4eac6ca72bb482b9fa2e6e4d3", "date": "2014-02-13 21:31:57 -0500", "subject": "Thread errors now exit" }, { "commit": "6d9e7db1c69ee2f862e2941574c5c60ec8d5130f", "date": "2014-02-13 20:54:41 -0500", "subject": "Increased thread total." }, { "commit": "405d36497dc326b12dbc243a1b3bcd97ce438168", "date": "2014-02-13 20:33:05 -0500", "subject": "Less logging" }, { "commit": "a78d677b1e226cf9cda517ffeb662b63480c4099", "date": "2014-02-13 20:29:42 -0500", "subject": "Wait for archive files." }, { "commit": "d4ba078183f0edd290f136cdb13c43f9f70ffd43", "date": "2014-02-13 18:14:15 -0500", "subject": "Only save manifest once" }, { "commit": "1bec36b65b9ed5f2ca31879dc03877708ce048df", "date": "2014-02-13 18:07:58 -0500", "subject": "Better thread logging." }, { "commit": "2bafa5cf26773ba14da891c1079140c2b9ff08af", "date": "2014-02-13 17:52:38 -0500", "subject": "Logging tweak" }, { "commit": "8453681ccdb41e8ad1e3cf71c2df761bb2341768", "date": "2014-02-13 17:50:14 -0500", "subject": "Logging tweaks" }, { "commit": "4349f0caff1e9a9e1501483af8a64ec594513082", "date": "2014-02-13 17:47:53 -0500", "subject": "Fixes to log level and more logging" }, { "commit": "7d55ce865bf9bf0580c256ae25acbf776692ec3a", "date": "2014-02-13 17:11:53 -0500", "subject": "Work on log levels" }, { "commit": "133e27d813e3e70f7c322fe6705e7104909e8b3f", "date": "2014-02-13 15:26:07 -0500", "subject": "Archive tmp file fix." }, { "commit": "19f9a5193f547a874b871e7388328043da4ad274", "date": "2014-02-13 14:54:28 -0500", "subject": "Minor config changes." }, { "commit": "13a1f0cf246f24dd1fba09543b5fc19ebb065c70", "date": "2014-02-13 13:54:43 -0500", "subject": "Lots and lots of logging improvements" }, { "commit": "14b13d48404aedaf629ea647592b058db324b5c4", "date": "2014-02-13 12:02:45 -0500", "subject": "Async archive log backup working." }, { "commit": "f0df759bb97f3499e6c245fee88fceb491e4b551", "date": "2014-02-13 00:21:25 -0500", "subject": "Small debug fix" }, { "commit": "7c4d463b1da98c4f9c94693ee64c4776075e36e3", "date": "2014-02-12 23:49:40 -0500", "subject": "More balanced backup." }, { "commit": "b770c8ebece6c40190cc9d62f6798eeb32d4a105", "date": "2014-02-12 22:33:09 -0500", "subject": "More work on archive-pull" }, { "commit": "8e60a3111fd22095c6bdbbe99b51c3af87e661a0", "date": "2014-02-12 20:28:27 -0500", "subject": "Lots of archive-pull plumbing" }, { "commit": "16df430b73834c97410565bd96edeb7e7f79714d", "date": "2014-02-12 17:34:34 -0500", "subject": "New constants and basic fork." }, { "commit": "564bd65b3e8241113998558208d561c61b73fbb3", "date": "2014-02-12 16:01:48 -0500", "subject": "Basic plumbing for archive-pull function" }, { "commit": "5181282b7402ecbba88544e4cafddac1c7eb8f76", "date": "2014-02-12 08:04:42 -0500", "subject": "Command line parameter checks" }, { "commit": "729b07fed5eaa8247eaee65bd8f3e1a996bd7752", "date": "2014-02-12 07:45:29 -0500", "subject": "Hardlink now a conf option." }, { "commit": "219120ba811ad102f3c0df60119d645d919d534b", "date": "2014-02-12 07:39:42 -0500", "subject": "Archiving and flag changes." }, { "commit": "b9a2e7093ef381ce3b5e6bf2ee9ebf9cf03fa3d7", "date": "2014-02-11 21:17:30 -0500", "subject": "Some more file debug info" }, { "commit": "1a9f73b781db87e98ea1a42db2b43a29dec950f3", "date": "2014-02-11 17:07:49 -0500", "subject": "Added timestamp to log" }, { "commit": "49dbc897a635262db27de5091e8d330f92efa948", "date": "2014-02-11 16:57:51 -0500", "subject": "Small file allocation improvements." }, { "commit": "9a1de327a197af06ab647d88cd7669ff938b4daa", "date": "2014-02-11 16:37:20 -0500", "subject": "Turned ssh compression on" }, { "commit": "71812fca996ca53d205694c796694bb46dd4fbae", "date": "2014-02-11 16:21:33 -0500", "subject": "Thread total is defined in the conf file." }, { "commit": "171ca709d62a129907e241012e493162c6be2472", "date": "2014-02-11 16:08:55 -0500", "subject": "Better file ordering for threads." }, { "commit": "c58ccb588e846d7012923a927c2b955cffef3a3c", "date": "2014-02-11 15:31:16 -0500", "subject": "Parallel backup now working" }, { "commit": "a55b37efc31e6a6074ed98fe8c92ff10cfaf277b", "date": "2014-02-07 19:34:14 -0500", "subject": "Working on parallel backup" }, { "commit": "820791cf922e4c186288ee005e87a914df4d6c3e", "date": "2014-02-06 17:31:33 -0500", "subject": "FF log is skipped for pre-9.3 databases." }, { "commit": "60b2be58ac5e410719335993dabf218decc266d5", "date": "2014-02-06 16:37:37 -0500", "subject": "Finished db object abstraction" }, { "commit": "f20f3b3ee642c02b3b4295b235bc59b99a48af20", "date": "2014-02-06 15:54:22 -0500", "subject": "Started db object abstraction." }, { "commit": "9d08f2a64494c9528c30531bd95b7306484f229e", "date": "2014-02-06 12:49:54 -0500", "subject": "More robust config. Retention is read from config." }, { "commit": "a2b0d7a674a1524f53440be45d333409a3ad1a2b", "date": "2014-02-05 22:26:10 -0500", "subject": "Backup expiration working again. Other changes." }, { "commit": "27986e0c10999660078e7c74b25bc99eb3e028ce", "date": "2014-02-05 21:39:08 -0500", "subject": "File is now an object." }, { "commit": "3e7faf0e5f7d3f61856f0c7f3b50329172e69585", "date": "2014-02-05 16:53:25 -0500", "subject": "Some path fixes." }, { "commit": "7bee0f3141a301c0a1fa1bb8d092dbbd317fe296", "date": "2014-02-05 15:56:05 -0500", "subject": "Moved backup location." }, { "commit": "a15fcb8c23e11bb2ec056abe13120591cd70c515", "date": "2014-02-05 13:10:36 -0500", "subject": "Moved tmp path." }, { "commit": "7ffade2453afafb98d2d67d3612742e17075947e", "date": "2014-02-05 11:35:09 -0500", "subject": "Fixed file mod time and permissions" }, { "commit": "c86a61ca3e15acc1afc09c400aa866a958e1fd27", "date": "2014-02-05 10:40:49 -0500", "subject": "Relative links working for tablespaces." }, { "commit": "12a960f91a59fbcce53659b1ed4fbed5a1ba8fc9", "date": "2014-02-05 08:21:27 -0500", "subject": "File copy supports decompression" }, { "commit": "a81049995859666f378ee804ef15aba1d87543e2", "date": "2014-02-04 18:48:39 -0500", "subject": "Remote backup fully working." }, { "commit": "e38c482a26d270b19813c67829f0df977afa0996", "date": "2014-02-03 20:48:02 -0500", "subject": "Cleanup" }, { "commit": "946b8261cfedd62114642344614392426196ba00", "date": "2014-02-03 20:29:03 -0500", "subject": "Moved archive_push function" }, { "commit": "d5832a70c05dd40e73d6457e2b287f500454b781", "date": "2014-02-03 20:23:04 -0500", "subject": "Moved last backup function." }, { "commit": "aef6730267af465eea3ab99ecd06917f1628d176", "date": "2014-02-03 19:57:21 -0500", "subject": "Moved backup functions." }, { "commit": "316a5b559858b3aea89306efd4f0557c2f386d09", "date": "2014-02-03 19:03:17 -0500", "subject": "Working on remote" }, { "commit": "fa668d50072542890f15d9ebda77bb2ed552e3e9", "date": "2014-02-03 14:50:23 -0500", "subject": "Move file init code to file module" }, { "commit": "aef4adf1f3864de9e844d7fb7bb31afce5e887d2", "date": "2014-02-02 19:03:05 -0500", "subject": "Splitting main perl file" }, { "commit": "4c2e4f7e4924a0cd4ba9d3cae1f99f5fe115d147", "date": "2014-02-02 12:45:59 -0500", "subject": "Lots more work on remote functionality" }, { "commit": "bf8ac7abe6210b2300375ba879ade54f8dd69167", "date": "2014-02-02 11:12:55 -0500", "subject": "manifest_get() now works remotely" }, { "commit": "4556de472240b161eb3e8ac37ece2eac7f5c3278", "date": "2014-02-02 10:40:05 -0500", "subject": "Source and destination can now be remote." }, { "commit": "de972ef5d3bb73f69839a06a43dc9448ccd500cd", "date": "2014-02-01 12:57:27 -0500", "subject": "More work on file_copy" }, { "commit": "52ba8801efe419988a8900b5696944e8015a3a12", "date": "2014-02-01 11:04:33 -0500", "subject": "Working on remote file copy" }, { "commit": "2ad7a3d815da205d2b84372ad3f8279c2572a76e", "date": "2014-01-31 00:04:08 -0500", "subject": "Formatting." }, { "commit": "c5de8fa6e637a877aee003ef623b606d113070c8", "date": "2014-01-30 23:58:26 -0500", "subject": "Created variable for compression extension" }, { "commit": "151ff8ba6049b8a4b98900cbbde23bb540d71796", "date": "2014-01-30 23:24:34 -0500", "subject": "Removed unused strPath param from path_get()" }, { "commit": "52004d3c84b5886e229dcab67729eff2e1ae7291", "date": "2014-01-30 23:16:19 -0500", "subject": "Comments" }, { "commit": "447d83fcdc64c0a075772a6b6f7affb0191e2b2a", "date": "2014-01-30 23:09:34 -0500", "subject": "Removing more copies." }, { "commit": "f86618377c5b8efe7fe18683f0fb009f7391ad59", "date": "2014-01-30 11:35:34 -0500", "subject": "Lots of backup refactoring." }, { "commit": "e13a706c0a251baf9f69126653bb2eabb78064b5", "date": "2014-01-29 15:38:57 -0500", "subject": "More moving. Links now also get references." }, { "commit": "54c73b38139127e0acb9a13be6cd7a94d84851ca", "date": "2014-01-29 15:03:57 -0500", "subject": "Moving stuff around" }, { "commit": "c26b47d4c7d346dd67168333114ee8770baa6efd", "date": "2014-01-29 12:06:30 -0500", "subject": "Abstracting file functions." }, { "commit": "47c3c82540ab3acbf741b6e511b86898e40c9b5c", "date": "2014-01-29 06:40:15 -0500", "subject": "Fixed checksum function." }, { "commit": "12f6d889de8ec6363b3275ccf887b41b3336d994", "date": "2014-01-28 17:16:07 -0500", "subject": "More modular file copy." }, { "commit": "6625ea1405aef8b19b0f5e0c347cb1b7f9761747", "date": "2014-01-23 19:39:51 -0500", "subject": "Coded paths needed for archive logging" }, { "commit": "cdd1ef73069062720af4061b1955d09c3af27330", "date": "2014-01-22 21:40:56 -0500", "subject": "Added general path function" }, { "commit": "161de23c3bf7e4ce7e58f6611acbf227a675cd8f", "date": "2014-01-22 19:03:20 -0500", "subject": "Starting new structure" }, { "commit": "89b96954f6f6aa87d7ad138c7a87a8cf64558fc4", "date": "2014-01-21 22:02:14 -0500", "subject": "Allow any archive file start starts with 24 hex characters." }, { "commit": "7e73cf22cf8df6410600760390c7600eff3b5152", "date": "2014-01-21 21:59:54 -0500", "subject": "Changed where .backup files were copied" }, { "commit": "62ae46e2139e37d2a036131801c85db13148cd0d", "date": "2014-01-21 21:12:24 -0500", "subject": "Archive expiration working." }, { "commit": "a83e94ba27dd0c0958eaca145d4630ef5d7e0fbe", "date": "2014-01-21 20:38:58 -0500", "subject": "Fixed error in the backup regexp" }, { "commit": "faaaa5690f5c2f7999a692a999e3b3de67ff648f", "date": "2014-01-20 20:09:50 -0500", "subject": "Working on archive retention." }, { "commit": "df7ada85c226fb7e851fa4c3e1182e9f1a78fe47", "date": "2014-01-18 10:14:35 -0500", "subject": "Working on expiration" }, { "commit": "1e0f2485dbcf73b730fb04e6f2ef212d46df725d", "date": "2014-01-18 00:03:32 -0500", "subject": "Working on expiration" }, { "commit": "3719d54cc99d6be4b3d22fb853a2c7ff46b4b3dc", "date": "2014-01-15 20:41:29 -0500", "subject": "Some notes. removed dead .backup move" }, { "commit": "a7de734105b876654b7cbc8d9d448f2749176369", "date": "2014-01-12 20:12:49 -0500", "subject": "Some cleanup - fixed tablespace path regression." }, { "commit": "05dcbc2246ed949fec256e45c6c441b26f30673b", "date": "2014-01-12 15:28:19 -0500", "subject": "Working on making backups consistent" }, { "commit": "c1e59048808f969b2380a0607a2447d27822d25b", "date": "2014-01-12 01:46:27 -0500", "subject": "Fixed xlog copy - working on correctness" }, { "commit": "3ed83e78f2dd8a424a9adc396aa3c2eeed6cf39f", "date": "2014-01-11 02:16:14 -0500", "subject": "Working on archive log copy" }, { "commit": "387439ac8e0b01d61f896c67bd92be88acb9b063", "date": "2014-01-10 16:01:25 -0500", "subject": "Working on processing archive logs" }, { "commit": "e23820098d7a1dc83e3e8a1f88616a7aa298e388", "date": "2014-01-10 14:02:56 -0500", "subject": "Notices are not emitted on start and stop backup" }, { "commit": "8b73a26b8425a14ce233f16fa29d38fbaf428331", "date": "2014-01-10 00:49:19 -0500", "subject": "Some notes for things to do." }, { "commit": "49c1fcd3eb33873d402e486bc2b7ede8280d4fc9", "date": "2014-01-10 00:43:26 -0500", "subject": "Backup file is being copied to pg_xlog" }, { "commit": "8e966c50dd1a28e5cfabc8670c88bfbdcb9913aa", "date": "2014-01-10 00:22:51 -0500", "subject": "Removed commented code" }, { "commit": "b5f965942bc370beb7803395f79872323f7c59ba", "date": "2014-01-10 00:21:46 -0500", "subject": "Added optional hard-linking." }, { "commit": "cceac444ad357bf8babe36f906bacdc25b845841", "date": "2014-01-09 21:55:09 -0500", "subject": "Added comment" }, { "commit": "c47ec3d2609539d5437664aad4535bc2a2edad81", "date": "2014-01-09 21:40:33 -0500", "subject": "All backup references are now stored." }, { "commit": "ed5f8226a4a08ca4665bd49b3413bcaf7e4959c5", "date": "2014-01-09 20:12:46 -0500", "subject": "References are from oldest backup" }, { "commit": "bb8fb5b54f14b622af02899c95ad9e8e88d74e8b", "date": "2014-01-09 20:00:34 -0500", "subject": "Sparse backup dirs implemented" }, { "commit": "854972dde65f9560ff8177115e5b2e785e478a28", "date": "2014-01-09 18:23:50 -0500", "subject": "Basic deltas work." }, { "commit": "c89984cd59dc2ca1792d8cd99df1978719aed16e", "date": "2014-01-09 18:02:42 -0500", "subject": "Revert 2914a6d..e31b21f", "body": "This rolls back to commit 2914a6dcc67b120be0ee5d808590849ebe9c3664." }, { "commit": "e31b21f95aa5bad69ab2a31f9fd569d1a2e01a78", "date": "2014-01-09 18:01:34 -0500", "subject": "Revert 52d8697..e0be213", "body": "This rolls back to commit 52d86971183da8f8a88775f0196f44c3ab9440a1." }, { "commit": "e0be2132063932108069a0754d7416c2e2c58624", "date": "2014-01-09 18:01:12 -0500", "subject": "Revert 2914a6d..9633e17", "body": "This rolls back to commit 2914a6dcc67b120be0ee5d808590849ebe9c3664." }, { "commit": "9633e17d04d00e31c80c3d12f848a5351b97963b", "date": "2014-01-09 17:58:40 -0500", "subject": "Revert \"Removed tmp file.\"", "body": "This reverts commit 52d86971183da8f8a88775f0196f44c3ab9440a1." }, { "commit": "2914a6dcc67b120be0ee5d808590849ebe9c3664", "date": "2014-01-09 17:58:01 -0500", "subject": "Working on delta" }, { "commit": "52d86971183da8f8a88775f0196f44c3ab9440a1", "date": "2014-01-03 21:24:13 -0500", "subject": "Removed tmp file." }, { "commit": "ba5075a3e0458874f8b8dff0b4bc1f8cb07243ae", "date": "2014-01-03 21:19:41 -0500", "subject": "New implementation for archive logging" }, { "commit": "6379b723dee94d63ef55134468ff86f588c717f8", "date": "2014-01-03 20:10:53 -0500", "subject": "Set the backup label" }, { "commit": "78457a2f420428cab317e6cdb57446008ad9751c", "date": "2014-01-03 19:59:47 -0500", "subject": "Simplified incremental naming" }, { "commit": "ef846ac8db0d44339214676a88e0ee7c06d1a217", "date": "2014-01-03 19:28:49 -0500", "subject": "Working on backup rotation." }, { "commit": "e6e995ec19f8cb01311ce0f9f2772edbc009b7d2", "date": "2013-12-18 22:08:49 -0500", "subject": "Fixed typo in config." }, { "commit": "ba72eda700cdde982a360cdf99a4a5d367403cf4", "date": "2013-12-18 21:30:51 -0500", "subject": "Commented out dir mod time variable." }, { "commit": "9907c8b7b74bc2b3bef76a47567c695de680a2e3", "date": "2013-12-17 07:47:24 -0500", "subject": "Set file mtime." }, { "commit": "b1ffa9419034ef7f3b6795f64633cf3dab87d052", "date": "2013-12-16 21:59:22 -0500", "subject": "New storage structure, saved archive start/stop location." }, { "commit": "6d992855d213edae6f1f6986226c7b9d9ad55116", "date": "2013-12-15 20:56:42 -0500", "subject": "Cleaning up start stop backup code." }, { "commit": "0d3fa39117e17d1f7cf83927079da7fdaea826a9", "date": "2013-12-15 20:04:07 -0500", "subject": "Added start and stop backup." }, { "commit": "1d21f4f9fa2f659d1f8e441fae00a87d4150373a", "date": "2013-12-15 18:18:54 -0500", "subject": "Added diff to commands." }, { "commit": "31fca50eae78b777c1113957806ad8658d744235", "date": "2013-12-15 17:18:50 -0500", "subject": "Backup more or less works - no start/stop backup or archiving." }, { "commit": "21b7a3f27a373e877f2da845f6f5ac4974d3daac", "date": "2013-12-14 15:02:47 -0500", "subject": "Added manifest load and save." }, { "commit": "8b40ea7d598d3110c04f664b38060336c744290f", "date": "2013-12-14 14:03:08 -0500", "subject": "Tablespace names are now recorded" }, { "commit": "2ba26ffc262404347a46211545a5a2948a3e656c", "date": "2013-12-14 13:14:59 -0500", "subject": "More refactoring." }, { "commit": "d12773ca85fb73fedac018aecdc6ea5283ddbd2f", "date": "2013-12-11 20:39:07 -0500", "subject": "Added generic config command" }, { "commit": "4aa480b858bba7a0114c292132f7289b726258b0", "date": "2013-12-11 20:13:39 -0500", "subject": "Cleaned up some var names." }, { "commit": "299d402209fd4535f1d7aa8dcb32d6c440f61577", "date": "2013-12-11 19:57:54 -0500", "subject": "More cleanup" }, { "commit": "aa6e72bb9cf9e0523db135790c2cf3097db4c97d", "date": "2013-12-11 19:22:41 -0500", "subject": "Refactoring" }, { "commit": "0dba2ab8c7178ec592fe25a0178b5be482f6d544", "date": "2013-12-10 20:16:43 -0500", "subject": "Added backup command" }, { "commit": "0bdccd298269113aa0454506824a230923cfbb17", "date": "2013-12-10 19:18:41 -0500", "subject": "Reversed order of tests." }, { "commit": "f09505f60efbd715fd72b617036db4124c2b5054", "date": "2013-12-10 19:11:54 -0500", "subject": "Working on unit tests for archiving." }, { "commit": "39989dd01c2fd77147a1b775ae6b092f3d86c65b", "date": "2013-12-09 17:26:47 -0500", "subject": "Working on manifest." }, { "commit": "02a9a693b8881698008ba9f83cbffcc2e8be7f3f", "date": "2013-12-06 20:24:14 -0500", "subject": "Working on backup." }, { "commit": "4d42d448e95df1c7535c3b73594483462f5f893c", "date": "2013-12-05 23:29:05 -0500", "subject": "Working on backup." }, { "commit": "12518e72967ee6f54419f1acdb8f01b3cb2da26e", "date": "2013-12-05 08:59:39 -0500", "subject": "Working on backup." }, { "commit": "ae6886c8e058f3a094d7fbb7544122e3e33dc935", "date": "2013-12-04 22:30:26 -0500", "subject": "Started backup command." }, { "commit": "c9c7e340a7d89feb96d1070b45a15dd4fecfeb4d", "date": "2013-12-04 21:37:45 -0500", "subject": "Added config file." }, { "commit": "53b2aae10640d6abb287f9c163f2b6700dc7b9de", "date": "2013-12-02 21:37:01 -0500", "subject": "Added note." }, { "commit": "4a2b009c2e24c4c7c52849ad53358557658ee2a3", "date": "2013-12-02 21:34:25 -0500", "subject": "Removed unused include." }, { "commit": "1e114cdc9de43efdf43ccbd1d296c01f297a2907", "date": "2013-12-02 21:26:32 -0500", "subject": "Fix comments." }, { "commit": "9553baf540404c528b73a1608e5308b93d06d166", "date": "2013-12-02 21:23:10 -0500", "subject": "Basic error checking and options for archive-local command" }, { "commit": "c7c049902fd87c6f4c43d25b9d60d9289a1742f5", "date": "2013-12-02 16:21:40 -0500", "subject": "Added warnings, comments, removed dead code." }, { "commit": "5761832df5ce2e7655602d92f9d1a55a75a75bee", "date": "2013-12-02 15:10:18 -0500", "subject": "Implemented strict." }, { "commit": "a2c98391dfe7f360de7e97f0cb06d55dbb06af3d", "date": "2013-12-02 14:34:37 -0500", "subject": "Starting on configuration." }, { "commit": "2be8c5d9e7cef1256bb9f530d0594aec8bbf1351", "date": "2013-11-23 20:05:04 -0500", "subject": "Working on unit tests." }, { "commit": "5d0251be2f05dbb44063b874a62057040dcc0f66", "date": "2013-11-23 19:16:09 -0500", "subject": "Working on archive-local and beefing up unit tests." }, { "commit": "8b37786e5b640c7a1c270388ac1158cce45ebf72", "date": "2013-11-22 23:24:37 -0500", "subject": "Now connecting to db." }, { "commit": "8db52c115a18f690d42db975ee1bb28363b5135f", "date": "2013-11-22 17:29:01 -0500", "subject": "Fixed whitespace." }, { "commit": "d86e7eb6276bbe1df025c372690c19da8133c4bb", "date": "2013-11-20 22:30:26 -0500", "subject": "Added checksums." }, { "commit": "bc46aefe61871e27281b9b8c9ffc185c8e2846af", "date": "2013-11-20 22:24:30 -0500", "subject": "Fixed for OSX. Do not every use TextEditor on code!" }, { "commit": "e67821a23096f4788f6bef71e7d4d361b7d9858f", "date": "2013-11-20 21:49:07 -0500", "subject": "Working on OSX port." }, { "commit": "9ce37308b5a3fb81e204a37cfbe28bec968126e4", "date": "2013-11-17 21:48:53 -0500", "subject": "Working on archive-local command." }, { "commit": "548578c8c96d304fb777c9aeb233733f97145818", "date": "2013-11-17 13:58:21 -0500", "subject": "Working on unit test." }, { "commit": "d7283f20f9607f0a73931462d88866487500f087", "date": "2013-11-11 20:10:38 -0500", "subject": "Updated license." }, { "commit": "4a562eb55a691c0658b2f148703afacb38587b0d", "date": "2013-11-11 13:08:39 -0800", "subject": "Initial commit" } ]