Releases: Percona-Lab/mongodb_consistent_backup
Releases · Percona-Lab/mongodb_consistent_backup
1.4.1
- Oplog/Resolver/Resolver.py: De-duplicating code closing the pool (#280)
- Fix building on macOS (#285)
- Add --archive.tar.binary parameter (#286)
- Option to Allow skipping bucket validation (#287)
- Add support for mongodb+srv:// seed list as 'host' option (#289)
- Pin Pex to version <=1.4 at build-time (#289)
1.4.0
- Rotate: Wrapping the rotate removal under a try-catch block. (#278)
- Configuring all Task sub-classes to use their respected threads configuration item and using the Task threads() functionality (#273)
- Upload/Rsync/Rsync: Adding a function get_dest_dir() to work like in RsyncUploadThread (#270)
- Feature: Add Zabbix Server notification support (#264)
- Fixing rpm filename expression for CentOS 7 (#269)
- Fixes for S3 IAM role authentication (#260)
Thanks to @corey-hammerton for the bugfixes!
1.3.0
- Fix new flake8 'E722 do not use bare except' errors (#238)
- Fix: 'MongodumpThread' object has no attribute 'client_cert_file' (#237)
- Fix S3 upload bug (#226)
- Explicit S3 key (#224)
- Update to Pymongo 3.6.0 (MongoDB 3.6 support) and latest GCE (#247)
- S3 Upload Fixes v1 (#249)
- Dockerhub URL update (#246)
- Log regular console output to stdout, only use stderr for errors (#252)
1.2.0
- MongoDB SSL connection support (#60)
- Support Replica Set Read Preference tag sets (#219)
- Support backup rotation/retention by number of days or backups (#221)
- Support threaded Rsync upload method (to resolve #147)
- Bug fix for zero node score in Replication/Replset.py when max lag >= 10 seconds (#218)
- Default to backup.name 'default' if not provided (#227)
- Use Docker persistent volume maps for docker container (#214)
- Default to backup.location '/var/lib/mongodb-consistent-backup' (#227)
- Make 'threads' and 'retries' vars are upload-component-wide (#190)
- Return more-descriptive error for missing required fields (#186)
- Ensure openssl-libs are required in RPM (for SSL support), add missing BuildRequires (#213)
- Check if Backup/Mongodump.py 'auto' compress mode can actually support compression (#193)
- Raise OperationError instead of unclean exit if gzip unsupported in mongodump (#191)
- Update PyPi requirements (#205)
- Make code adhere to flake8/pep8 standards (#198, #199)
- Build binary+rpm in Docker under the correct OS (#189, #201)
- Support Travis-ci Continuous Integration testing (#197)
- README updates for 1.2.0 changes (#207, #228, #229)
1.1.0
- GCS (Google Cloud Storage) upload method w/threading (#178, #181, #182, #185).
- Fabric and Boto requirements updates (to latest) (#183).
- New feature to disable cluster oplog tailing (ie: cluster-wide consistency) (#175).
- Fsync mechanism added to oplog tailing, 1 x fsync every 1 sec or 100 oplog writes (by default) (#174).
- Allow failures in oplog tailing to stop backup and dump method (#174).
- Ensure Resolver consistent timestamp is not before end of mongodump (Issue #164, fix: #171).
- Only apply quorum checking to electable nodes (#169).
- Default replication delay maximum raised to 10 secs from 5.
- Display more mongodump version information (#170).
- Handle mongodump errors properly (#176).
- Hide GCS secret keys in logging.
- 'make docker' must depend on the bin/mongodb-consistent-backup build in Makefile (#176).
1.0.3
- #149 make s3 upload work (thanks @islue!)
- #150 Send CRITICAL state to NSCA on backup failure
- #152 Handle mkdir in State.py properly
- #155 missing another decode_file_iter (thanks @islue!)
- #157 Makefile 'make install' breaks (thanks @dagoaty!)
- #159 Add ipv6 support (thanks @OmAsana!)
- #161 tail oplog.rs with unicode_decode_error_handler="ignore" (thanks @islue!)
- #162 MultiPartUpload.get_all_parts return 1,000 multipart uploads max (thanks @islue)
- Simplify "make docker" in Makefile to get release number from VERSION file (vs manual update every release)
1.0.2
- Fixed 'username' vs 'user' typo for command-line flag. Resolves #120.
- Updated scripts/build.sh for new Pip 9+ cache flag. Resolves #119.
- Close oplog tailer files cleanly and raise Resolver thread errors. Resolves #121 and #143.
- Support new 3.4 balancer state commands. Resolves #136.
- Fix for ignored 'none' value for 'backup.mongodump.compression', new default: 'auto' for auto-discovering gzip. Merges/resolves PR #126.
- Ignore bson errors for UTF-8 fields in tailed-oplog documents, merges/resolves PR #127.
- Send mongodump password via stdin (if mongodump 3.0.2+) to prevent password leak.
- Set readPreference to 'secondary' if mongodump is 3.4+. This will cause an error if an oplog-tailing Secondary becomes Primary (due to failover after choosing a Secondary).
- Dockerfile updated to use mongodump 3.4.x.
- Fix for replicaset-scoring quorum count problem.
- Fix for creating log directory if it doesn't exist.
- Fix for creating a log file when process is locked.
- Updated 'links' in README.
1.0.1
- Raise exception if Oplog/Tailer/TailThread.py exits before starting oplog tailing
- Fix for '[Errno 39] Directory not empty' when mongodump dump dir already exists (never happens, really)
- Return correct existing-backup count in State:load_backups log-line
- Use lockfile to prevent concurrent access to ZBackup storage dir (ZBackup isn't really concurrent)
- README updates
- Dockerfile update to add 'zbackup' dependency to image
- Added script to run Docker container with persistent data volumes
1.0.0
- Move to dynamic code “Submodules” and subclassing of repeated components
- Restructuring of YAML config to nested config
- Safe start/stopping of oplog tailer threads, additional checking on all thread states
- File-based logging with gzip of old log
- Oplog tailer performance optimisation
- Fixes to oplog durability to-disk
- Live mongodump output to stdout in realtime
- Oplog tailer status logging
- ZBackup archive method: supporting deduplication, compression and option AES encryption
- Support for list discovery/seed hosts
- Support configdb servers as cluster seed hosts
- Fewer (reused) database connections
- Database connections to use strong write concern
- Consider replication operational lag in secondary scoring
- Backup metadata written for future functionality and troubleshooting
- mongodb_consistent_backup.Errors custom exceptions for proper exception handling
- PyPi support added
- Dockerfile support for running under containers
- Additional log messages
- Support for MongoDB 3.4 datatypes
- Significant reworking of existing code for efficiency, reliability and readability
- README and VERSION file updates for changes
- Resolves Issues:
- Duplicates (Resolves) PR: