4301 Commits

Author SHA1 Message Date
Alex Miller
52d5a721a6 Don't allocate 2x the memory for a read to save 1% of allocated memory. 2019-03-04 01:42:38 -08:00
Alex Miller
aff9ebe21a Spill (start,length) instead of (begin,end) to save a few bytes. 2019-03-04 01:42:38 -08:00
Alex Miller
2aa527c0ef Fix a bug resulting from concurrent TLog changes.
TLogServer was forked into OldTLogServer_6_0 at the same time that
3247d594 modified TLogServer, so the modification never made it into
OldTLogServer_6_0, resulting in a rare failure.

Manual code inspection revealed that there was also
78976161 that concurrently modified TLogServer, so that change was
copied to OldTLogServer_6_0 as well.
2019-03-04 01:42:38 -08:00
Alex Miller
fb4cb8c3a8 Print out configuration changes in ConfigureTest. 2019-03-04 01:42:38 -08:00
Alex Miller
9ef283d4e7 Implement hard limiting of memory used to serve peek requests. 2019-03-04 01:42:38 -08:00
Alex Miller
e3506ad9af Add a yield to parseMessagesForTag 2019-03-04 01:42:38 -08:00
Alex Miller
742f6e1847 Solve overreading via pre-calculating tag bytes per commit 2019-03-04 01:42:38 -08:00
Alex Miller
e7d8520c63 Batch more when spilling data. 2019-03-04 01:42:38 -08:00
Alex Miller
71a794ccc3 Re-enable spill-by-reference testing. 2019-03-04 01:42:38 -08:00
Alex Miller
04e1170c88 Spill txsTag by value 2019-03-04 01:42:38 -08:00
Alex Miller
4d4e0a1d54 Fix the build on -O0.
C++ < 17 requires definitions of declared static constexpr variables.
2019-03-04 01:42:38 -08:00
Alex Miller
db546af4a3 Fix the build on -O0.
C++ < 17 requires definitions of declared static constexpr variables.
2019-03-04 01:38:58 -08:00
Evan Tschannen
9ee72261c4
Merge pull request #1114 from tclinken/add-health-metrics
Add health metrics API
2019-03-03 22:27:02 -08:00
Trevor Clinkenbeard
1576d50ee9 Removed unnecessary Trace line 2019-03-03 17:09:03 -08:00
Trevor Clinkenbeard
015997f2f9 Simplified updateHealthMetricsActor 2019-03-02 18:01:23 -08:00
Trevor Clinkenbeard
39f612d132 Merge branch 'master' of https://github.com/apple/foundationdb into add-health-metrics 2019-03-02 17:07:00 -08:00
Trevor Clinkenbeard
2940b8d5fd Update all per-process storage server health metrics at once
Ratekeeper updates all storage servers' health metrics in updateRate
with only a single map lookup
2019-03-02 16:08:28 -08:00
Trevor Clinkenbeard
6c45ffc56f Added exception handling to setNetworkOption
Handle non-integer option values for sendDetailedHealthMetrics option by
throwing invalid_option_value
2019-03-02 15:51:51 -08:00
Alec Grieser
eb8a085cf9
conditional add read conflict methods now return whether they added the conflict range ; test added for snapshot transactions 2019-03-02 09:48:53 -08:00
Alec Grieser
7ef189701e
Resolves #719: Support .setReadVersion() on ReadTransaction 2019-03-02 09:48:49 -08:00
Evan Tschannen
9d53305516
Make GetHealthMetricsRequest constructor explicit
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
2019-03-02 08:30:10 -08:00
Evan Tschannen
de577a6ca9
Modified GetHealthMetricsReply constructor
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
2019-03-02 08:29:16 -08:00
Evan Tschannen
3a91fb287b
Use const HealthMetrics& parameter in update
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
2019-03-02 08:17:20 -08:00
Evan Tschannen
841eb10af0
Replace g_network->now() with now()
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
2019-03-02 08:15:56 -08:00
Evan Tschannen
a37a65a7ff
Replace g_network->now() with now()
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
2019-03-02 08:15:05 -08:00
Balachandar Namasivayam
1432bdc9ab Document behavior on the ordering of writes and read conflict ranges 2019-03-01 18:29:42 -08:00
Balachandar Namasivayam
735c45a3b0
Merge pull request #1221 from bnamasivayam/master
Fix FuzzApiCorrectness failure.
2019-03-01 18:28:09 -08:00
Alec Grieser
97a43094c9
Merge pull request #1218 from ajbeamon/fix-python-simpleindex-docs
Some fixes to Python simple indexes Example
2019-03-01 17:14:57 -08:00
Balachandar Namasivayam
2a47fbb5a2 Fix tab spaces again 2019-03-01 15:30:40 -08:00
Balachandar Namasivayam
4324434b99 Fix tab spaces 2019-03-01 15:29:09 -08:00
Balachandar Namasivayam
74f64e4570 Fix FuzzApiCorrectness failure. 2019-03-01 15:25:37 -08:00
Evan Tschannen
b209cd45e8
Merge pull request #1198 from ajbeamon/ratekeeper-batch-priority-limits
Ratekeeper Batch Priority Limits
2019-03-01 15:03:49 -08:00
Balachandar Namasivayam
7cf71b0931 Add some basic checks before doing an atomic switchover. 2019-03-01 14:49:04 -08:00
A.J. Beamon
546586761d Implements a fix discussed in https://github.com/apple/foundationdb/pull/225, with a couple other clarifying changes as well. 2019-03-01 14:11:32 -08:00
Alec Grieser
c8b9c998e9
Merge pull request #1216 from ajbeamon/fix-python-singlefloat-with-int
Python: creating a SingleFloat with an integer didn't work.
2019-03-01 14:08:04 -08:00
A.J. Beamon
655c9d82c7 Various cleanup from review 2019-03-01 14:06:47 -08:00
A.J. Beamon
2af99080ac Merge branch 'master' into ratekeeper-batch-priority-limits 2019-03-01 13:02:07 -08:00
A.J. Beamon
13f7f5a073 Bump protocol version 2019-03-01 13:01:10 -08:00
A.J. Beamon
f38fbbb57f Add release note for Python SingleFloat fix. 2019-03-01 09:28:56 -08:00
A.J. Beamon
8669aea22b Python: creating a SingleFloat with an integer didn't work. Updated the tester to exercise this path. 2019-03-01 09:25:53 -08:00
Alec Grieser
dedd34f967
Merge pull request #1210 from alexmiller-apple/make-cc
Force Make to push $CC into the environment
2019-03-01 08:45:34 -08:00
A.J. Beamon
43629d8e45
Merge pull request #1208 from alecgrieser/01103-nested-example-in-design-docs
Fix floating point example in tuple design docs
2019-03-01 11:38:01 -05:00
Meng Xu
9698775b76
Merge pull request #1209 from satherton/master-merge-release-6.0
Merge release 6.0 into master
2019-02-28 15:34:05 -08:00
Alex Miller
83629b4d47 Force Make to push $CC into the environment.
This fixes a long standing weird issue of doing non-docker builds of FDB
can hit problems of $CC not being defined in link-wrapper.sh.  It turns
out that this is because the official docker image defines CC in the
environment, and no one else does that.

Instead, we can just force Make to propagate its setting of CC into the
environment, thus requiring no extra configuration to be able to do a
build.
2019-02-28 14:50:22 -08:00
mpilman
d08aad7fc4 Old build system now working on both docker images 2019-02-28 14:24:52 -08:00
mpilman
d1e3c2d71e Reintroduce libstdc++.a target for backwards compatabilty 2019-02-28 14:24:52 -08:00
mpilman
d0c06ec8c0 Make old build system work on build/cmake/Dockerfile 2019-02-28 14:24:52 -08:00
Stephen Atherton
7d287c6999 Merge branch 'release-6.0'
# Conflicts:
#	fdbclient/FileBackupAgent.actor.cpp
2019-02-28 14:01:00 -08:00
Alec Grieser
bb43d97aaa
Fixes #1103: Incorrect nested example in design/tuple.md 2019-02-28 13:13:30 -08:00
A.J. Beamon
e2bcecb08f Merge branch 'master' into ratekeeper-batch-priority-limits 2019-02-28 12:52:44 -08:00