Commit Graph

24540 Commits

Author SHA1 Message Date
Andrew Noyes 6fa9cd84c9 Fix up merge 2022-12-14 17:30:54 -08:00
Andrew Noyes fd98e6f474 Merge branch 'main' into anoyes/idempotency-status-json 2022-12-14 17:15:22 -08:00
A.J. Beamon f1c5eb55ba Add overloads of the Optional::map and ErrorOr::map functions that allow you to more easily convert to a value's members. Add a similar mapRef function if the wrapped type is a pointer-type. 2022-12-14 15:22:54 -08:00
A.J. Beamon 0a686719d8 Make mapAsync usable without specifying template parameters 2022-12-14 14:33:59 -08:00
Kevin Hoxha a05649c620 metrics: Add knob to control emission of DDSketch buckets 2022-12-14 14:33:39 -08:00
Andrew Noyes dd0036f09c
Automatically clean old idempotency ids (#9039)
* Add cleanIdempotencyIds

Delete zero or more idempotency ids older than minAgeSeconds

* Automatically clean idempotency ids from first proxy

* Add test for cleaner

* Fix formatting

* Address review comments
2022-12-14 14:24:24 -08:00
Xiaoxi Wang d0ca0a863b
Merge pull request #9048 from sfc-gh-xwang/fix/main/NumberDataPoint
fix uninitialised byte(s) field in NumberDataPoint
2022-12-14 13:28:57 -08:00
Xiaoxi Wang 61e3917d58 check tenant access in applyMetadataToCommittedTransactions 2022-12-14 13:27:50 -08:00
Josh Slocum 90b1ad9941
Added FeedDiskReadState to make change feeds reading a large amount of disk data more efficient (#8830)
* Added FeedDiskReadState to make change feeds reading a large amount of disk data more efficient

* documentation for FeedDiskReadState
2022-12-14 12:53:41 -08:00
Xiaoxi Wang 0f3ae0ccd0 fix uninitialised byte(s) field NumberDataPoint 2022-12-14 12:07:35 -08:00
Ankita Kejriwal fe06114bcd Update the help text for `quota` command 2022-12-14 11:01:33 -08:00
Jingyu Zhou 8cae5f238e
Merge pull request #9038 from sfc-gh-sgwydir/non-fatal-tls
TLS error messages should reflect their non-fatal nature
2022-12-14 09:07:05 -08:00
Andrew Noyes ebe374e5d7 Fix formatting 2022-12-14 08:51:32 -08:00
Andrew Noyes 91a2010a34 Add .cluster.idempotency_ids to status json 2022-12-14 07:37:44 -08:00
Jingyu Zhou a628726cf1
Merge pull request #9031 from xis19/binding_failure
fixup! Fix the clang error in bindings/c
2022-12-13 20:31:53 -08:00
Xiaoge Su 70c9f2bb5f fixup! Fix the clang error in bindings/c 2022-12-13 18:13:01 -08:00
Sam Gwydir 833f2f9f5a TLS error messages are non-fatal
To avoid confusing users, TLS error messages should reflect the fact
that they are non-fatal and thus note that they are warnings.
2022-12-13 13:17:59 -08:00
Xiaoxi Wang 11a096567c Merge branch 'main' of https://github.com/apple/foundationdb into feature/main/wiggleDelay 2022-12-13 12:28:39 -08:00
A.J. Beamon a0b9646a73
Merge pull request #8997 from sfc-gh-ajbeamon/commit-proxy-tenant-name-refactor
Update tenant maps on the commit proxy to be ID based and not store full TenantMapEntries
2022-12-13 10:12:35 -08:00
Jingyu Zhou 0edfc27459
Merge pull request #9033 from sbodagala/main
Extend "ProcessMetrics" to include FoundationDB version
2022-12-13 08:58:07 -08:00
A.J. Beamon e4ee7e3b2e Merge branch 'main' into commit-proxy-tenant-name-refactor 2022-12-13 08:51:13 -08:00
A.J. Beamon b29b20c1d9
Merge pull request #9011 from sfc-gh-nwijetunga/nim/fix-encrypted-backup-workload
Fix EncryptedBackupCorrectness Workload
2022-12-13 08:42:20 -08:00
Nim Wijetunga 3a238d638a
Commit Proxy uses Encryption DB Config (#8911)
* add encryption db config

* address pr comments

* address pr comments

* add comments

* cp uses db config

* remove includes

* fix tests

* fix tests

* modify comment

* add encryption enabled method

* modify simulation

* Trigger Build

* change commit proxy encrypt mode fetching

* address pr comments

* address pr comments

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build
2022-12-12 21:23:55 -08:00
Nim Wijetunga 08b2123c1c Merge branch 'main' into nim/fix-encrypted-backup-workload
* main:
  Moving rocksdb read iterator destruction from commit path to actor. (#8970)
  Nit fix
  apply format in fdbclient/FDBTypes.cpp
  Update physical shard tracking document.
  Fix issue with KeyRangeRef original data gone.
  Add code document.
  During initialization, keyRangePhysicalShardIDMap may not contain full range. Adjust assertion in checkKeyRangePhysicalShardMapping
  Create per physical shard tracking data stucture. Not populate yet
  Do not compress debug sections in release builds (#9005)
  Fix assertion failure from changeFeedTSSValidator()
  metrics: Fix windows build
  Fix feed metadata reset (#8751)
  MultiVersionTransaction: Improve Comments
  MultiVersionTransaction: Add comments
  MultiverstionTransaction: Remove redundant setOption calls
  The pair name will only match when we are deleting the source tenant entry
  Add an assert in deleteTenantFromManagementCluster that the tenant's pair name matches the locally stored pair name
  DeleteTenantImpl::markTenantInRemovingState needs to record the pair name even if the tenant is already in a removing state (it could be a pair in the process of being removed). Use better asserts in tenant consistency.
2022-12-12 16:32:09 -08:00
Sreenath Bodagala a4ceb8ff63 Merge remote-tracking branch 'apple-upstream/main' 2022-12-12 22:35:00 +00:00
neethuhaneesha 3a4d79cb8b
Moving rocksdb read iterator destruction from commit path to actor. (#8970) 2022-12-12 13:46:43 -08:00
Zhe Wu 9f8f19d0ef Nit fix 2022-12-12 13:25:52 -08:00
Zhe Wu 68972c039b apply format in fdbclient/FDBTypes.cpp 2022-12-12 13:25:52 -08:00
Zhe Wu 1b1eb58972 Update physical shard tracking document. 2022-12-12 13:25:52 -08:00
Zhe Wu 8dc87f7171 Fix issue with KeyRangeRef original data gone. 2022-12-12 13:25:52 -08:00
Zhe Wu a30208548b Add code document. 2022-12-12 13:25:52 -08:00
Zhe Wu 75b2c14d0f During initialization, keyRangePhysicalShardIDMap may not contain full range. Adjust assertion in checkKeyRangePhysicalShardMapping 2022-12-12 13:25:52 -08:00
Zhe Wu a6cd33134a Create per physical shard tracking data stucture. Not populate yet 2022-12-12 13:25:52 -08:00
Sreenath Bodagala 774fc1168e - Log FoundationDB version as part of "ProcessMetrics". 2022-12-12 21:16:30 +00:00
Jingyu Zhou 6e47d85b77
Merge pull request #8901 from sfc-gh-ajbeamon/fix-tenant-rename-delete-concurrency-bug
Fix concurrency bug with tenant renames and deletes
2022-12-12 13:04:11 -08:00
A.J. Beamon 8d1aeb4ee9 Merge branch 'main' into commit-proxy-tenant-name-refactor 2022-12-12 09:13:23 -08:00
A.J. Beamon 70abb457ce Merge branch 'main' into fix-tenant-rename-delete-concurrency-bug 2022-12-12 09:12:18 -08:00
Vaidas Gasiunas 585996a88b
Do not compress debug sections in release builds (#9005) 2022-12-12 16:19:57 +01:00
Christian Wende 6d29eb71d1
Merge pull request #8980 from sfc-gh-cwende/client-timout-optimizations
MultiversionTransaction: Remove redundant setOption calls
2022-12-12 14:18:57 +01:00
Christian Wende 396acf25f2 Merge remote-tracking branch 'origin/main' into client-timout-optimizations 2022-12-12 13:00:56 +01:00
Xiaoxi Wang c12de23824 Merge branch 'main' of https://github.com/apple/foundationdb into feature/main/wiggleDelay 2022-12-11 14:27:22 -08:00
Jingyu Zhou 1c4f389671
Merge pull request #9022 from jzhou77/fix
Fix assertion failure from changeFeedTSSValidator()
2022-12-10 11:36:34 -08:00
Jingyu Zhou fee561921a Fix assertion failure from changeFeedTSSValidator() 2022-12-10 10:02:14 -08:00
Junhyun Shim 9ddc8e076d Fix clang format 2022-12-09 17:07:17 -08:00
Junhyun Shim 4882fa590f Merge remote-tracking branch 'origin/main' into mako-authz-token-generation 2022-12-09 16:48:59 -08:00
Junhyun Shim 5da9b5e10d Apply review suggestions 2022-12-09 16:48:42 -08:00
Jingyu Zhou 2240254cde
Merge pull request #9013 from sfc-gh-khoxha/khoxha/metric-windows-fix
metrics: Fix windows build
2022-12-09 15:32:25 -08:00
Kevin Hoxha f2b781407f metrics: Fix windows build 2022-12-09 13:41:46 -08:00
Junhyun Shim 691f0cd709 Mako: exempt CLEAN mode from generating tokens
In CLEAN mode, admin server uses trusted client mode (i.e. connect w/ TLS cert)
to remove clear tenant keyspaces and delete tenants.
2022-12-09 13:32:45 -08:00
Junhyun Shim d24df289e3 Remove debug code + fix broken switch-case block 2022-12-09 13:25:59 -08:00