Commit Graph

5063 Commits

Author SHA1 Message Date
chaoguang 12a51b2d39 fix bugs, update naming and comments, refine functions 2019-05-20 18:26:30 -07:00
chaoguang 6788c8eb7d update cleanup process 2019-05-15 16:17:01 -07:00
chaoguang 106bb7677d update 2019-05-15 12:58:12 -07:00
chaoguang 4c9cc44c73 add paras 2019-05-14 10:13:13 -07:00
Chaoguang 5678a7417e Mako Workload 2019-05-09 15:55:05 -07:00
Evan Tschannen a8d6593258
Merge pull request #1555 from etschannen/master
Merge 6.1 into Master
2019-05-09 10:05:08 -07:00
Evan Tschannen 22499666d0 Merge branch 'release-6.1'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbserver/LogRouter.actor.cpp
#	flow/Trace.cpp
#	versions.target
2019-05-08 18:19:35 -07:00
Evan Tschannen 16307e0d79
Merge pull request #1554 from etschannen/post-release-cleanup-6.1.5
Post release cleanup 6.1.5
2019-05-08 18:09:27 -07:00
Evan Tschannen fa173ce187 update installer WIX GUID following release 2019-05-08 18:08:50 -07:00
Evan Tschannen 1a44eff761 update versions target to 6.1.6 2019-05-08 18:08:50 -07:00
Evan Tschannen 91547e71e9
Merge pull request #1551 from etschannen/prepare-release-6.1.5
update installer WIX GUID following release
2019-05-08 15:55:05 -07:00
Evan Tschannen bd2077252c update installer WIX GUID following release 2019-05-08 15:54:32 -07:00
Evan Tschannen 16681a990e
Merge pull request #1550 from etschannen/release-6.1
updated documentation for 6.1.5
2019-05-08 15:53:05 -07:00
Evan Tschannen 977e64a4fe updated documentation for 6.1.5 2019-05-08 15:51:55 -07:00
Evan Tschannen e8ef401aaa
Merge pull request #1545 from alexmiller-apple/tstlog-6.1
Prefer re-creating a DiskQueue file rather than performing a large truncate
2019-05-08 15:39:27 -07:00
Alex Miller e4ba2f5788 Add an ending TraceEvent. 2019-05-08 12:35:12 -10:00
Alex Miller c093017c2f Add a TraceEvent and release note. 2019-05-08 12:34:25 -10:00
Alex Miller 0685e6c1c7 Avoid large truncates in the DiskQueue.
And instead create a new file while incrementally truncating the old one
down.  This avoids queueing up a massive number of filesystem metadata
operations in one call, thus flooding the disk with requests and
stalling out all other filesystem operations.

This sets the knobs so that a truncate of >10GB causes us to create a
new file rather than trying to truncate the old one.
2019-05-08 12:33:31 -10:00
Alex Miller 36dfbf4fb3 Only truncate DiskQueues down to TLOG_HARD_LIMIT*2.
DiskQueue shrinking was implemented for spill-by-reference, as now
a DiskQueue could grow "unboundedly" large.

Without a minimum file size, write burst workloads would cause the
DiskQueue to shrink down to 100MB, and then grow back to its usual ~4GB
size in a cycle.  File growth means filesystem metadata mutations, which
we'd prefer to avoid if possible since they're more unpredicatble in
terms of latency.

In a healthy cluster, the TLog never spills, so the disk of a single
DiskQueue file should stay less than 2*TLOG_SPILL_THRESHOLD.  In the
worst case of spill-by-value, the DiskQueue could grow to
2*TLOG_HARD_LIMIT.  Therefore, having this limit will cause DiskQueue
shrinking to never behave sub-optimally for spill-by-value, and will
cause the DiskQueue files to return to the optimal size with
spill-by-reference.
2019-05-08 12:33:31 -10:00
Alex Miller a269a784cc Convert push() into an actor. 2019-05-08 12:33:31 -10:00
Evan Tschannen 68c773987c
Merge pull request #1544 from etschannen/release-6.1
The team tracker does not provide data movement priority information for non-failure related data movement
2019-05-08 11:39:17 -07:00
Alvin Moore f7b74be520
Merge pull request #1523 from AlvinMooreSr/cmake-vendor
Fixed CMake Vendor Config
2019-05-08 08:21:42 -07:00
Austin Seipp 084c049e64 cmake: require mcs, not dmcs, and drop dmcs support
dmcs was noted as deprecated in its startup message script many years
ago (2016), and dmcs itself was *actually* deprecated even years before
that -- 'dmcs' itself only executes 'mcs' with the .NET 4.0 SDK enabled
anyway.

Since CMake will be the new primary build system, let's go ahead and
drop support for dmcs entirely in this setup.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-07 16:57:56 -10:00
Austin Seipp 8f98104f92 cmake: echo versions.h target command if VERBOSE=1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-07 16:54:05 -10:00
Austin Seipp a67d47844b coveragetool: suppress output unless VERBOSE is set
When using the CMake build system with tools such as Ninja (instead of
Make), they have very concise output, and the general "UX flow" involves
only outputting warnings that should be fixed or errors that should stop
the build. Furthermore, when building things in CI systems and looking
at build logs, etc, it's often vastly easier to to hunt down errors when
only relevant stuff is output.

With this change, the output from coveragetool.exe is suppressed, which
accounts for a lot of spurious output that isn't necessary when running
these builds.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-07 16:54:05 -10:00
Evan Tschannen 0d4fcd526b
Merge pull request #1543 from bnamasivayam/release-6.1
Add a workload to trigger repeated recoveries.
2019-05-07 18:39:29 -07:00
Balachandar Namasivayam d45e7bf0b1 Addressed review comments 2019-05-07 17:19:59 -07:00
Evan Tschannen 30ebdc3b47 updated release notes 2019-05-07 17:15:45 -07:00
Evan Tschannen d9a4553270 fix: The team tracker does not provide data movement priority information for non-failure related data movement 2019-05-07 17:06:54 -07:00
Balachandar Namasivayam 5d824f5fbc Address review comments 2019-05-07 17:06:52 -07:00
A.J. Beamon adc0800b93
Merge pull request #1541 from etschannen/feature-trace-safety
Fixed a crash when memory tracking trace events are called recursively
2019-05-07 17:06:28 -07:00
Evan Tschannen c1a58bd27a updated release notes 2019-05-07 17:04:46 -07:00
Balachandar Namasivayam a0cc3d98a1 Add a workload to trigger repeated recoveries. 2019-05-06 18:16:44 -07:00
Evan Tschannen aefd68e1e7 The memory tracking trace events can crash if the memory that is being allocated is coming from a trace event itself. Specifically TDMetrics within trace events uses fast allocated memory. Trace events are supposed to be short lived, so this commits adds a global count of outstanding trace events, and disables memory tracking when a trace event exists. 2019-05-06 17:41:32 -07:00
Evan Tschannen 61018dae71 Merge branch 'release-6.1' of github.com:apple/foundationdb into release-6.1 2019-05-06 17:37:35 -07:00
Austin Seipp bf378952cb fdbserver: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp 1ce585b5ce fdbcli: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp a43071339c fdbbackup: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp 0b263fd856 fdbmonitor: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp af00248df6 fdbrpc: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp b5cbffc1b8 fdbclient: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp ca83a80168 bindings/c: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp aab32eb855 bindings/flow: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Austin Seipp 7a10199a35 flow: fix some print/scan format warnings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 13:35:29 -07:00
Jingyu Zhou 41ae9cd0d8 Remove ; for namespace declarations 2019-05-06 13:21:28 -07:00
Evan Tschannen 93eb2a9395
Merge pull request #1527 from alexmiller-apple/tstlog-6.1
Spill-by-reference knob + TLog6.0 Spilled Peek deprioritization
2019-05-03 17:19:45 -07:00
Alex Miller c918b21137 Deprioritize spilled peeks in spill-by-value, and improve its logic.
This deprioritizes before calling peekMessagesFromMemory, which should
improve the memory usage of the TLog, and makes sure to keep txsTag
peeks at a high priority to help recoveries stay fast.
2019-05-03 15:27:11 -07:00
Alex Miller 4052f3826a Add a knob to limit the number of commits indexed per key.
Theoretically, we could spill 20MB of 22B mutations for one key, which
would generate a very long value being stored in SQLite, and very
inefficiently read back.  This stops that from being a problem, at the
cost of some extra write calls.
2019-05-03 15:27:10 -07:00
Evan Tschannen 99373b0acb
Merge pull request #1473 from jzhou77/tlog
Add pseudo tags that are mapped 1-to-1 with log router tags
2019-05-03 13:44:33 -07:00
Evan Tschannen 12088119d2
Merge pull request #1517 from alexmiller-apple/tstlog-6.1
Add a knob to limit amount of data read from sqlite for one PeekRequest.
2019-05-03 11:01:11 -07:00