You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
feat(SM): MCOL-5785 S3Storage improvements
Update libmarias3 fix build with the recent libmarias3 feat(SM): MCOL-5785 Add timeout options for S3Storage In some unfortunate situations StorageManager may get stuck on network operations. This commit adds the ability to set network timeouts which will help to ensure that the system is more responsive. feat(SM): MCOL-5785 Add smps & smkill tools * `smps` shows all active S3 network operations * `smkill` terminates S3 network operations NB! At the moment smkill is able to terminate operations that are stuck on retries, but not hang inside the libcurl call. In other words if you want to terminate all operations you should configure `connect_timeout` & `timeout` Install smkill & smps Add install for new binaries
This commit is contained in:
committed by
Leonid Fedorov
parent
91dd3abb0a
commit
4aa281645e
@@ -84,7 +84,9 @@ enum Opcodes
|
||||
LIST_DIRECTORY,
|
||||
PING,
|
||||
COPY,
|
||||
SYNC
|
||||
SYNC,
|
||||
LIST_IOTASKS,
|
||||
TERMINATE_IOTASK
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -300,6 +302,46 @@ struct copy_cmd
|
||||
// use f_name as an overlay at the end of file1 to get file2.
|
||||
};
|
||||
|
||||
/*
|
||||
LIST_IOTASKS
|
||||
------------
|
||||
command format:
|
||||
1-byte opcode
|
||||
|
||||
response format:
|
||||
4-byte num elements|(8-byte id|double runningTime) * num elements
|
||||
*/
|
||||
struct list_iotask_cmd
|
||||
{
|
||||
uint8_t opcode;
|
||||
};
|
||||
|
||||
struct list_iotask_resp_entry
|
||||
{
|
||||
uint64_t id;
|
||||
double runningTime;
|
||||
};
|
||||
|
||||
struct list_iotask_resp
|
||||
{
|
||||
uint32_t elements;
|
||||
list_iotask_resp_entry entries[];
|
||||
};
|
||||
|
||||
/*
|
||||
TERMINATE_IOTASK
|
||||
----------------
|
||||
command format:
|
||||
1-byte opcode|8-byte id
|
||||
|
||||
response format:
|
||||
*/
|
||||
struct terminate_iotask_cmd
|
||||
{
|
||||
uint8_t opcode;
|
||||
uint64_t id;
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
} // namespace storagemanager
|
||||
|
Reference in New Issue
Block a user