Alexey Milovidov
aac2f98870
Better code around sessions, step 2
2020-03-05 06:57:31 +03:00
Alexey Milovidov
156e6246c1
Better code around sessions
2020-03-05 06:12:07 +03:00
Alexey Milovidov
c3746ddf3e
Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time
2020-03-05 05:15:03 +03:00
Alexey Milovidov
ef7fd6c486
Merge branch 'master' into session-cleaner-better-build-time
2020-03-05 05:14:28 +03:00
Alexey Milovidov
dc086b20a9
Fixed wrong code around Memory Profiler
2020-03-03 03:24:44 +03:00
Vitaly Baranov
fc0376a170
Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception.
2020-03-01 02:18:49 +03:00
Vitaly Baranov
ae18d443c8
Introduce roles.
2020-02-21 06:03:03 +03:00
Vitaly Baranov
4f85c148b5
Move event handling away from Context.
2020-02-21 03:27:23 +03:00
Vitaly Baranov
5849dd2236
Slightly better solution for checking row policy for distributed tables,
...
now it checks both current user's and initial user's filters.
2020-02-21 00:57:42 +03:00
Vitaly Baranov
ed2061db8a
Better pointers: std::shared_ptr<const QuotaContext> instead of std::shared_ptr<QuotaContext>, boost::atomic_shared_ptr instead of std::atomic_load/store.
2020-02-21 00:57:42 +03:00
Alexey Milovidov
f888c6ac88
Fixed build
2020-02-20 16:21:58 +03:00
Alexey Milovidov
a739e42740
Better build time
2020-02-19 21:41:22 +03:00
Ivan
1b55150701
Add row-level filter support to Distributed engine ( #8926 )
...
* Add tests
* Implement support for initial user on remote side.
2020-02-07 22:31:09 +03:00
Vitaly Baranov
c9f2713cc4
Remove getting user by name from Context.
2020-02-06 18:12:53 +03:00
Vitaly Baranov
08c6061bdf
Add user_id to Context.
2020-02-06 18:12:54 +03:00
Vitaly Baranov
caeed69fe0
Change access rights dynamically when users.xml is edited.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
10c912dab2
Rewrite the User class to be controlled by AccessControlManager.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
168002376b
Remove old access rights checking code.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
9e910222da
Add interfaces to check access rights.
2020-01-31 19:23:33 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log
2020-01-12 20:16:30 +03:00
Alexey Milovidov
ae2cc175ae
Fixed potential performance issue in "Context::getTable" method
2020-01-06 02:00:31 +03:00
Alexander Burmak
70b3a1a0d8
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-02 18:01:41 +03:00
alexey-milovidov
15c67f0a0e
Merge branch 'master' into refactor_databases
2019-12-29 03:52:07 +03:00
Alexander Tokmakov
a2a155dcbd
Merge branch 'master' into table_name_in_istorage
2019-12-27 15:47:29 +03:00
Alexander Tokmakov
8987b027ba
fixes
2019-12-27 15:18:49 +03:00
Alexander Burmak
170bcf041a
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2019-12-27 09:55:54 +03:00
Alexander Tokmakov
ef129b4b7c
use StorageID in views
2019-12-26 20:59:47 +03:00
Alexander Tokmakov
9319863a59
refactor table dependencies
2019-12-26 20:23:24 +03:00
Alexander Tokmakov
cf5c998b30
refactor storage name
2019-12-26 19:23:38 +03:00
Alexander Tokmakov
f2d98731ae
remove getCreate from Context
2019-12-25 19:33:26 +03:00
Alexander Burmak
0894ed9f33
Integration of log storages with IDisk interface
2019-12-23 16:11:56 +03:00
Vitaly Baranov
c3161b7610
Add DCL to manage row policies.
2019-12-19 18:40:21 +03:00
Vitaly Baranov
9f5ab54fc2
Rework RowPolicy based on IAccessEntity.
2019-12-19 13:37:02 +03:00
alesapin
a2180b0bb3
Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl
2019-12-16 23:07:16 +03:00
alesapin
ea8994b9e4
Add restrections for several sources of external dictionaries
2019-12-10 20:27:29 +03:00
Alexander Burmak
8104395dd2
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs
2019-12-08 11:45:18 +03:00
Vitaly Baranov
6306e2ab91
Add DCL to manage quotas.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
0e21673271
Rework Quota based on IAccessEntity.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
7db6c60bb1
Add AccessControlManager and an interface for the storage.
2019-12-05 21:03:57 +03:00
alesapin
20e4e92c49
Fix some conflicts
2019-12-03 19:32:41 +03:00
Alexander Burmak
e5ffdc0224
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs
2019-11-29 18:27:56 +03:00
Alexander Burmak
3e5ef56644
Filesystem abstraction layer
2019-11-27 14:33:27 +03:00
Vladimir Chebotarev
37bebd1370
Improved BackgroundProcessingPool to use with background moves task.
2019-11-26 16:09:57 +03:00
Vladimir Chebotarev
e96c24786b
Separated pool for background moves.
2019-11-26 16:08:59 +03:00
millb
d62cd6efa8
Merge branch 'master' into url_engine_problem
2019-11-05 14:42:53 +03:00
Vitaly Baranov
272608762e
Fix comment.
2019-10-31 11:45:14 +03:00
Vitaly Baranov
5601d6ae66
Add constraints columns to table system.settings
2019-10-31 01:45:57 +03:00
alesapin
a6199b7e69
Merge with master
2019-10-24 12:33:40 +03:00