Commit Graph

80 Commits

Author SHA1 Message Date
Azat Khuzhin
e623ad041f Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
C-z is extermelly useful for some users (like myself), so provide a way
to configure it in client and avoid it's ignorance in clickhouse-disks
(I hope it is OK since it is not that known utility and it does not have
it's own configuration, while cli option is useless, one should remeber
about it).

Honestly I've never seen any interactive client that forbids C-z, so
ignoring it my default looks strange to me.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-19 08:33:53 +02:00
divanik
4815f0d6ff Resolve conflicts 2024-07-04 14:09:43 +00:00
divanik
eff9fd519d Merge sth 2024-07-04 13:52:05 +00:00
divanik
b4be9d5c6f Fix address 2024-07-04 13:40:36 +00:00
divanik
242b553253 Change unique_ptr creation to shared_ptr 2024-07-01 17:35:07 +00:00
divanik
a163007325 Change creation criteria of a local disk 2024-07-01 15:33:34 +00:00
divanik
9e92aed2de Correct style check 2024-07-01 13:24:13 +00:00
divanik
fee7da5ed3 Corrected tests 2024-07-01 12:46:17 +00:00
divanik
bb0b93f77d Change wrong implementations of copy and move 2024-07-01 11:11:16 +00:00
divanik
7d4293f6f8 Make commands more profound 2024-06-28 00:21:19 +00:00
divanik
a67d468eaa Forbid unregistered options 2024-06-26 17:25:43 +00:00
divanik
5cebec8152 fix some issues 2024-06-26 15:59:15 +00:00
divanik
5da4b69d57 Tried to fix tests 2024-06-25 17:20:42 +00:00
divanik
504cc3b090 Fix some tests 2024-06-21 16:27:21 +00:00
divanik
6f841d89e7 Fix tests 2024-06-17 17:41:28 +00:00
divanik
752bd00784 Corrected problems and tests 2024-06-14 13:54:12 +00:00
divanik
4ace4006d2 Add documentation for new features in interactive client 2024-06-14 13:02:41 +00:00
divanik
2824ca64e0 Tests and code style 2024-06-14 11:06:56 +00:00
divanik
b8992f0397 Create integration test 2024-06-13 19:14:16 +00:00
divanik
78325c89cc Change help message 2024-06-10 16:17:36 +00:00
divanik
3f7a9738fe Fix compilation bug 2024-06-07 09:04:28 +00:00
divanik
d7c70d029e Ignore caches and encrypted 2024-06-06 16:56:30 +00:00
divanik
439ac99897 Resolve several issues 2024-05-31 13:10:42 +00:00
divanik
75c484a73b Corrected build and some integrations tests 2024-05-30 14:07:25 +00:00
divanik
3133b757d7 Add query for a non-interactive mode 2024-05-29 14:59:50 +00:00
divanik
0a2d922d23 Fix help message printing 2024-05-29 13:57:29 +00:00
divanik
856a0e35f2 Remove redundant includes 2024-05-28 13:32:26 +00:00
divanik
a9000bd821 Fix bugs 2024-05-28 13:17:49 +00:00
divanik
4c2d8a1378 Add highlighting 2024-05-27 14:26:20 +00:00
divanik
4574ee7504 Correct style check 2024-05-27 12:45:05 +00:00
divanik
846d46075d Remove comments 2024-05-27 12:17:04 +00:00
divanik
bc21d0fb27 Minor fix 2024-05-27 11:49:59 +00:00
divanik
f7238356d1 Commit from private 2024-05-27 11:44:45 +00:00
Michael Kolupaev
37f6e331c6 DiskApp: fix 'list --recursive /' and crash on invalid arguments 2024-05-03 20:32:23 +00:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Alexey Milovidov
c49651ef89 Even less conflicts 2024-02-14 03:31:31 +01:00
Alexey Milovidov
39378deac1 Less conflicts 2024-02-14 03:09:40 +01:00
Alexey Milovidov
98f7602ea1 Less conflicts 2024-02-14 03:01:03 +01:00
Nikolay Edigaryev
c8adf35298
DisksApp.cpp: fix typo (specifiged → specified) 2024-01-24 02:34:17 +04:00
jsc0218
cdd5280272
Merge pull request #57387 from evillique/better-disks
Initialize only required disks in clickhouse-disks
2023-12-05 13:59:04 -05:00
Nikolay Degterinsky
93995f6c06 Fix test 2023-12-02 23:59:46 +00:00
Nikolay Degterinsky
e8203f8a76 Initialize only required disks 2023-11-30 03:09:55 +00:00
Aleksei Filatov
163b8a814e Fix clang-tidy issues and disable parallel execution of tests 2023-11-17 11:02:07 +03:00
Azat Khuzhin
c706101891 Fix throttling of BACKUPs from/to S3 (in case native copy was not used)
In some cases native copy is not possible, and such requests should be
throttled.

v0: copyS3FileNativeWithFallback
v2: revert v0 and pass write_settings
v3: pass read_settings to copyFile()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-20 18:28:43 +02:00
Alexey Milovidov
b2821106fd
Merge pull request #53923 from myrrc/docs/ch-disks
Add docs for clickhouse-disks
2023-09-05 02:10:18 +03:00
Mike Kot
11b1053f8d fix 2023-09-04 15:01:43 +00:00
Mike Kot
ebcc97ad1b change case for copy operation in clickhouse-disks 2023-08-31 13:39:32 +00:00
Azat Khuzhin
51e8b16916 Fix IO throttling during copying whole directories
v2: pass local context during ALTER TABLE MOVE PARTITION TO VOLUME/DISK as well
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-29 23:13:46 +02:00
Mike Kot
061bbe13c0 add docs for clickhouse-disks 2023-08-29 12:25:04 +00:00
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02:00