Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The commit includes new code that support S3 as possible implementation of IDBClient. We plan to use it with ReadOnly replica for the replication of the data to external storage. Introduce has(Key) method in IDBClient interface and implement it in all its derived classes ROReplica: handoff state transfer messages to a dedicated thread to avoid process stuck in case of long blocking call to an external object store. Re-factoring: replace various BCStateTran config params by their Config struct equivalent. IDBclient: - add has(Sliver key) - ReplicaForStateTransfer owns the IStateTransfer* instance instead of kvbc::ReplicaImp - remove RorAppState - IAppState implemented by kvbc::ReplicaImp - v1::DBAdapter - setLatestBlock() - setLastReachableBlock() - add an ability to add free keys - ecs::S3Client -> s3::client DBAdapter to use additional IDBClient for metadata
- Loading branch information
Showing
46 changed files
with
1,814 additions
and
600 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from conans import ConanFile, CMake, tools | ||
from conans.tools import os_info, SystemPackageTool | ||
|
||
|
||
class LibS3Conan(ConanFile): | ||
name = "libs3-dev" | ||
version = "2.0-3" | ||
def system_requirements(self): | ||
pack_name = None | ||
if os_info.linux_distro == "ubuntu": | ||
pack_name = "libs3-dev" | ||
|
||
if pack_name: | ||
installer = SystemPackageTool() | ||
installer.install(pack_name) | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.