Commit Graph

24063 Commits

Author SHA1 Message Date
Lukas Molleman a9add384b7 contrib/monitoring Applied flake8 2022-11-22 19:00:40 +01:00
Lukas Joswiak 0b7baf4437
Fix recruitment method string in error messages (#8514)
* Fix recruitment method type in error messages

* Add comment for new kill type
2022-11-22 09:33:54 -08:00
A.J. Beamon c9b0e0335a
Temporarily disable the default tenant in DifferentClustersameRV (#8895) 2022-11-22 17:35:25 +01:00
Jingyu Zhou d84c4a81c5
Merge pull request #8884 from sfc-gh-dzhou/sks-fix
test: add RAW_ACCESS when touching global special key space
2022-11-21 16:40:49 -08:00
Markus Pilman e446394d29
Merge pull request #8898 from sfc-gh-mdvorsky/mdvorsky/avoid-memory-storage-DiskFailureCycle
Avoid memory storage engines in DiskFailureCycle
2022-11-21 13:49:58 -07:00
Vaidas Gasiunas 084a78fded
Let onError always succeed on cluster version changes (#8841) 2022-11-21 20:31:32 +01:00
Marian Dvorsky ccdd644680 Avoid memory storage engines in DiskFailureCycle 2022-11-21 20:19:22 +01:00
Jingyu Zhou c8937d2ae9
Merge pull request #8886 from jzhou77/fix
Fix backup worker assertion failure
2022-11-21 11:17:22 -08:00
Dennis Zhou f10247aa25
blob: purge range fix (#8867)
* blob: adjacent purge unit test

Ensure [A, B), [B, C) can be purged independently.

* blob: fix purge alignment condition

We only need to check if the first range starts before the end.
Additionally, an empty range is problematic if passed to getRange() and
we're expecting additional values past the end of the range.
2022-11-21 12:26:19 -06:00
Markus Pilman a44f7843a7
Merge pull request #8890 from sfc-gh-tclinkenbeard/fail-early-snapshot
Fail SnapTestWorkload if taking a snapshot fails
2022-11-21 10:44:58 -07:00
Markus Pilman 51a3ff39c4
Merge pull request #8851 from sfc-gh-anoyes/anoyes/linear-set-deser
Make deserializing std::{map,set} O(n)
2022-11-21 10:41:24 -07:00
A.J. Beamon 4a6b29deff
Merge pull request #8871 from LukasMoll/flake8-bindings-python-tests
bindings/python/tests Applied flake8
2022-11-21 09:22:41 -08:00
Lukas Joswiak 750669c9d8 Remove unnecessary buggify 2022-11-21 09:03:22 -08:00
Lukas Joswiak bbaff82f42 Remove rare annotation 2022-11-21 09:03:22 -08:00
Lukas Joswiak fa596d4224 Remove code probe from debug path
This function is never called in simulation, and we already test
deserializing otel span messages in the storage server.
2022-11-21 09:03:22 -08:00
Lukas Joswiak 7d73d52a91 Enable tracing in simulation
This will help test the flow of span IDs from the client all the way to
the storage servers.
2022-11-21 09:03:22 -08:00
Marian Dvorsky f7d1310d0d
Suppress LSAN leak reports from ConnectionReaderActorState (#8889) 2022-11-21 17:58:22 +01:00
sfc-gh-tclinkenbeard 3c97f43138 Change Histogram::Unit::microseconds to milliseconds 2022-11-21 08:03:56 -08:00
sfc-gh-tclinkenbeard d74a4e3e5b Fix bug in Histogram::writeToLog 2022-11-21 08:03:56 -08:00
sfc-gh-tclinkenbeard bc9dfd0e70 Fail SnapTestWorkload if taking a snapshot fails 2022-11-21 07:30:33 -08:00
Lukas Molleman f57c977d73 bindings/python/tests Applied flake8 2022-11-21 12:08:53 +01:00
Zhe Wu 9ade12d313 Switch the knob that enables shared map to enable client using cluster id key 2022-11-19 12:46:05 -08:00
Zhe Wu 81fc8e9d2f Using a knob to guard updateClusterSharedStateMap 2022-11-19 12:46:05 -08:00
Jingyu Zhou d3f0e396ac Fix backup worker assertion failure
The number of released bytes exceeds the number of acquired bytes in locks.
This is because the bytes counted towards release is calculated after a "wait",
when more bytes could be allocated.
2022-11-19 09:18:49 -08:00
Johannes Scheuermann f40b8da3e9
Allow to close database in go bindings (#8793)
* Allow to close database in go bindings
2022-11-19 09:38:10 +01:00
Dennis Zhou a8a28c0e4d test: add RAW_ACCESS when touching global special key space
When writing to the special key space, if RAW_ACCESS is not added, the
default tenant for the database is used. This causes a failure in the
SpecialKeySpace actor where it looks to see if accessing a key by tenant
is allowed, but if it isn't and there is a tenant, we fail. The fix is
RAW_ACCESS prevents propagation of the default tenant.
2022-11-18 20:23:01 -08:00
Hui Liu 891331caed
Merge pull request #8881 from sfc-gh-huliu/fixinit
Init blobGranulesEnabled in ISimulator
2022-11-18 17:07:57 -08:00
Hui Liu de8285f11d
Merge pull request #8834 from sfc-gh-huliu/status
Show blob restore in fdbcli status command
2022-11-18 16:03:30 -08:00
Hui Liu bee0377b4d Init blobGranulesEnabled in ISimulator 2022-11-18 15:53:06 -08:00
Dan Adkins fc1d29f429
Arena: avoid null-pointer reference in ASSERT (#8875)
Narrow the self-reference ASSERT in ArenaBlock::dependOn to only
the cases where we're trying to make a reference from self -> other.

It's allowed for self.getPtr() to be null, in which case we create
the ArenaBlock anew and there's no danger of self-reference.

Fixes Issue #8869.
2022-11-18 18:08:58 -05:00
Jingyu Zhou ebd5b48f6e
Merge pull request #8876 from yao-xiao-github/main
Reuse RocksDB options and CF options.
2022-11-18 13:55:55 -08:00
Chaoguang Lin 5f1c4f2989
Disable all failure injection workloads for special key space correctness tests (#8866) 2022-11-18 14:06:14 -05:00
Jingyu Zhou 95cd0a4660 Merge pull request #8859 from yao-xiao-github/release-7.2
[release-7.2] Reuse RocksDB options and CF options.
2022-11-18 11:03:11 -08:00
A.J. Beamon 877a9388b8
Merge pull request #8748 from LukasMoll/bindings-python-fdb-flake8
/bindings/python/fdb Applied flake8
2022-11-18 08:41:18 -08:00
A.J. Beamon 2ac48e0b76
Merge pull request #8857 from sfc-gh-jfu/metacluster-status-schema
Add metacluster status details to schemas
2022-11-18 08:18:10 -08:00
Junhyun Shim 7c20002332
Merge pull request #8559 from sfc-gh-jshim/authz-security-tests
Authz security simulation tests
2022-11-18 16:48:46 +01:00
Jingyu Zhou 2a74624cbd
Merge pull request #8848 from neethuhaneesha/suggest-compacts
Rocksdb suggest compact range checks
2022-11-17 20:01:19 -08:00
Yao Xiao eda9d701dc
Set timeout to 5 sec. (#8865) 2022-11-17 19:56:26 -08:00
Ankita Kejriwal 3e5cad1508
Merge pull request #8837 from sfc-gh-akejriwal/monitorusage
Add a TraceEvent to export the size of tenant groups
2022-11-17 17:15:31 -08:00
Ankita Kejriwal 4b52560dbc Merge branch 'main' of github.com:apple/foundationdb into monitorusage 2022-11-17 15:47:39 -08:00
Zhe Wu f6612ebd00 When selecting physical shard and it is not available for the remote team, retry selecting a new dst physical shard 2022-11-17 15:44:17 -08:00
neethuhaneesha d865e77f06
RocksDB 7.7.3 version upgrade (#8858) 2022-11-17 15:39:22 -08:00
Jon Fu 973d055193 add data cluster fields to Schemas.cpp 2022-11-17 15:04:11 -08:00
Jingyu Zhou 186d30be95
Merge pull request #8823 from xumengpanda/mengxu/main-tmp
Increase memtable and writebuffer size for rocksdb simulation test
2022-11-17 14:45:14 -08:00
Hui Liu 2e62822183 Show blob restore in fdbcli status command 2022-11-17 14:22:59 -08:00
neethuhaneesha b46c9eb67d Rocksdb suggest compact range checks 2022-11-17 14:20:18 -08:00
Junhyun Shim ce041576f5 Merge remote-tracking branch 'origin/main' into authz-security-tests 2022-11-17 22:44:31 +01:00
Jingyu Zhou 180b531691
Merge pull request #8856 from jzhou77/fix
Fix a log router race condition that blocks remote tlogs forever
2022-11-17 13:15:39 -08:00
Jon Fu 50d616bb69 add metacluster status details to schemas 2022-11-17 12:59:59 -08:00
Jingyu Zhou f285a91f6c Add more debug events 2022-11-17 11:54:21 -08:00