-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ade87e8
commit 6ddc1f8
Showing
87 changed files
with
832 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
syntax = "proto3"; | ||
option cc_enable_arenas = true; | ||
|
||
package Ydb.Backup.V1; | ||
|
||
option java_package = "com.yandex.ydb.backup.v1"; | ||
|
||
import "src/api/protos/draft/ydb_backup.proto"; | ||
|
||
service BackupService { | ||
// Fetches data from remote storage to cluster instance | ||
// After successful completion of this call BackupCollection objects are created inside cluster | ||
// And remote data can be accessed through them | ||
rpc FetchBackupCollections(FetchBackupCollectionsRequest) returns (FetchBackupCollectionsResponse) {} | ||
|
||
// Shows BackupCollection's present in cluster (probably with some filters or accessible by current user) | ||
// Exact storage scheme of this collections will be defined later (probably at the beginning it will be some flat scheme by UUID with indices for filtering) | ||
rpc ListBackupCollections(ListBackupCollectionsRequest) returns (ListBackupCollectionsResponse) {} | ||
|
||
// Creates backup collection with specified settings | ||
// In case of remote backup collection (e.g. stored in s3) also checks connection to s3 and all corresponding rights | ||
rpc CreateBackupCollection(CreateBackupCollectionRequest) returns (CreateBackupCollectionResponse) {} | ||
|
||
// Returns specified BackupCollection data | ||
rpc ReadBackupCollection(ReadBackupCollectionRequest) returns (ReadBackupCollectionResponse) {} | ||
|
||
// Somehow updates BackupCollection state. Maybe all subobjects will be modified through this call, maybe they will have separate calls | ||
rpc UpdateBackupCollection(UpdateBackupCollectionRequest) returns (UpdateBackupCollectionResponse) {} | ||
|
||
// Deletes BackupCollection. In case of remote backup collection data WILL be preserved if other is not specified explicitly | ||
// In case of read-only BackupCollection's additionally to this explicit flag user should set force flag. | ||
rpc DeleteBackupCollection(DeleteBackupCollectionRequest) returns (DeleteBackupCollectionResponse) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax = "proto3"; | ||
|
||
package Ydb.ObjectStorage.V1; | ||
option java_package = "com.yandex.ydb.object_storage.v1"; | ||
|
||
import "src/api/protos/draft/ydb_object_storage.proto"; | ||
|
||
service ObjectStorageService { | ||
rpc List(ObjectStorage.ListingRequest) returns (ObjectStorage.ListingResponse); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
syntax = "proto3"; | ||
|
||
package Ydb.Tablet.V1; | ||
option java_package = "com.yandex.ydb.tablet.v1"; | ||
|
||
import "src/api/protos/draft/ydb_tablet.proto"; | ||
|
||
// This service has low-level APIs that are not intended for normal operation, | ||
// sometimes allowing system administrators to repair broken databases or | ||
// perform reconfiguration that is not directly supported. These may break the | ||
// system completely however, so use with caution and make sure you really know | ||
// what you're doing. | ||
service TabletService { | ||
|
||
// Execute a minikql script at the specified tablet. | ||
// This may be used to side-step intended tablet APIs and work with their | ||
// local database directly, e.g. to repair tablets in an unexpected state. | ||
// Note the modified tablet usually needs to be restarted to pick up any | ||
// changes, since its logical in-memory state is not updated and diverges | ||
// from the new persistent state. | ||
rpc ExecuteTabletMiniKQL(ExecuteTabletMiniKQLRequest) returns (ExecuteTabletMiniKQLResponse); | ||
|
||
// Change schema of the specified tablet and get the resulting schema. | ||
// This may be used to side-step intended tablet APIs and repair tablets | ||
// in an unexpected state. Empty changes are useful to dump current tablet | ||
// schema. | ||
rpc ChangeTabletSchema(ChangeTabletSchemaRequest) returns (ChangeTabletSchemaResponse); | ||
|
||
// Restart the specified tablet. | ||
// This may help when tablets (or their clients) are running in an | ||
// unexpected state, sometimes allowing them to get unstuck. | ||
rpc RestartTablet(RestartTabletRequest) returns (RestartTabletResponse); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PROTO_LIBRARY() | ||
|
||
SRCS( | ||
sensitive.proto | ||
validation.proto | ||
) | ||
|
||
EXCLUDE_TAGS(GO_PROTO) | ||
|
||
END() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.