Fix directory syncs running recursively when only the specified directory should be synced.
Fix path not found
error for incr/diff backups.
Fix failure in manifest build when two or more files in
Fix delta restore failing when a linked file is missing.
Fix rendering of key/value and list options in help.
Add asynchronous, parallel
This feature maintains a queue of WAL segments to help reduce latency when
Add support for additional
The directory is specified by the
Add
Update the
Make backup/restore path sync more efficient.
Scanning the entire directory can be very expensive if there are a lot of small tables. The backup manifest contains the path list so use it to perform syncs instead of scanning the backup/restore path.
Show command parameters as well as command options in initial info log message.
Rename archive-queue-max option to archive-push-queue-max.
This is consistent with the new
Make
Move async forking and more error handling to C. 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.
Improved lock implementation written in C. Now only two types of locks can be taken:
Storage object improvements. Convert all functions to variadic functions. Enforce read-only storage. Add storageLocalWrite() helper function. Add storageCopy(), storageExists(), storageMove(), storageNewRead()/storageNewWrite(), storagePathCreate(), storagePathRemove(), storagePathSync(), and storageRemove(). Add StorageFileRead and StorageFileWrite objects. Abstract Posix driver code into a separate module. Call storagePathRemove() from the Perl Posix driver.
Improve String and StringList objects. Add strUpper(), strLower(), strLstExists(), strLstExistsZ(), strChr(), strSub(), strSubN(), and strTrunc().
Improve Buffer object. Add bufNewC(), bufEq() and bufCat(). Only reallocate buffer when the size has changed.
Add pgControlInfo() to read
Add walSegmentNext() and walSegmentRange().
Error handling improvements. Add THROWP_* macro variants for error handling. These macros allow an ErrorType pointer to be passed and are required for functions that may return different errors based on a parameter. Add _FMT variants for all THROW macros so format types are checked by the compiler.
Split cfgLoad() into multiple functions to make testing easier. Mainly this helps with unit tests that need to do log expect testing.
Allow MemContext objects to be copied to a new parent. 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.
Full branch coverage in C code.
Refactor common/time.c. The implementation provides
Replace THROW_ON_SYS_ERROR() with THROW_SYS_ERROR(). The former macro was hiding missing branch coverage for critical error handling.
Start work on C handle io object and use it to output help.
Don't copy
Split debug and assert code into separate headers. Assert can be used earlier because it only depends on the error-handler and not logging. Add ASSERT() macro which is preserved in production builds.
Cleanup C types. Remove typec.h. Order all typdefs above local includes.
Fix header exclusion defines that do not match the general pattern.
Update docs with 32-bit support and caveats.
32-bit support was added in
Add monitoring examples using
Add example of command section usage to archiving configuration.
Remove documentation describing info --output=json as experimental.
Update out-of-date description for the
Add logic to find the real oid of the
Document build improvements. Perform apt-get update to ensure packages are up to date before installing. Add
Use
Switch from
Move test definitions to
Move help/version integration tests to
Move
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.
Add HARNESS_FORK macros for tests that require fork(). A standard pattern for tests makes fork() easier to use and should help prevent some common mistakes.
Add TEST_ERROR_FMT macro to simplify testing of formatted error messages.
Generate code counts for all source files. The source files are also classified by type and purpose.
Include VM type in
Improve logic for smart builds to include version changes. Skip version checks when testing in
Use
Allow -DDEBUG_UNIT to be suppressed to test how debug macros behave.
Rename Perl tests so they don't conflict with their C counterparts.
Divide tests into three types (
Try tweaking time sync settings to prevent clock drift rather than restarting