Commit Graph

14730 Commits

Author SHA1 Message Date
Jon Fu aba752d12e Added release notes regarding 6.3 to 6.2 downgrades 2021-04-16 14:56:05 -04:00
Vishesh Yadav e7d4a452e4 docker: Load custom bashrc if available
This will check if there is a `.bashrc.local` avialable in the synced directory,
and load it.

- This is useful so that any changes usrs make to our bashrc in Okteto containers,
doesn't get lost between re-deployement of containers.
- Can also used to automate setting up environment, e.g. copy various dotfiles
etc from the synced directory to $HOME folder during first run.
2021-04-16 12:40:46 -05:00
Jingyu Zhou 6571e9e78c
Merge pull request #4670 from vishesh/task/contributing.md
doc: Link FDB Commit Process doc in CONTRIBUTING.md
2021-04-15 17:38:58 -07:00
RenxuanW 4bf7218e8f
Merge pull request #4635 from RenxuanW/priority_logging
Log a warning when remote dc is disabled (priority < 0)
2021-04-15 17:00:41 -07:00
RenxuanW 80ec4b1acc Trigger Build 2021-04-15 16:57:04 -07:00
Vishesh Yadav 028c02c7b0 doc: Link FDB Commit Process doc in CONTRIBUTING.md 2021-04-15 22:26:32 +00:00
Markus Pilman a445e09c2d
Merge pull request #4617 from sfc-gh-satherton/unit-test-params
Added UnitTest parameters concept and ability to run unit tests directly from command line, with parameters
2021-04-15 14:59:15 -06:00
Evan Tschannen d41b825709
Merge pull request #4628 from sfc-gh-jfu/jfu-test-conf-options
Added extra options to test config that specify maxtlogversion and array of excluded storage engine types
2021-04-15 11:01:41 -07:00
Jon Fu ccc65c7924 Merge branch 'master' of github.com:apple/foundationdb into jfu-test-conf-options 2021-04-15 12:27:31 -04:00
Steve Atherton 8616575c21 Merge commit 'd51f94f16ee903aa249ddaac0047c88cafac1e89' into unit-test-params 2021-04-14 18:23:00 -07:00
Markus Pilman d51f94f16e
Merge pull request #4330 from sfc-gh-ljoswiak/features/global-configuration
Add global configuration framework implementation
2021-04-14 16:10:08 -06:00
Andrew Noyes 73e6839ee8
Merge pull request #4662 from sfc-gh-ajbeamon/get-server-protocol-updates
Some changes to how fdb_get_server_protocol works
2021-04-14 14:19:13 -07:00
A.J. Beamon d3b6a543ab Update comment in unit test 2021-04-14 13:23:06 -07:00
A.J. Beamon bc8568d4bb Use the correct pointer in the unit test for fdb_database_get_server_protocol 2021-04-14 12:58:59 -07:00
A.J. Beamon 3ed0d614d2 Move fdb_get_server_protocol to be a function on the database object. Add an argument for expected_version that can be used to signal that the function shouldn't return unless the protocol version is different. 2021-04-14 12:50:30 -07:00
Jon Fu f6f225ccae Merge branch 'master' of github.com:apple/foundationdb into jfu-test-conf-options 2021-04-14 14:21:23 -04:00
Lukas Joswiak 51e4c19675 Add migration for client profiling keys 2021-04-14 10:56:33 -07:00
Lukas Joswiak 2594d91f11 Update casing 2021-04-14 10:56:33 -07:00
Lukas Joswiak 7de23918c0 Add comments, fix erase bug, make optimizations 2021-04-14 10:56:33 -07:00
Lukas Joswiak c38ddf5eb7 Add comments 2021-04-14 10:56:33 -07:00
Lukas Joswiak 7ba7257cd2 Store global config data on heap 2021-04-14 10:56:33 -07:00
Lukas Joswiak 1c60653c2a Add fix to conditionally set global config history 2021-04-14 10:56:33 -07:00
Lukas Joswiak aa0014ab6e Fix version serialization 2021-04-14 10:56:33 -07:00
Lukas Joswiak 6de28dd916 clang-format 2021-04-14 10:56:33 -07:00
Lukas Joswiak 1260385965 Use object to wrap global configuration history 2021-04-14 10:56:32 -07:00
Lukas Joswiak 1c84c04ffc Add global configuration prefix function 2021-04-14 10:56:32 -07:00
Lukas Joswiak fb9a929780 Fix issue with freed memory being accessed 2021-04-14 10:56:32 -07:00
Lukas Joswiak 388344c31e Better estimation for arena size 2021-04-14 10:56:32 -07:00
Lukas Joswiak b7cd8175be Add arena per object in global config 2021-04-14 10:56:32 -07:00
Lukas Joswiak e5e48da5ce Revert removal of history size check 2021-04-14 10:56:32 -07:00
Lukas Joswiak e9e2ca54d6 Assert history contains data 2021-04-14 10:56:32 -07:00
Lukas Joswiak 70c4bbe119 Fix clear range persistence issue 2021-04-14 10:56:32 -07:00
Lukas Joswiak 4a799baa1d Add clear range for global configuration 2021-04-14 10:56:32 -07:00
Lukas Joswiak c3f68831af Move existing ClientDBInfo variables to global configuration 2021-04-14 10:56:32 -07:00
Lukas Joswiak 80c6048a01 Naming fixes 2021-04-14 10:56:32 -07:00
Lukas Joswiak 9587318696 Fix crash when history size is 0
This shouldn't happen in normal operation (if ClientDBInfo has been
updated, that means at least one item should have been added to the
history). But there is old functionality that uses other ClientDBInfo
fields to send updates to all nodes, and until this functionality is
removed this check needs to be here.
2021-04-14 10:56:32 -07:00
Lukas Joswiak 2acefa2c82 Add double and float support to tuples
Note that this functionality is copied from bindings/flow/Tuple.cpp.
These classes should eventually be combined (see #4351).
2021-04-14 10:56:32 -07:00
Lukas Joswiak 96732810ff Move actor implementation 2021-04-14 10:56:32 -07:00
Lukas Joswiak c9b0d3dd4e Fix memory leak
The map containing global configuration data had keys of type StringRef,
referencing data allocated in history arenas. When the old history
was deleted, this memory was no longer valid and some keys would point
to garbage memory.
2021-04-14 10:56:32 -07:00
Lukas Joswiak 7bb0b3d899 Use commit version for global configuration updates
FIXME: There is a memory issue where the underlying data for values set
in the `data` field of GlobalConfig will be freed shortly after being
set.
2021-04-14 10:56:32 -07:00
Lukas Joswiak 9e20b08976 Add float and double parsing 2021-04-14 10:56:32 -07:00
Lukas Joswiak f1415412f1 Add global configuration framework implementation 2021-04-14 10:56:32 -07:00
Markus Pilman eeee15f524
Merge pull request #4646 from sfc-gh-anoyes/anoyes/cmake-restart-test-constraints
Respect the version constraints for restart tests in ctest
2021-04-14 11:49:28 -06:00
Andrew Noyes 5737b1c087
Merge pull request #4658 from sfc-gh-ajbeamon/fix-remove-duplicate-line
Remove extra line caused by commit issue
2021-04-14 10:16:08 -07:00
Markus Pilman 4c98a375e1
Merge pull request #4631 from sfc-gh-etschannen/fix-rewrite-bme
Fixed 8 bugs related to recruitment of processes by the cluster controller
2021-04-14 11:09:51 -06:00
Steve Atherton 6bcd997bb9 Merge commit '83cc3d3af058fdcb23a8681e0bf28cac7de3e61e' into unit-test-params 2021-04-14 10:04:55 -07:00
A.J. Beamon eab468fecc Remove extra line caused by commit issue 2021-04-14 09:32:48 -07:00
Jingyu Zhou 83cc3d3af0
Merge pull request #4611 from jzhou77/fdbconvert
Add TLS support to fdbdecode
2021-04-13 20:20:12 -07:00
Steve Atherton 1c5013f6ec Removed btree cleanup parameter override. 2021-04-13 20:19:25 -07:00
Andrew Noyes b6194f1c88
Merge pull request #4649 from sfc-gh-ajbeamon/fix-test-macro-line-length
Fix line length of test macro + comments to be within the 120 character limit
2021-04-13 16:10:25 -07:00