1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-25 17:00:05 +08:00

90 Commits

Author SHA1 Message Date
Ray Jenkins
1c5bf135d5
Revert "Migrate to OpenTelemetry tracing. ()" ()
This reverts commit 5df3bac110d9b5b88931b008b852433688bb7eb0.
2022-04-25 09:29:56 -05:00
Bharadwaj V.R
08323de905 fix formatting 2022-04-22 15:10:24 -07:00
Bharadwaj V.R
588b2fa509
Merge branch 'main' into block-down 2022-04-22 14:53:09 -07:00
Bharadwaj V.R
449a315c06
Merge branch 'apple:main' into block-down 2022-04-21 09:37:42 -07:00
Bharadwaj V.R
8a0ce5bfc7 Rename isInvalidMagic and fix formatting 2022-04-20 09:17:28 -07:00
Bharadwaj V.R
a2449041ea Fix formatting of ProtocolVersion.h 2022-04-20 08:45:53 -07:00
Bharadwaj V.R
4d6f4ecd9c
Merge branch 'main' into dbcorever 2022-04-20 08:23:34 -07:00
Ray Jenkins
5df3bac110
Migrate to OpenTelemetry tracing. () 2022-04-20 09:26:37 -05:00
Bharadwaj V.R
78c4771f9d Fix ProtocolVersion.h formatting diffs 2022-04-14 11:10:39 -07:00
Bharadwaj V.R
3cbe7f7d63 Update min compatible version to 7.1 2022-04-13 09:47:12 -07:00
Bharadwaj V.R
2f2ece073c Add sw version tracking to DBCoreState 2022-04-13 08:05:22 -07:00
Bharadwaj V.R
3e50dda79f
Merge branch 'apple:main' into block-down 2022-04-13 06:58:59 -07:00
Lukas Joswiak
0783b044fe Add protocol feature 2022-04-12 14:35:09 -07:00
Bharadwaj V.R
e4f22e5394
Merge branch 'apple:main' into block-down 2022-04-12 10:50:02 -07:00
Bharadwaj V.R
46b22b79ea Revert "Add SW versions to DBCore state"
This reverts commit 50b45f1bf953c500194d45c5025b177a6f4eb1dd.
2022-04-12 10:47:49 -07:00
Aaron Molitor
6b2d0e5d6b update version to 7.2.0 -- protocol version 2022-04-11 23:23:27 -05:00
Aaron Molitor
c440365779 update version to 7.2.0 -- pr comment protocol version 2022-04-11 23:23:27 -05:00
Aaron Molitor
8db8545db2 update version to 7.2.0 -- protocol version changes 2022-04-11 23:23:27 -05:00
Bharadwaj V.R
50b45f1bf9 Add SW versions to DBCore state 2022-04-11 12:01:12 -07:00
Bharadwaj V.R
1e2c4a0844 Rename some variables from clarity; reorganize compatibility test into a new actor 2022-04-07 14:46:27 -07:00
Bharadwaj V.R
58a6442d1f Add tracing and fix the version write and update logic 2022-04-06 21:06:01 -07:00
Bharadwaj V.R
3fbbf415e7 Properly encapsulate SWVersion and create a couple of UTs for sw version testing 2022-04-04 18:42:52 -07:00
Bharadwaj V.R
a9a84dcafd Merge branch 'apple-main' into block-down 2022-04-01 15:52:18 -07:00
Bharadwaj V.R
be70a57cae Merge branch 'main' of https://github.com/apple/foundationdb into apple-main 2022-04-01 15:50:09 -07:00
Bharadwaj V.R
008bd93cce Change the default construction for SWVersion and add error code for sw version incompatibility 2022-04-01 15:45:24 -07:00
Bharadwaj V.R
60c146bd30
Merge branch 'apple:main' into block-down 2022-03-31 00:11:44 -07:00
Bharadwaj V.R
c009eba7ed Add last-sw-version tracking to SWVersion structure 2022-03-31 00:09:58 -07:00
Bharadwaj V.R
726cb3a18f merge commits from main 2022-03-28 22:49:03 -07:00
Bharadwaj V.R
3a67faca7a Re-register SSI as ready to accept requests 2022-03-22 13:41:06 -07:00
sfc-gh-tclinkenbeard
a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
A.J. Beamon
ecccfd0868 Add cache invalidation to tenant cache. Send tenant ID along with tenant name in requests to validate that the tenant hasn't changed. Fix a few bugs. 2022-03-15 09:23:30 -07:00
Xiaoxi Wang
6dc5921575
createdTime based storage wiggler ()
* add storagemetadata

* add StorageWiggler;

* fix serverMetadataKey bug

* add metadata tracker in storage tracker

* finish StorageWiggler

* update next storage ID

* change pid to server id

* write metadata when seed SS

* add status json fields

* remove pid based ppw iteration

* fix time expression

* fix tss metadata nonexistence; fix transaction retry when retrieving metadata

* fix checkMetadata bug when store type is wrong

* fix remove storage status json

* format code

* refactor updateNextWigglingStoragePID

* seperate storage metadata tracker and store type tracker

* rename pid

* wiggler stats

* fix completion between waitServerListChange and storageRecruiter

* solve review comments

* rename system key

* fix database lock timeout by adding lock_aware

* format code

* status json

* resolve code format/naming comments

* delete expireNow; change PerpetualStorageWiggleID's value to KeyBackedObjectMap<UID, StorageWiggleValue>

* fix omit start rount

* format code

* status json reset

* solve status json format

* improve status json latency; replace binarywriter/reader to objectwriter/reader; refactor storagewigglerstats transactions

* status timestamp
2022-02-04 15:04:30 -08:00
A.J. Beamon
31adbce2f3 Clarify the expectations for the current protocol version and min invalid protocol version in comments. Add static asserts to validate those expectations, where possible. 2022-02-02 10:02:01 -08:00
A.J. Beamon
1f61daa235 Unset the last bit of the protocol version. Reorder protocol version feature declarations to match version order. 2022-01-25 12:41:10 -08:00
Josh Slocum
2e5699c6d3 bump protocol version on master to 7.1 2021-11-10 09:38:51 -06:00
Renxuan Wang
f15ceb5489 Add Hostname struct, and fromHostname in NetworkAddress struct. 2021-11-04 11:42:28 -07:00
Josh Slocum
c003c1266b Doing fixmes for protocol version 2021-10-26 08:30:52 -05:00
Josh Slocum
912ef76f1c cleanup before merge 2021-10-18 17:11:14 -05:00
Josh Slocum
b5074fd597 Reworked all of the system data to encode granule data more efficiently for persistence 2021-10-13 16:28:04 -05:00
Evan Tschannen
a278d2977a renamed range feeds to change feeds, data distribution support almost complete 2021-08-13 14:27:15 -07:00
Evan Tschannen
15fe00927a Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
# Conflicts:
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/StorageServerInterface.h
#	fdbclient/SystemData.cpp
#	fdbclient/SystemData.h
#	fdbserver/storageserver.actor.cpp
#	flow/ProtocolVersion.h
2021-07-12 19:10:14 -07:00
Josh Slocum
d68cb9b048 Changing role names and enabling tss by default in consistency check 2021-05-25 22:21:43 +00:00
Josh Slocum
ce82c9653e Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
Evan Tschannen
d652287bae Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
# Conflicts:
#	fdbclient/DatabaseContext.h
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/StorageServerInterface.h
#	fdbserver/storageserver.actor.cpp
2021-04-30 10:29:42 -07:00
A.J. Beamon
16dfb2b2f2 Keep connections older than 6.2 open indefinitely to avoid weird bugs around quickly closing the database. 2021-04-27 15:00:56 -07:00
A.J. Beamon
a794fca932 Support 5.0 (and earlier) client versions by adding GRV probing for old versions. Update the C bindings implementation of get_server_protocol to convert the ProtocolVersion object into a uint64_t. Rename a misleading protocol version alias. 2021-04-23 15:00:21 -07:00
A.J. Beamon
b2d6930103 The multi-version client monitors the cluster's protocol version and only activates the client library that can connect. 2021-04-15 11:45:14 -07:00
Johannes M. Scheuermann
4aa98f5035 Fix typo 2021-03-14 19:30:35 +00:00
Evan Tschannen
bc757f3e4b basic framework for range feed support 2021-03-04 19:14:54 -08:00
Richard Chen
1c533e7363 fix flowtransport conflicts 2020-10-19 01:00:03 +00:00