Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Releases: datacharmer/dbdeployer

dbdeployer 1.19.0

23 Feb 22:07
e603952
Compare
Choose a tag to compare

Introduce flavors, capabilities, and support for TiDB

  • Implement Issue #49 Add support for --client-from=X
  • Implement Issue #50 Change evaluation of version to include a flavor
  • Fix Issue #51 unpack command fails when tarball name doesn't include a version
  • Implement Issue #52 unpack command should create a FLAVOR file for the extracted tarball
  • Add command "dbdeployer admin capabilities [flavor [version]]"
  • Ensure tiDB binaries are recognized as valid.
  • Look for mysql_install_db only when flavor + version need it.
  • Fix Go native tests to use flavor and client basedir.
  • Code formatting.
  • Add tiDB templates
  • update .gitignore and improve main test script
  • Add use template, fixed bug in CONTRIBUTING
  • fix bug in add_option filename
  • Add fix to kill script
  • Add check for template name uniqueness
  • Add check for tidb template names to use a known prefix
  • Add check to prevent replication with tidb flavor
  • Add flavor detection based on files in expanded tarball
  • Fix unpack panic when top directory not in tarball
  • Add tests for TiDB, flavor detection, capabilities
  • Fix Issue #48 MySQLx and group replication
  • Fix Issue #48 "can't enable mysqlx and group replication at the same time"
  • Add new script and better flavor support
  • Change "remote get" docs to reflect changed names
  • Fix Issue #62 TiDB fails on MacOS
  • Add script "after_start" to sandboxes (does nothing by default, but it is used by TiDB to clean-up unwanted scripts)
  • Add pidfile support for TiDB (#64)
  • Change tiDB use and status to use regular template
  • Fix other templates to return compatible error codes and messages
  • Improve Travis test execution flow
  • Fix mock tests for TiDB
  • Add functional tests for TiDB

dbdeployer 1.17.1

26 Jan 09:57
Compare
Choose a tag to compare

Fix Issue #46 - error creating catalog

dbdeployer 1.17.0

13 Jan 18:25
Compare
Choose a tag to compare

NEW FEATURES:

  • Added options --read-only-slaves and --super-read-only-slaves to "deploy replication" command. It only works for slaves of "master-slave" and "fan-in" topologies.

BUG FIXES:

  • Fixed bug in multi-master topologies, where replication ports were not calculated correctly

Code improvements:

  • Added check for IP address in replication creation

TESTING:

  • Added test for read-only replication options
  • Added common failure tests for sandbox creation

dbdeployer 1.16.0

05 Jan 20:20
Compare
Choose a tag to compare
dbdeployer 1.16.0 Pre-release
Pre-release

Added provisional support for listing and downloading remote tarballs.
See Getting Remote Tarballs in the README

dbdeployer 1.14.0

11 Nov 12:22
Compare
Choose a tag to compare

Add support for MySQL 4.1 and improve code readability

  • Modify tests to use information_schema only for MySQL 5.x+
  • Add version info to sandbox scripts to give them more awareness

In general, remove as many hard-coded text as possible:

  • Add function IsEnvSet to check when env variables are set;
  • Add variables for features minimum versions;
  • Add constants for sandbox script names;
  • Add constants for most used error messages;
  • Add comparison functions for testing in a separate package;
  • Replace manual path composition with path.Join

dbdeployer 1.13.0

27 Oct 17:47
Compare
Choose a tag to compare

ADJUSTMENTS

  • Added ability of unpacking "tar.xz" files (tarballs for Linux are compressed with xz instead of gzip as of MySQL 8.0.12)

BUG FIXES

  • Fixed minor issue in unpack-shell. The unpacker was trying to move the shell extracted directory to the server directory.

VARIOUS

  • Code cleanup: fixed many code style violations
  • Added unit test for abbreviations module.

dbdeployer 1.12.3

07 Oct 19:24
Compare
Choose a tag to compare

Minor bug fixes and more tests

  • Merged in PR #39 (add port to prompt)
  • Added tests for common/checks and common/tprintf
  • Refactored some code to improve testability
  • Replaced stack implementation
  • Added tests for stack and concurrency

dbdeployer 1.12.1

23 Sep 13:55
Compare
Choose a tag to compare

Adds cookbook scripts and fixes bug #38

  • Fixes Issue #38 "--force does not check for locked sb"
  • Adds cookbook scripts
  • Adds missing copyright on some files.
  • Adds check for missing copyright to sanity_check.sh

dbdeployer 1.12.0

22 Sep 15:34
Compare
Choose a tag to compare

Added sandbox operations logging (on demand)

  • Added option --log-sb-operations to enable logging
  • Added option --log-directory to change the default directory ($SANDBOX_HOME)
  • Added log-sb-operations and log-directory fields to default values.

dbdeployer 1.11.0

09 Sep 18:26
Compare
Choose a tag to compare

New features:

  • Added option --repl-crash-safe (Issue #36) to get crash safe params without GTID.

Bugs fixed

  • Fixed Issue #35 (--gtid should include relay-log-recovery)
  • Fixed Issue #37 (slave initialization with GTID should use MASTER_AUTO_POSITION)

Testing and more

  • Added test for GTID behavior.
  • Added option to build compressed executables (but defaults is still uncompressed)
  • Added ./scripts/sanity_check.sh to verify formatting and code complaint.
  • Some code refactoring: simplified exit procedure
  • Moved build script to ./scripts