1959 Commits

Author SHA1 Message Date
A.J. Beamon
99c9958db7 Some more trace event normalization 2018-06-08 13:57:00 -07:00
Evan Tschannen
943dfa278b
Merge pull request #454 from ajbeamon/normalize-trace-events
Attempt to normalize trace events
2018-06-08 11:28:44 -07:00
A.J. Beamon
c12b235080 Fix case in a few commented out trace events 2018-06-08 11:20:06 -07:00
A.J. Beamon
e5488419cc Attempt to normalize trace events:
* Detail names now all start with an uppercase character and contain no underscores. Ideally these should be head-first camel case, though that was harder to check.
* Type names have the same rules, except they allow one underscore (to support a usage pattern Context_Type). The first character after the underscore is also uppercase.
* Use seconds instead of milliseconds in details.

Added a check when events are logged in simulation that logs a message to stderr if the first two rules above aren't followed.

This probably doesn't address every instance of the above problems, but all of the events I was able to hit in simulation pass the check.
2018-06-08 11:11:08 -07:00
A.J. Beamon
f1d389448c
Merge pull request #453 from apple/release-5.2
Merge release-5.2 into master
2018-06-08 10:41:44 -07:00
A.J. Beamon
6461478695
Merge pull request #452 from apple/release-5.1
Merge release-5.1 into release-5.2
2018-06-08 10:41:13 -07:00
Evan Tschannen
d7d38c3544
Merge pull request #430 from ajbeamon/rename-logGroup-attribute
Rename trace file logGroup attribute to LogGroup
2018-06-08 10:30:45 -07:00
Evan Tschannen
953c27e570
Merge pull request #431 from ajbeamon/tlog-rename-variables
Rename several variables in TLogServer.actor.cpp to follow our normal camel case conventions.
2018-06-08 10:30:22 -07:00
Evan Tschannen
12c45ccf79
Merge pull request #451 from ajbeamon/release-5.1
Fix case of newSeverity detail in StderrSeverity trace event
2018-06-08 10:28:30 -07:00
A.J. Beamon
c9543791fd Fix case of newSeverity detail in StderrSeverity trace event 2018-06-08 10:24:12 -07:00
A.J. Beamon
f9cec3c6bb
Merge pull request #443 from ajbeamon/master
Merge release-5.2
2018-06-06 15:28:33 -07:00
A.J. Beamon
3fde6cbaa7 Change MSI GUID in 6.0 2018-06-06 15:27:36 -07:00
A.J. Beamon
216404de45 Merge branch 'release-5.2' of github.com:apple/foundationdb
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	versions.target
2018-06-06 15:25:37 -07:00
A.J. Beamon
b52681c763
Merge pull request #442 from ajbeamon/release-5.2
Update versions.target and MSI package for 5.2.4
2018-06-06 15:21:39 -07:00
A.J. Beamon
cf7ab15c3e Update versions.target and MSI package for 5.2.4 2018-06-06 15:20:50 -07:00
A.J. Beamon
b8efd4c2b5
Merge pull request #441 from ajbeamon/release-5.2
Updates for release 5.2.3. This excludes required changes to administ…
5.2.3
2018-06-06 14:14:23 -07:00
A.J. Beamon
bd90cdbc59 Updates for release 5.2.3. This excludes required changes to administration.rst pending some clarification about how certain upgrades work. 2018-06-06 14:13:20 -07:00
A.J. Beamon
59caa968dd
Merge pull request #440 from etschannen/release-5.2
backup created large transactions when erasing log ranges
2018-06-06 13:45:43 -07:00
Evan Tschannen
e82985aea2 fix: continue setting beginVersion so that versions between 5.2.0 and 5.2.2 do not crash when decoding tasks created by 5.2.3 2018-06-06 13:34:22 -07:00
Evan Tschannen
7c289c12d6 updated release notes 2018-06-06 13:11:34 -07:00
Evan Tschannen
4120062bb9 fix: backup initialized its begin version at 1 instead of the read version of the starting transaction
fix: erasing log ranges did not properly divide up work between transactions to prevent making transactions which were too large
2018-06-06 13:05:53 -07:00
Evan Tschannen
e659dc7c2c
Merge pull request #438 from ajbeamon/release-5.2
Add read-only commit fix and some PR links to release notes.
2018-06-05 13:44:05 -07:00
A.J. Beamon
eeb92fbfa6 Add read-only commit fix and some PR links to release notes. 2018-06-05 13:41:37 -07:00
Evan Tschannen
6fbb046320
Merge pull request #437 from ajbeamon/fix-commit-readonly-transactions
fix: Read-only transactions that get committed would fail if the...
2018-06-05 13:13:11 -07:00
A.J. Beamon
e4e06321c7 fix: Read-only transactions that get committed would fail if the readOnly option is set. They would also be counted in the transactionsCommitStarted metric. 2018-06-05 12:10:28 -07:00
Evan Tschannen
ce6a2f0563
Merge pull request #425 from bnamasivayam/leader-election-optimize
Optimize client and server connection times to cluster controller, es…
2018-06-01 18:35:27 -07:00
Balachandar Namasivayam
95f3668a3e Address review comments. 2018-06-01 18:33:29 -07:00
Balachandar Namasivayam
59bfa74197 Address review comments. Refactor getLeader function to mask the first 7 bits of changeID and return the masked LeaderInfo. 2018-06-01 18:23:24 -07:00
Evan Tschannen
dce812fb01
Merge pull request #432 from bnamasivayam/proxy-oom
Proxy going OOM when applying high volumes of writes to a proxy, part…
2018-06-01 16:23:18 -07:00
Balachandar Namasivayam
529d0497f1 Proxy going OOM when applying high volumes of writes to a proxy, particular in a sudden fashion before ratekeeper can control the workload.
Address this issue by proactively monitoring the memory used by commit batches and dropping requests if a certain memory limit is exceeded.
2018-06-01 15:21:40 -07:00
A.J. Beamon
1f0b519a73 Rename several variables in TLogServer.actor.cpp to follow our normal camel case conventions. I didn't rename every variable here, because some appear to be data structures (like a map) following the pattern keydesc_valuedesc, and I wasn't sure that the straightforward keydescValuedesc rename made sense. I did rename a couple of instances of these where it seemed reasonable, though. 2018-06-01 10:18:07 -07:00
A.J. Beamon
3ea5fc72f0 Rename trace file logGroup attribute to LogGroup 2018-05-31 15:34:17 -07:00
Balachandar Namasivayam
9f55ccd4a5 Remove extraneous comments. 2018-05-31 15:32:47 -07:00
John Brownlee
85804e9429
Merge pull request #424 from ajbeamon/release-5.2
Fix docs wording
2018-05-31 12:03:02 -07:00
John Brownlee
4ee34d87d3
Merge pull request #427 from brownleej/release-5.2.2
Bump versions.target
2018-05-31 11:24:57 -07:00
John Brownlee
10bcba4dba Bump versions.target 2018-05-31 11:23:09 -07:00
Balachandar Namasivayam
070366ca70 Optimize client and server connection times to cluster controller, especially in multi DC configurations.
A majority(quorum) answer from co-ordinators was required to connect to cluster controller.
Now a cluster controller is optimistically selected to connect even if there is no quorum.
2018-05-30 16:48:04 -07:00
A.J. Beamon
aab2dbdf25 Fix docs wording 2018-05-30 16:22:42 -07:00
John Brownlee
b6b6b882af
Merge pull request #423 from brownleej/release-5.2.2
Update documentation for 5.2.2 release.
5.2.2
2018-05-30 15:33:28 -07:00
John Brownlee
cd64d6c89a Update documentation for 5.2.2 release. 2018-05-30 15:32:49 -07:00
John Brownlee
ab5bfad2cf
Merge pull request #422 from alecgrieser/merge-release-5.2
Merge release 5.2 into master
2018-05-30 13:27:03 -07:00
Alec Grieser
5e61fb30d6
Merge remote-tracking branch 'upstream/release-5.2' into merge-release-5.2 2018-05-30 12:02:36 -07:00
AlvinMooreSr
e42a74e332
Merge pull request #421 from alecgrieser/merge-release-5.1
Merge release 5.1 into release-5.2
2018-05-30 11:55:20 -07:00
Alec Grieser
0c2e801d40
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.1 2018-05-30 11:49:29 -07:00
Alec Grieser
90c5a63d7b
Merge pull request #411 from AlvinMooreSr/release-5.1-jar-rename
Modified the groupId to org.foundationdb
2018-05-30 11:48:15 -07:00
Alec Grieser
43b128d62f
Merge pull request #420 from ajbeamon/merge-release-5.2-into-master
Merge release 5.2 into master
2018-05-30 11:46:33 -07:00
A.J. Beamon
ba0a8450c5 Merge branch 'release-5.2' of github.com:apple/foundationdb into merge-release-5.2-into-master
# Conflicts:
#	documentation/sphinx/source/backups.rst
#	documentation/sphinx/source/release-notes.rst
#	fdbserver/TLogServer.actor.cpp
#	flow/Net2.actor.cpp
#	versions.target
2018-05-30 11:36:37 -07:00
A.J. Beamon
586c094028
Merge pull request #419 from ajbeamon/merge-release-5.1-into-release-5.2
Merge release 5.1 into release 5.2
2018-05-30 11:31:38 -07:00
A.J. Beamon
5cbad29f23 Merge branch 'release-5.1' of github.com:apple/foundationdb into merge-release-5.1-into-release-5.2
# Conflicts:
#	documentation/StatusSchema.json
#	documentation/sphinx/source/api-common.rst.inc
#	documentation/sphinx/source/api-python.rst
#	documentation/sphinx/source/api-ruby.rst
#	documentation/sphinx/source/backups.rst
#	documentation/sphinx/source/old-release-notes/release-notes-400.rst
#	documentation/sphinx/source/release-notes.rst
2018-05-30 11:30:20 -07:00
Balachandar Namasivayam
526ecc5a0c
Merge pull request #417 from ajbeamon/merge-release-5.1-into-release-5.2
Merge release-5.1 into release-5.2
2018-05-30 11:12:29 -07:00