21727 Commits

Author SHA1 Message Date
Jon Fu
a3b56ebadc reject overlap in transaction case 2022-07-26 15:04:18 -07:00
Josh Slocum
8b5b7a9b92
Merge pull request #7689 from sfc-gh-jslocum/purge_fixes
Granule Purge Fixes
2022-07-26 17:02:24 -05:00
Josh Slocum
5c2681f0b5 formatting 2022-07-26 16:47:07 -05:00
Josh Slocum
0609aa57d1 Merge branch 'main' into improved_cf_testing 2022-07-26 16:44:13 -05:00
Josh Slocum
ba31229797 addressing review comments 2022-07-26 16:37:06 -05:00
Junhyun Shim
6f9c87f2a5 Move dummy transaction flag to TransactionState
Also add more description of what the flag does and when it's set
2022-07-26 23:27:46 +02:00
Josh Slocum
4d2f90977d
Merge pull request #7656 from sfc-gh-jslocum/cf_bw_operational_fixes
Cf bw operational fixes
2022-07-26 16:24:26 -05:00
Josh Slocum
c32e1da908
Merge pull request #7673 from sfc-gh-jslocum/delta_files_v2
Sorted Delta Files
2022-07-26 16:04:55 -05:00
A.J. Beamon
4c4eb3fc48
Merge pull request #7704 from sfc-gh-ajbeamon/add-comments-to-tenant-function
Add comments explaining the use of the TransactionState tenant() and hasTenant() functions
2022-07-26 14:01:50 -07:00
Jon Fu
6ff90c83b1 remove extra parameters 2022-07-26 13:58:19 -07:00
Jon Fu
6dbaf46ec8 restructure test workload impl and map 2022-07-26 13:53:04 -07:00
Xiaoxi Wang
7125902714
Merge pull request #7709 from sfc-gh-xwang/fix/main/remove-runAfter
remove runAfter actor
2022-07-26 13:38:56 -07:00
Andrew Noyes
de331ba080
Fix incorrect deserialization of FdbClientLogEvents::Event (#7707)
We're trying to interpret an Optional<TenantName> here, but the
python truthiness of self.get_bytes(1) is _always_ true, since it's
non-empty. We need to look at the _contents_ of that byte instead.
2022-07-26 13:10:31 -07:00
Jon Fu
fbf566ac4a
Update documentation/sphinx/source/special-keys.rst
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2022-07-26 15:53:21 -04:00
Jingyu Zhou
698360daf0
Fix a crash bug during CC shutdown process (#7705)
actor_cancel should be thrown, otherwise the rest code can access invalid
memory.
2022-07-26 12:45:39 -07:00
Junhyun Shim
adc601e8a3 Simplify tenant-aware dummy transaction 2022-07-26 21:30:44 +02:00
Josh Slocum
15e7a4b186 addressing review comments 2022-07-26 14:20:35 -05:00
Xiaoxi Wang
7cf6037191 remove runAfter 2022-07-26 12:12:56 -07:00
Jon Fu
0950d82fe5 add documentation and fix merge errors 2022-07-26 11:58:49 -07:00
Nim Wijetunga
5fbebac26c modify test 2022-07-26 11:53:07 -07:00
Jon Fu
21309c2af8 Merge branch 'feature-tenant-groups' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-tenant-rename-special-keys 2022-07-26 11:15:56 -07:00
A.J. Beamon
4c36a137c3
Merge pull request #7692 from sfc-gh-ajbeamon/fix-tenants-disabled-during-recovery
Fix: during recovery, it was possible for tenant operations to briefly fail because the tenant mode was unknown
2022-07-26 10:50:18 -07:00
Nim Wijetunga
7af4a103f9 fix tests 2022-07-26 10:45:27 -07:00
Nim Wijetunga
33f236a068 merge 2022-07-26 10:37:26 -07:00
A.J. Beamon
d31324102d Add comments explaining the use of the TransactionState tenant() and hasTenant() functions 2022-07-26 10:17:57 -07:00
sfc-gh-tclinkenbeard
436aa832e2 Move enums into GlobalTagThrottlerTesting namespace 2022-07-26 10:15:52 -07:00
Nim Wijetunga
7cc58cb1af fix pr issues 2022-07-26 10:14:59 -07:00
Xiaoxi Wang
47af598749
Merge pull request #7701 from liquid-helium/resume-data-move-timing
Make sure resumeFromDataMoves() starts after resumeFromShards().
2022-07-26 09:45:14 -07:00
sfc-gh-tclinkenbeard
c8d2e51aab Change argument type in updateAndGetPerClientLimit 2022-07-26 09:35:07 -07:00
sfc-gh-tclinkenbeard
1864ba2b2a Move enums into GlobalTagThrottlerImpl class
This should fix compilation issues detected by CI
2022-07-26 09:30:25 -07:00
A.J. Beamon
e81ed7ce51 Include encode.h in decode.h to get access to the BUFFERSIZE macro 2022-07-26 09:29:22 -07:00
sfc-gh-tclinkenbeard
9b13ddc8e6 Addressed review comments 2022-07-26 09:22:43 -07:00
A.J. Beamon
59ccdc35ab Disallow configuring the same tenant parameter more than once at a time. Made some slight changes to serialization code for tenants. 2022-07-26 09:04:29 -07:00
A.J. Beamon
f2a8af9155 Better API version handling for fdbcli tenant commands 2022-07-26 09:04:29 -07:00
A.J. Beamon
8833c17899 Remove unused function 2022-07-26 09:04:29 -07:00
A.J. Beamon
35fd459002 Some test fixes 2022-07-26 09:04:29 -07:00
A.J. Beamon
a64693518a Add support for tenant groups 2022-07-26 09:04:29 -07:00
He Liu
e0b8530ad1 Make sure resumeFromDataMoves() starts after resumeFromShards(). 2022-07-25 22:33:24 -07:00
Chaoguang Lin
5045844ea1
Add -r changeclusterkey tool for snapshot restore (#7687)
* Debug version of fdbserver -r changeclusterkey tool

* Remove debug symbols; move function to Coordinaton.actor.cpp

* Format and add traces

* fix comments
2022-07-25 22:12:28 -07:00
Yao Xiao
98bff116a4
Disabled unsupported tests. (#7693) 2022-07-25 21:57:47 -07:00
Zhe Wu
410ad5ff18 TLog track unpopped recovery tag 2022-07-25 20:10:18 -07:00
Nim Wijetunga
26d233c0f8 encryption as a tenant property 2022-07-25 17:19:14 -07:00
Renxuan Wang
dc9599f2e9
Get network interfaces ready for https proxy. (#7556)
* Move HTTP from fdbclient/ to fdbrpc/.

* Move md5 and libb64 to contrib/.

* Get network interfaces ready for https proxy.

* Rebase
2022-07-25 17:08:32 -07:00
A.J. Beamon
c9cb3a81b6 Add comment for TenantState 2022-07-25 16:09:27 -07:00
A.J. Beamon
6719e5a85b
Merge pull request #7676 from liquid-helium/ss-shard-management
Fixed compiler warnings.
2022-07-25 13:28:54 -07:00
A.J. Beamon
7c2ed53aef Fix: during recovery, it was possible for tenant operations to briefly fail because the tenant mode is not known 2022-07-25 13:03:15 -07:00
He Liu
118c2ae806
Fixed memory leak for RocksDb and CheckpointReader. (#7665)
* Fixed memory leak for RocksDb and CheckpointReader.

* Close kvStore at the end of StorageServerCheckpointRestoreTest.
2022-07-25 12:36:29 -07:00
Josh Slocum
6115a406d4 formatting 2022-07-25 13:52:47 -05:00
A.J. Beamon
7090ea9995 Fix a couple bugs in tombstone cleanup and tombstone testing. 2022-07-25 11:52:31 -07:00
Jingyu Zhou
88cfaf8793
Merge pull request #7681 from jzhou77/main
Add timeout during Status generation
2022-07-25 11:04:00 -07:00