trove/trove
Peter Stachowski eecca3f9e8 Redis should perform backup using BGSAVE not SAVE
When Redis backup was implemented, using the save() command was
chosen as it blocks, making the code simpler to read and understand.
Unfortunately SAVE and BGSAVE have differences beyond one being
synchronous and the other asynchronous, in that SAVE also blocks
client connections while it runs. This behaviour is not optimal,
so the code was changed to use BGSAVE and wait until it completes.

In the case where bgsave() fails (possibly due to memory issues,
save() is called so that the backup will still complete.

The Redis helper was also modified to allow adding more data (to
increase the time the backup takes) and tests were rearranged
to improve chances of success.

Change-Id: I75d9df54b8550b08ce0112e516c17fd717ebb857
Closes-Bug: #1538334
2016-02-01 22:37:35 +00:00
..
backup Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
cluster Merge "Cleanup trove debug and info logging messages" 2016-01-23 03:11:37 +00:00
cmd Marking downgrade as deprecated 2016-01-08 09:36:42 -03:00
common Merge "MariaDB GTID Replication" 2016-01-28 04:04:58 +00:00
conductor Cleanup trove debug and info logging messages 2016-01-15 12:36:42 +00:00
configuration Pagination limit code refactor 2015-10-16 08:11:30 -07:00
datastore Corrected error message for unsupported datastore flavors 2015-10-12 07:09:01 -07:00
db Move to oslo_db 2015-12-14 02:18:06 +00:00
dns Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
extensions Merge "Make Trove exists events notifs be emitted in current audit period" 2016-01-26 18:40:01 +00:00
flavor Fixes hacking rules 2015-05-29 07:27:59 +00:00
guestagent Redis should perform backup using BGSAVE not SAVE 2016-02-01 22:37:35 +00:00
instance Merge "Implement Guest Log File Retrieval" 2016-01-26 21:20:04 +00:00
limits Drop use of 'oslo' namespace package 2015-05-06 20:01:57 +00:00
locale Imported Translations from Zanata 2016-01-22 06:15:14 +00:00
network Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
quota Changes names of some quota values 2015-10-21 12:42:22 +00:00
taskmanager Merge "Implement Guest Log File Retrieval" 2016-01-26 21:20:04 +00:00
templates Merge "Mongodb's "security.authorization" wrong type" 2016-01-29 00:14:41 +00:00
tests Redis should perform backup using BGSAVE not SAVE 2016-02-01 22:37:35 +00:00
README Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
__init__.py fix the version info of trove to use pbr 2015-11-05 11:04:46 -06:00
rpc.py Notification serialization of context 2015-06-10 16:39:33 -05:00
version.py fix the version info of trove to use pbr 2015-11-05 11:04:46 -06:00
versions.py Removes XML api from trove 2014-03-10 00:16:49 +00:00

README

This is the trove code itself