Commit Graph

2268 Commits

Author SHA1 Message Date
Bhaskar Muppana 456ced2c65 Minor backup code cleanup 2017-09-05 09:42:14 -07:00
A.J. Beamon 8390f9c014 Merge branch 'release-5.0' 2017-09-04 09:54:56 -07:00
A.J. Beamon 119f08067c Merge branch 'release-5.0' 2017-09-02 15:11:20 -07:00
Evan Tschannen 6e26ae2bb3 added a new multi_dc configuration 2017-09-01 15:45:27 -07:00
A.J. Beamon 977f1bf46a Merge branch 'release-5.0' 2017-09-01 14:50:21 -07:00
Bhaskar Muppana e1a7e11347 Minor backup code cleanup 2017-09-01 14:39:38 -07:00
A.J. Beamon 395c2fd989 Merge branch 'release-5.0' 2017-09-01 14:12:31 -07:00
A.J. Beamon a1bc561b6e Merge branch 'release-5.0'
# Conflicts:
#	circus/bundles/cachedsmallranges.py
2017-09-01 13:51:14 -07:00
Bhaskar Muppana d834ab9d4d Moving from task->params to Params 2017-09-01 13:50:38 -07:00
Evan Tschannen dc1f7ca6b7 testers now use client locality load balancing 2017-09-01 12:53:01 -07:00
A.J. Beamon a3eceb71ec Merge branch 'release-5.0' 2017-09-01 12:37:16 -07:00
A.J. Beamon 560e172c46 tests: Update binding single key get range performance test to specify a limit of 2 and use exact mode. 2017-09-01 12:36:24 -07:00
Bhaskar Muppana c564aaae68 Moving keyConfigBackupRanges into BackupConfig::backupRanges(). 2017-09-01 11:52:08 -07:00
Evan Tschannen 6f6dbe4b33 fix: load balance will still use second requests when client locality is present 2017-09-01 11:14:18 -07:00
Alec Grieser fe9abbfac9 revert 'Remove unused code' for function referenced in fdbrpc 2017-09-01 09:54:03 -07:00
Alvin Moore 0994587573 Fixed OS X compilation build warnings due to printf field specifiers 2017-09-01 09:35:56 -07:00
Alvin Moore fd439e9d1c Fixed OS X compilation build warnings due to printf field type specifiers 2017-09-01 09:34:53 -07:00
Ben Collins 52f5ad83ea Clean up some boilerplate by switching to SetByteArrayRegion() 2017-09-01 09:29:11 -07:00
Ben Collins f19deec5d7 Remove a few more outdated items 2017-09-01 09:15:59 -07:00
Ben Collins 3aaa131b4f Merge branch 'master' of github.com:apple/foundationdb 2017-09-01 09:03:45 -07:00
A.J. Beamon 64f29ad58f Merge branch 'release-5.0' 2017-09-01 06:40:05 -07:00
A.J. Beamon cc24072a5d Add the multi version API to the list of APIs to choose in the APICorrectness tester. Support for the multi-version client already existed. 2017-08-31 16:23:55 -07:00
A.J. Beamon 6dd37ca2b2 Merge branch 'release-5.0' 2017-08-31 08:51:27 -07:00
A.J. Beamon 6b61b94014 Merge branch 'release-5.0' 2017-08-31 08:35:10 -07:00
Stephen Atherton 6e9de8f35a Bug fix. eraseDirectoryRecursive() on MacOS used to do nothing at all, but now it erases directories recursively. The Linux version was modified to be simpler and use a version of the FTW API that also works on MacOS. 2017-08-31 00:11:18 -07:00
Bhaskar Muppana 871bac0f96 Cleanup submitCleanup() 2017-08-30 18:05:50 -07:00
Bhaskar Muppana b38f131a46 Move keyStateStop to BackupConfig::stopVersion() 2017-08-30 16:22:28 -07:00
Bhaskar Muppana e73b72cdb9 Moving keyConfigStopWhenDoneKey to BackupConfig::stopWhenDone() 2017-08-30 15:31:55 -07:00
Bhaskar Muppana 1655547048 Removing keyConfigLogUid in preference to KeyBackedConfig::getUidAsKey(). 2017-08-30 15:07:36 -07:00
Bhaskar Muppana c1b6f3fdf2 Moving keyBackupTag to BackupConfig.tag() 2017-08-30 14:34:44 -07:00
A.J. Beamon 62d3a1e10e Merge branch 'release-5.0' 2017-08-30 13:48:32 -07:00
Evan Tschannen d61be4c760 Merge branch 'release-5.0' 2017-08-30 12:59:24 -07:00
Evan Tschannen 963e1c3f31 fix: we need to reboot the process even if it will result in too many files, because the check will not succeed without it 2017-08-30 12:58:46 -07:00
Bhaskar Muppana 439193d17b Moving keyBackupContainer to BackupConfig.backupContainer() 2017-08-30 12:48:28 -07:00
A.J. Beamon 45962378c5 Restore version to 5.0.5 2017-08-30 12:06:45 -07:00
Bhaskar Muppana c766bcb797 Moving keyStateStatus to BackupConfig::stateEnum. 2017-08-30 10:38:06 -07:00
A.J. Beamon d9f2c858a0 Rollback version for docs change 2017-08-30 08:34:43 -07:00
A.J. Beamon 33c151d2f1 Merge branch 'release-5.0' 2017-08-29 16:23:45 -07:00
Yichi Chiang d9bc7edda0 Merge from release-5.0.4 2017-08-29 15:04:28 -07:00
Alex Miller 8d97a15c3f BUGGIFY recovery to lock only the minimum number of TLogs required to prevent a quorum.
This is to test the quorum logic introduced in the previous patch, and should
flush out any other bugs that rely on TLog locking during recovery.
2017-08-29 14:43:40 -07:00
Alex Miller f8486d1368 Only ensure a quorum of TLogs are unlocked to confirm the epoch hasn't ended.
Currently, GRV will wait to hear back from (almost) all TLogs to confirm that
they're unlocked and that the current epoch hasn't ended.  This confirms that
there isn't a new set of proxies and using the commit version from the old set
of proxies would violate causal consistency.

However, during recovery, we ensure that no quorum of TLogs exists before
starting a new epoch and allowing new commits on the new TLogs.  Thus, we only
need to wait until we have a quorum of TLogs that are unlocked.

This should be a significant improvement in latency particularly for the cases
when we start running >10 TLogs.
2017-08-29 14:43:40 -07:00
Alex Miller 4c1d61cd08 Assorted minor changes.
In which we:
* Clarify some math in a comment
* Remove misleading debugging information
* Add a useful trace event
2017-08-29 14:43:40 -07:00
Alex Miller dbfa94f735 LF -> CRLF
It appears a previous patch left parts of this file ending with LF, and the
majority of the file ends in CRLF.  I see no reason to keep this inconsistency,
but these line ending wars are going to drive me insane.
2017-08-29 14:43:40 -07:00
Yichi Chiang 6eb980db2f Update version.target to 5.0.5 as next patch version 2017-08-29 14:09:23 -07:00
Yichi Chiang 7f20756977 Merge branch 'release-5.0' of github.com:apple/foundationdb into release-5.0 2017-08-29 14:04:29 -07:00
Alvin Moore 6020d70863 Added trace event to track reboots initiated by ConsistencyCheck workload in simulation 2017-08-29 11:41:27 -07:00
Alvin Moore c95a1be5ec Add trace event for rebooting process during simulation for consistency check 2017-08-29 11:00:44 -07:00
Yichi Chiang 512f02bb8e Update GUID for release-5.0.4 2017-08-29 10:12:00 -07:00
Bhaskar Muppana 819566c166 keyFolderId is not used in File Backup anymore. We are instead using tag->uid based task validation. 2017-08-29 09:26:32 -07:00
Bhaskar Muppana df15dce000 Make BackupConfig subclass of KeyBackedConfig and remoe old way of Task
key validation.
2017-08-28 18:20:55 -07:00