-
-
19 May 2021 20:37:11 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers
- Kwalitee
Bus factor: 1- 78.16% Coverage
- License: artistic_2
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (34.2KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Grant Street Group
Changes for version v1.0.0 - 2021-05-19
- Add basic files (Brendan Byrd)
- Remove pedantic stringification protection for $error (Brendan Byrd)
- Protect $@ from modification by parse_error_class (Andrew Hewus Fresh)
- Add dependency for Algorithm::Backoff::RetryTimeouts (Brendan Byrd)
- Reverse logic of disable_retryable to enable_retryable (Brendan Byrd)
- Fix unit tests to work with DBD::SQLite (Brendan Byrd)
- Skip aggressive_timeouts tests on ancient versions of DBD::mysql (Brendan Byrd)
- Only force disconnects if the connection seems to be in a broken state (Brendan Byrd)
- Fix POD to document new helper classes (Brendan Byrd)
- Enhance warn_on_retryable_error and exception messages (Brendan Byrd)
- Use Algorithm::Backoff::RetryTimeouts for attempts/timeout timing (Brendan Byrd)
- Protect $@ during eval in _set_retryable_session_timeouts call (Brendan Byrd)
- Don't retry connection errors if they aren't considered transient (Brendan Byrd)
- Remove reference to MySQLHacks (Brendan Byrd)
- Use DBIx::ParseError::MySQL for error message parsing (Brendan Byrd)
- Initial Commit (Brendan Byrd)
- Fix bug in is_dbi_error_retryable that mutated the exception object (Brendan Byrd)
- DRY out the target running code in _blockrunner_do (Brendan Byrd)
- Protect any _connect calls, including the initial connection, with a retry cycle (Brendan Byrd)
- Protect ensure_connected call with an eval inside the retry handler (Brendan Byrd)
- Use $storage->dbh in unit test to ensure we always get a live $dbh (Brendan Byrd)
- Add DRY code for timeout string sets (Brendan Byrd)
- Make sure the coderef arguments are the same ones documented in DBIC (Brendan Byrd)
- Move certain aggressive timeouts to a new aggressive_timeouts boolean (Brendan Byrd)
- Fix the max_attempts exception check to be a tad looser (Brendan Byrd)
- Make Retryable.t pass against a (default) SQLite DB (Brendan Byrd)
- Add Test2::Tools::Explain to test requires (Brendan Byrd)
- Factor in the exponential backoff when figuring out if sleep gets called (Brendan Byrd)
- Add large warning for coderef-based connect_info (Brendan Byrd)
- Add the usual localization of $@ and __DIE__ (Brendan Byrd)
- Fix cpanfile deps (Brendan Byrd)
- Add unit tests for Retryable (Brendan Byrd)
- Initial port of Retryable (Brendan Byrd)
- Import the DBIx::* CDTest test files including Helper additions (Brendan Byrd)
Modules
MySQL-specific DBIC storage engine with retry supportModule Install Instructions
To install DBIx::Class::Storage::DBI::mysql::Retryable, copy and paste the appropriate command in to your terminal.
cpanm DBIx::Class::Storage::DBI::mysql::Retryable
perl -MCPAN -e shell install DBIx::Class::Storage::DBI::mysql::Retryable
For more information on module installation, please visit the detailed CPAN module installation guide.