Commit Graph

395 Commits

Author SHA1 Message Date
Yichi Chiang c37b48308e Fix the way to get tagName 2018-05-03 11:11:44 -07:00
Steve Atherton e5320fa237
Merge pull request #292 from ajbeamon/printable-encode-backup-beginfile
Encode BeginFile TraceEvent detail with printable
2018-05-01 15:53:48 -07:00
A.J. Beamon f848c68b73 TraceEvents in FileBackupAgent that include BeginFile should be encoding them with printable because of the possible inclusion of the null byte. This causes the detail to terminate prematurely. 2018-05-01 15:35:48 -07:00
Yichi Chiang 52cc592d5e Abort 5.1 backup for 5.2 upgrade 2018-05-01 14:49:14 -07:00
Alec Grieser a1faaafca3
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.1 2018-04-27 16:38:18 -07:00
Yichi Chiang c721ab6854 Fix review comments 2018-04-27 13:54:34 -07:00
Yichi Chiang 6bddf8aefa Upgrade DR from 5.1 to 5.2 2018-04-26 17:24:40 -07:00
Evan Tschannen 2adc66f49e
Removed set_durability_dev_null_is_web_scale 2018-04-26 14:03:00 -07:00
Vince Polsinelli a52e8b8f3c
Fixed broken links to documentation 2018-04-19 11:45:24 -07:00
Alec Grieser 23ef89ae62
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.2 2018-04-19 10:24:43 -07:00
Alec Grieser bba4c065cb
fix broken links within javadocs 2018-04-19 09:44:40 -07:00
Evan Tschannen 57d650062a merge 5.1 into 5.2 2018-04-18 20:44:31 -07:00
Evan Tschannen 77d100e1e6 fix: if a DR cluster has a much lower version than the primary database, it would take a long time to process the empty versions. But the version of the DR cluster before starting the DR to avoid this problem. 2018-04-18 19:37:24 -07:00
Evan Tschannen db98c1b9b6 Merge branch 'release-5.1' into release-5.2
# Conflicts:
#	versions.target
2018-04-17 18:36:19 -07:00
John Brownlee 7bd9324092
Merge pull request #125 from brownleej/go-doc-build-removal
Removes the steps to build godoc from our Makefile
2018-04-13 08:55:35 -07:00
Evan Tschannen c1ba16b3c8 Merge branch 'release-5.1' into release-5.2
# Conflicts:
#	bindings/java/src/test/com/apple/foundationdb/test/AbstractTester.java
#	bindings/java/src/test/com/apple/foundationdb/test/VersionstampSmokeTest.java
#	bindings/nodejs/lib/fdb.js
#	bindings/nodejs/src/Version.h
#	bindings/nodejs/tests/tuple_test.js
2018-04-10 16:50:47 -07:00
Evan Tschannen b02d986e12
Merge pull request #134 from etschannen/release-5.2
hide options that are intended for internal use only
2018-04-10 16:27:53 -07:00
Evan Tschannen 8f300fdec9 Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-04-10 16:01:03 -07:00
Evan Tschannen 528caeb196 continue supporting multi_dc as a hidden option 2018-04-10 15:59:15 -07:00
Alec Grieser 0d08fcf1d3
removed old node.js bindings
issue: Node.js Bindings #129
2018-04-06 17:16:17 -07:00
John Brownlee e35ebc4ccb Updates the format of the generated go file so that it passes our format check.
Explicitly adds the generated go file into the GO_SRC in the Makefile to make the dependency relationships more clear.
Adds the standard Go header to our generated Go file.
2018-04-06 11:33:54 -07:00
Evan Tschannen 82ed956c65 renamed the multi_dc configuration to three_datacenter. The old three_datacenter configuration was not a useful configuration. 2018-03-26 18:31:26 -07:00
Evan Tschannen 0573fbf9a5
Merge pull request #71 from satherton/optimize-backup-priorities
Optimized backup task priorities so that during the initial snapshot …
2018-03-23 18:48:13 -07:00
Evan Tschannen d3fb17d30a
Merge pull request #74 from bnamasivayam/client-profiling-tests
Client profiling tests - Part 1
2018-03-23 16:52:49 -07:00
Stephen Atherton 8d7b9fd506 Merge branch 'release-5.2' of github.com:apple/foundationdb into optimize-backup-priorities
# Conflicts:
#	fdbclient/FileBackupAgent.actor.cpp
2018-03-23 12:10:39 -07:00
Evan Tschannen 156a5523be hide options that are intended for internal use only 2018-03-22 15:19:55 -07:00
AlvinMooreSr c6347c79f5
Merge pull request #114 from apple/release-5.1
Release 5.1 Merge
2018-03-22 10:31:47 -07:00
Alec Grieser 8d424a5097
javadoc prose fixes 2018-03-21 19:25:36 -07:00
A.J. Beamon e2d3afb621 Merge branch 'release-5.1' into merge-release-5.1-into-release-5.2
# Conflicts:
#	Makefile
#	documentation/sphinx/Makefile
#	documentation/sphinx/source/administration.rst
#	documentation/sphinx/source/anti-features.rst
#	documentation/sphinx/source/api-general.rst
#	documentation/sphinx/source/building-cluster.rst
#	documentation/sphinx/source/class-scheduling-go.rst
#	documentation/sphinx/source/class-scheduling-java.rst
#	documentation/sphinx/source/class-scheduling-ruby.rst
#	documentation/sphinx/source/class-scheduling.rst
#	documentation/sphinx/source/command-line-interface.rst
#	documentation/sphinx/source/configuration.rst
#	documentation/sphinx/source/downloads.rst
#	documentation/sphinx/source/fault-tolerance.rst
#	documentation/sphinx/source/features.rst
#	documentation/sphinx/source/getting-started-linux.rst
#	documentation/sphinx/source/getting-started-mac.rst
#	documentation/sphinx/source/guide-common.rst.inc
#	documentation/sphinx/source/hierarchical-documents-java.rst
#	documentation/sphinx/source/index.rst
#	documentation/sphinx/source/known-limitations.rst
#	documentation/sphinx/source/multimaps-java.rst
#	documentation/sphinx/source/performance.rst
#	documentation/sphinx/source/segmented-range-reads-java.rst
#	documentation/sphinx/source/simple-indexes-java.rst
#	documentation/sphinx/source/spatial-indexing-java.rst
#	documentation/sphinx/source/subspace-indirection-java.rst
#	documentation/sphinx/source/tables-java.rst
#	documentation/sphinx/source/vector-java.rst
#	versions.target
2018-03-21 09:28:10 -07:00
Alec Grieser fd5763efa4
fixed all the warnings making javadocs 2018-03-19 18:45:21 -07:00
yichic ede5cab192
Merge pull request #89 from yichic/share-log-mutations-5.2
Share log mutations 5.2
2018-03-19 12:01:26 -07:00
Yichi Chiang ec02e54f64 Refactor EraseLogData() 2018-03-19 11:56:01 -07:00
Yichi Chiang 1f2602d2b3 Fix all review comments 2018-03-19 11:33:33 -07:00
Yichi Chiang d6559b144f Share log mutations between backups and DRs which have the same backup range 2018-03-19 11:32:50 -07:00
John Brownlee 91fa01a5a6 Updates URLs and email addresses in documentation and package config. 2018-03-15 16:30:29 -07:00
Balachandar Namasivayam 89d7cc1093 Minor Bug fixes... 2018-03-15 11:00:47 -07:00
Balachandar Namasivayam 856d2a0a9d Add correctness tests for Client transaction profiling data format. It also includes format check across upgrades. 2018-03-14 12:39:50 -07:00
Stephen Atherton c5bb3421a7 Optimized backup task priorities so that during the initial snapshot range tasks are prioritized and then afterwards log tasks are prioritized. 2018-03-13 21:49:25 -07:00
Evan Tschannen 28ea983487 Merge branch 'release-5.1' into release-5.2
# Conflicts:
#	flow/Trace.cpp
#	versions.target
2018-03-09 14:40:31 -08:00
Evan Tschannen 3cac430f6f
Merge pull request #58 from satherton/more-precise-backup-expire-safety
Clarity improvement, resetting backup description variable because it…
2018-03-09 12:06:24 -08:00
Stephen Atherton 9c901983f0 Clarity improvement, resetting backup description variable because it's no longer valid due to some of its contents being std::move'd. 2018-03-09 12:03:10 -08:00
Evan Tschannen f5d85288eb
Merge pull request #42 from satherton/more-precise-backup-expire-safety
Backup expiration safety logic improvement
2018-03-09 11:45:49 -08:00
Stephen Atherton 3a7288924a Bug fixes. During expiration, the backup container's log range metadata could be updated incorrectly if force was required and not specified or if a backup had no log begin metadata and an expire was done which covered 1 or more log file. In the latter case a backup could be left in a state where the container metadata suggests the backup has more log coverage than it actually does. 2018-03-09 11:29:23 -08:00
Evan Tschannen ae7d8e90b2 Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-03-09 09:56:09 -08:00
Evan Tschannen 5390af8be4 suppress spammy logs 2018-03-09 09:40:36 -08:00
A.J. Beamon 2c92ef8ff8
Merge pull request #47 from apple/release-5.1
Merge Release 5.1 into Release 5.2
2018-03-08 13:18:45 -08:00
A.J. Beamon 1aa32291f3 Fix line endings of backported changes. 2018-03-08 13:14:15 -08:00
Balachandar Namasivayam bb8f48313f Declare each state variable on its own line... 2018-03-08 12:43:44 -08:00
Balachandar Namasivayam d136fc8eea Improve fdbbackup status
Additional details added are
log bytes written
range bytes written
last snapshot version and its corresponding timestamp
last log version and its corresponding timestamp
If backup is supposed to stop at the next snapshot completion (stopWhenDone)
version/timestamp of snapshot start and expected end

Backup error reporting format changed to

Recent Errors (since latest restore point TIME ago)
	<TIME> ago:  <error description> on <task name>
Older Errors
	<TIME> ago:  <error description> on <task name>

TIME format:
<= 59 seconds ago
<= 59.99 minutes ago
<= 23.99 hours ago
N.NN days ago
2018-03-08 12:43:33 -08:00
Balachandar Namasivayam 4f58bca66a Simple refactor of code... 2018-03-08 11:34:25 -08:00