Commit Graph

6535 Commits

Author SHA1 Message Date
Jon Fu c908c6c1db added command to fdbcli and changes to SystemData and ManagementAPI 2019-08-27 14:39:43 -07:00
Meng Xu 085bf7eff1
Merge pull request #2033 from dongxinEric/bugfix/fix-correctness-hang
Fix a bug where the actor got cancelled and thus leave the correctnes…
2019-08-27 14:36:54 -07:00
Xin Dong f9ebb73d4f Fix a bug where the actor got cancelled and thus leave the correctness hang 2019-08-26 12:49:02 -07:00
Vishesh Yadav 83d7faeb5b
Merge pull request #2031 from xumengpanda/mengxu/increase-LeakedConnection-timeout
Increase delay in monitoring LeakedConnection
2019-08-23 15:42:36 -07:00
Meng Xu d5b9c46de9 Increase delay in monitoring LeakedConnection
trackLeakedConnection actor should give server enough time to
close its connection due to idle connection.

The current logic waits for at least 24 seconds to detect and close
an idle connection.
The current trackLeakedConnection actor waits for about 30 seconds
to claim LeakedConnection error.

We increase the delay in trackLeakedConnection actor to avoid
false positive error in simulation test.

Co-authored by: Vishesh Yadav
2019-08-23 15:10:39 -07:00
Chris Donati 3a6949ed08 Start service with systemd when possible
When the processes are started outside of the init system and
that init system is systemd, the documented procedure to stop
foundationdb (`sudo service foundationdb stop`) does not work.

This fixes the issue by creating the service unit and starting it
with systemd when possible.
2019-08-21 18:43:05 -07:00
Alvin Moore bb40023a4e
Merge pull request #1903 from AlvinMooreSr/cmake-lld
Allow Linker Specification Via Environmental Variable
2019-08-21 10:23:17 -07:00
Alvin Moore 1aa69b0baf Fixed space vs tab 2019-08-20 16:35:41 -07:00
Alvin Moore 7a88a850c5 Ensured that using DEFAULT for USE_LD does not result in error 2019-08-20 16:10:18 -07:00
Andrew Noyes 37ca38a013 Update cmake version to 7.0.0 2019-08-20 15:55:20 -07:00
A.J. Beamon 85d0dec585
Merge pull request #1978 from atn34/no-discard
Make cancellable actors [[nodiscard]] by default
2019-08-16 13:47:43 -07:00
Andrew Noyes 638c9379c6 Add [[flow_allow_discard]] to dsltest + FlowTests 2019-08-16 09:24:57 -07:00
Andrew Noyes 9d045c51e4 Add suggested nodiscards, and mention UNCANCELLABLE actors 2019-08-16 09:24:57 -07:00
Andrew Noyes 0a1fecfc2e Update flow/actorcompiler/ActorParser.cs
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2019-08-16 09:24:57 -07:00
Andrew Noyes 356abc2f9a Update flow/actorcompiler/ParseTree.cs
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2019-08-16 09:24:57 -07:00
Andrew Noyes 34dee5f9e3 Pass -Wno-unknown-attributes only for IDE 2019-08-16 09:24:57 -07:00
Andrew Noyes ad9bc06dd7 Make unknown flow attributes an error 2019-08-16 09:24:57 -07:00
Andrew Noyes 5751e8a95b Remove flow_* attributes in actor compiler 2019-08-16 09:24:57 -07:00
Andrew Noyes e4de4783bf Add [[flow_allow_discard]] 2019-08-16 09:24:57 -07:00
Andrew Noyes 1a0ab7854e Omit ActorFuzz etc from OPEN_FOR_IDE build 2019-08-16 09:24:57 -07:00
Andrew Noyes ae7ef12102 Fix nodiscard errors 2019-08-16 09:24:57 -07:00
Andrew Noyes 971b857c51 Avoid using new c sharp features 2019-08-16 09:24:57 -07:00
Andrew Noyes fe6f2f59e0 Suppress what is apparently an intentional memory leak 2019-08-16 09:24:57 -07:00
Andrew Noyes a8cdcff0c2 Change --disable-actor-without-wait-warning to --disable-diagnostics
We probably just want to disable all actor diagnostics for the flow test
files.

Also add --generate-probes to the help text
2019-08-16 09:24:57 -07:00
Andrew Noyes 4b97a7506d Add some prudent [[nodiscard]]'s 2019-08-16 09:24:57 -07:00
Andrew Noyes b17ad0ad64 Enable -Wunused-value 2019-08-16 09:24:57 -07:00
Andrew Noyes 4ebb325ff9 Make cancellable actors [[nodiscard]] by default 2019-08-16 09:24:57 -07:00
Andrew Noyes be0e4e2438 Teach actorcompiler about C++ attributes 2019-08-16 09:24:57 -07:00
A.J. Beamon e152cdd9a9
Merge pull request #2005 from negoyal/ctest_valgrind_option
Add a parameter to enable/disable valgrind for ctest.
2019-08-16 08:00:40 -07:00
Alvin Moore 0e0116af51
Merge pull request #1856 from tclinken/bump-min-cmake-version
Bump CMake minimum required version to 3.13
2019-08-16 05:50:20 -07:00
negoyal fe53b5e7a7 Add a parameter to enable/disable valgrind for ctest. 2019-08-15 11:56:34 -07:00
A.J. Beamon 179ca2cc4a
Merge pull request #1995 from lingbin/fix_fdb_doc
Fix an error in configuration.rst
2019-08-15 08:42:12 -07:00
lingbin 745e569723 Fix an error in configuration.rst 2019-08-15 18:09:09 +08:00
A.J. Beamon 86104e9da0
Merge pull request #1998 from xumengpanda/mengxu/suppress-oustanding-recruitment-errors
Suppress spammy warnings
2019-08-14 15:01:42 -07:00
Meng Xu e76f7adeb7 PhysicalDiskMetrics:Remove the random sampling 2019-08-14 13:57:22 -07:00
Meng Xu ea9c8c09f5 Suppress PhysicalDiskMetrics events for 60s
Because PhysicalDiskMetrics metric is quite stable within short period of time,
we should suppress it with 60 second interval to avoid spammy log messages.

Spammy warning log can cause false positive in correctness test.
2019-08-14 13:51:20 -07:00
Meng Xu 3034a5e0c5 StorageRecruitment:Suppress outstanding req errors
When too many outstanding requests cannot find a worker for storage server
role, many same errors will be put into trace log. Only one error is enough
to alert the problem.

Too many same errors cause false positive in nightly test and thus should be suppressed.
2019-08-14 11:31:06 -07:00
Evan Tschannen 4b404503fd
Merge pull request #1994 from etschannen/master
Merge release 6.2 into master
2019-08-13 18:34:38 -07:00
Evan Tschannen 863a7ea84c Merge branch 'release-6.2'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	versions.target
2019-08-13 18:33:52 -07:00
Evan Tschannen b744c4b06e
Merge pull request #1993 from etschannen/post-release-cleanup-6.2.2
Post release cleanup 6.2.2
2019-08-13 18:30:48 -07:00
Evan Tschannen 1e05a681f8 update installer WIX GUID following release 2019-08-13 18:30:04 -07:00
Evan Tschannen 33a102ffba update versions target to 6.2.3 2019-08-13 18:30:04 -07:00
Evan Tschannen a9bd5ac739
Merge pull request #1992 from etschannen/release-6.2
Updated upgrading notes
2019-08-13 16:41:17 -07:00
Evan Tschannen ccf21b4ed8 Updated upgrading notes 2019-08-13 16:40:32 -07:00
Evan Tschannen 3f8d0c39e7
Merge pull request #1991 from etschannen/prepare-release-6.2.2
update installer WIX GUID following release
2019-08-13 16:34:25 -07:00
Evan Tschannen a366f08e05 update installer WIX GUID following release 2019-08-13 16:33:32 -07:00
Evan Tschannen a067e6e812
Merge pull request #1990 from etschannen/release-6.2
Fixed status reporting bugs related to connected clients
2019-08-13 16:24:12 -07:00
Evan Tschannen c60210f39d Updated documentation for 6.2.2 2019-08-13 16:22:46 -07:00
Evan Tschannen 36658c995f
Merge pull request #1987 from ajbeamon/fix-client-read-version-accounting
Don't count read version requests if we've already started one.
2019-08-13 16:13:08 -07:00
Evan Tschannen 70ce678879 fix: max_protocol_clients were being added to the connected_clients list
fix: the clientCount was included clients with unknown protocol versions. This has been changed back to the pre-6.2 behavior where it is just a count of clients with known versions, and now clients with unknown versions are tracked explicitly as its own supported_version section
2019-08-13 15:54:40 -07:00