A.J. Beamon
68f15650a1
Make sure closed and tenantUpdater are read/written in the same critical section.
2022-03-31 11:12:01 -07:00
A.J. Beamon
15b3465b49
Merge pull request #6647 from sfc-gh-ajbeamon/fdb-tenant-documentation
...
Add some basic documentation for tenants
2022-03-31 10:33:01 -07:00
Jingyu Zhou
4fd414a8ed
Merge branch 'main' into vv
...
Fix Conflicts:
fdbclient/NativeAPI.actor.cpp
2022-03-31 09:38:36 -07:00
A.J. Beamon
d813caff10
Merge pull request #6644 from sfc-gh-ajbeamon/fdb-tenant-java
...
Java support for tenants
2022-03-31 08:32:18 -07:00
A.J. Beamon
b6350a2535
Add a note that use of special keys may implicitly enable raw access on a transaction.
2022-03-31 08:29:31 -07:00
A.J. Beamon
860ede0c2e
Add some basic documentation for tenants
2022-03-31 08:29:31 -07:00
Steve Atherton
35a5215702
Merge branch 'main' of https://github.com/apple/foundationdb into fix-storage-timestamps
2022-03-31 00:54:21 -07:00
Steve Atherton
4b4082fe62
Merge pull request #6738 from sfc-gh-xwang/cmake-fix
...
fix cmake bug when no link or compile options
2022-03-31 00:51:59 -07:00
Xiaoxi Wang
61e374f301
fix cmake bug when use gcc
2022-03-30 23:21:22 -07:00
Jingyu Zhou
cfcf0f152c
Merge branch 'main-4a085fc84' into vv
...
Fix Conflicts:
fdbclient/NativeAPI.actor.cpp
fdbserver/ClusterRecovery.actor.cpp
fdbserver/MasterInterface.h
fdbserver/masterserver.actor.cpp
flow/error_definitions.h
2022-03-30 22:28:06 -07:00
Bharadwaj V.R
88c8b5f2a9
Merge branch 'apple:main' into ssupdateb4registration
2022-03-30 21:16:55 -07:00
Jingyu Zhou
b34f4052cd
Merge branch 'main-f28dfc12b' into vv
...
Fix Conflicts:
fdbclient/MultiVersionTransaction.actor.cpp
fdbclient/NativeAPI.actor.cpp
fdbclient/NativeAPI.actor.h
fdbserver/storageserver.actor.cpp
2022-03-30 21:01:25 -07:00
Jingyu Zhou
00b57d4cce
Merge branch 'main-67eba5ec7' into vv
...
Fix Conflicts:
fdbclient/CommitProxyInterface.h
fdbclient/NativeAPI.actor.cpp
fdbclient/StorageServerInterface.h
fdbserver/CommitProxyServer.actor.cpp
fdbserver/storageserver.actor.cpp
2022-03-30 20:05:55 -07:00
Xiaoxi Wang
d6d4596c35
Merge pull request #6709 from sfc-gh-ajbeamon/fix-fdbcli-bugs
...
Fix issues with command completion for exclude and storage_migration_type
2022-03-30 19:53:49 -07:00
Jingyu Zhou
0cc1b67b7a
Temporary fix for stale version vector assertion
...
Need to investigate why and fix later.
2022-03-30 19:34:58 -07:00
Steve Atherton
26e34a947f
Merge pull request #6724 from sfc-gh-yiwu/file_latency
...
AsyncFileKAIO: add latency histograms
2022-03-30 19:17:34 -07:00
Steve Atherton
6744e9e4f9
Change timestamps used in storage server metadata and perpetual wiggle metrics to epoch seconds, stored as doubles, and stringified as either floating point epoch seconds or timestamp strings of the form "2013-04-28 20:57:01.000 +0000".
2022-03-30 18:57:06 -07:00
Steve Atherton
2c9b2dd005
Merge commit '1b919f52e928e8a72d5acba9175eae32ed4b0c90' into redwood-rare-bugs
...
# Conflicts:
# flow/ThreadHelper.actor.h
2022-03-30 18:21:03 -07:00
Steve Atherton
84f9e00258
Remove duplicative generic actor repeatEvery() since recurring() exists.
2022-03-30 18:10:29 -07:00
A.J. Beamon
be7315473a
Move tenant creation/deletion into a TenantManagement class
2022-03-30 16:31:28 -07:00
A.J. Beamon
6570ae44c6
Use special keys to create/delete tenants
2022-03-30 16:31:28 -07:00
Jon Fu
995f1b3601
Support tuples in Java tenants
2022-03-30 16:31:28 -07:00
A.J. Beamon
a2a97e7176
Add tenant support to the Java bindings
2022-03-30 16:31:28 -07:00
Andrew Noyes
1b919f52e9
Combine vector_like_traits::{insert,reserve} ( #6689 )
...
* Combine vector_like_traits::{insert,reserve}
and explain semantics better. This should make it more clear what
implementers need to do when implementing the vector_like_traits
concept.
* Update std::unordered_set vector_like_traits impl
2022-03-30 16:29:35 -07:00
Jingyu Zhou
e9659b5dd4
Merge branch 'master-PR-6500' into vv
...
Fix Conflicts:
fdbclient/CommitProxyInterface.h
fdbclient/NativeAPI.actor.cpp
fdbserver/masterserver.actor.cpp
2022-03-30 14:53:49 -07:00
Steve Atherton
1d90f17c20
Merge pull request #6721 from sfc-gh-satherton/threadmulticallback-refactor
...
Remove unordered_map of pointers from ThreadMultiCallback
2022-03-30 14:51:51 -07:00
Steve Atherton
d6e2d2a1fe
Fix nondeterminism in StorageWiggleMetrics caused by use of timer_int().
2022-03-30 14:48:01 -07:00
Steve Atherton
2a52c76b7a
Added INetwork::timer_int() for convenience. Clarified what timer_int() actually returns in header comments.
2022-03-30 14:47:24 -07:00
Andrew Noyes
88a439e156
Fix typo from pull request #6698 ( #6729 )
2022-03-30 13:40:57 -07:00
Steve Atherton
75247affa3
Renamed member for better readability.
2022-03-30 13:39:33 -07:00
A.J. Beamon
c7d53b31ee
Use a TenantState object in the MVC implementation to help manage tenant lifetime.
2022-03-30 12:52:27 -07:00
Steve Atherton
5d74e4d091
Added comments to explain some invariants with ThreadMultiCallback and ThreadCallback and how they are enforced.
2022-03-30 12:38:57 -07:00
Jon Fu
4677b59fd8
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded
2022-03-30 15:29:56 -04:00
Jon Fu
f266695a76
clear shared state map entries on version upgrade and use currentProtocolVersion instead of piping version through function parameters
2022-03-30 15:28:55 -04:00
Steve Atherton
637a6f654b
Merge commit 'fc68cdf45f194d198beb8848c49e3081eff6c396' into threadmulticallback-refactor
...
# Conflicts:
# fdbclient/BackupAgent.actor.h
2022-03-30 12:27:03 -07:00
A.J. Beamon
fc68cdf45f
Merge pull request #6693 from sfc-gh-ajbeamon/python-tenant-management-module
...
Move Python tenant management to its own module
2022-03-30 12:03:08 -07:00
Steve Atherton
e6457b1656
A few changes for clarity / readability.
2022-03-30 11:31:46 -07:00
A.J. Beamon
16cc74e910
Remove documenation for Database.delete_tenant.
2022-03-30 11:01:54 -07:00
Yi Wu
acfee48894
AsyncFileKAIO: add latency histograms
2022-03-30 10:45:04 -07:00
Jon Fu
3283d07b4c
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded
2022-03-30 13:44:28 -04:00
Jon Fu
9d0a520fe0
add ProtocolVersion to shared state and state cluster map
2022-03-30 13:28:06 -04:00
Bharadwaj V.R
d56066ee91
Merge branch 'apple:main' into ssupdateb4registration
2022-03-30 09:47:20 -07:00
Xiaoxi Wang
e2c66de28f
Merge pull request #6722 from sfc-gh-satherton/fix-backup-backward-compatibility
...
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug from #6705
2022-03-30 08:38:48 -07:00
Steve Atherton
c5995f2e27
Can't enforce size limit or downgrades from future versions could break.
2022-03-29 23:53:45 -07:00
Steve Atherton
bf505ed816
Simplify conditional.
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:44:41 -07:00
Steve Atherton
a1eca85b66
Simplify conditional.
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:43:07 -07:00
Steve Atherton
b50886b10a
Fix size check
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:42:25 -07:00
Steve Atherton
c00ae2fe85
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug recently introduced.
2022-03-29 23:11:15 -07:00
Steve Atherton
5a0274db65
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug recently introduced.
2022-03-29 23:03:24 -07:00
Steve Atherton
01facc8dfa
Refactored callback tracking in ThreadCallback and ThreadMultiCallback to not use an unordered_map of pointers to prevent it from falsely triggering the DEBUG_DETERMINISM check, plus it is lower overhead, saving about 6% CPU in the AbortableSingleAssignmentVar unit test.
2022-03-29 21:13:13 -07:00