Alek Westover
ce0da2889e
cache available libraries: increases efficiency, and reduces code duplication
2023-06-28 11:48:55 -04:00
Alek Westover
b402dfd9c7
added support for private libraries. refactored library downloading function to be more efficient by using a hashmap and to reduce code duplication
2023-06-27 16:56:11 -04:00
Alek Westover
5e882d8359
use test bucket for test extensions
2023-06-27 14:50:47 -04:00
Alek Westover
b999b27655
python black style fix
2023-06-27 10:25:05 -04:00
Anastasia Lubennikova
ebe503e6f8
Test cleanup
2023-06-27 16:46:03 +03:00
Anastasia Lubennikova
604d2643d4
Clenup pytest code
2023-06-27 16:17:59 +03:00
Alek Westover
a2e154f07b
real s3 and tenant specific files
2023-06-26 15:25:20 -04:00
Anastasia Lubennikova
7667fdc5c8
use pgVersion parameter in test_download_extesion
2023-06-26 20:54:11 +03:00
Anastasia Lubennikova
85d02acdb4
Merge branch 'main' into extension_server
2023-06-26 20:46:53 +03:00
Anastasia Lubennikova
5f986875bf
WIP debug shared_libs
2023-06-26 20:15:38 +03:00
Anastasia Lubennikova
1104de0b9b
refactoring
...
- enable CREATE EXTENSION and LOAD test
- change test_file_download to use mock_s3
- some code cleanup
- add caching of extensions_list
- WIP downloading of shared_preload_libraries (not tested yet)
2023-06-26 18:54:38 +03:00
Sasha Krassovsky
c215389f1c
quote_ident identifiers when creating neon_superuser ( #4562 )
...
## Problem
2023-06-24 10:34:15 +03:00
Sasha Krassovsky
b1477b4448
Create neon_superuser role, grant it to roles created from control plane ( #4425 )
...
## Problem
Currently, if a user creates a role, it won't by default have any grants
applied to it. If the compute restarts, the grants get applied. This
gives a very strange UX of being able to drop roles/not have any access
to anything at first, and then once something triggers a config
application, suddenly grants are applied. This removes these grants.
2023-06-24 01:38:27 +03:00
Alek Westover
a8f848b5de
test reals3
2023-06-23 15:51:49 -04:00
Alek Westover
ca59330df8
modify file names
2023-06-23 15:28:30 -04:00
Alek Westover
6532daf528
add todos
2023-06-23 14:07:10 -04:00
Alek Westover
8bc128e474
real s3 tests
2023-06-23 13:41:08 -04:00
Alek Westover
c3994541eb
add real s3 tests
2023-06-23 13:26:28 -04:00
Anastasia Lubennikova
7cdcc8a500
Fix downloading of sql files for extension and libraries.
...
Rust code refactoring and C code fixes.
Add test for CREATE EXTENSION and LOAD 'library'
2023-06-23 20:25:14 +03:00
Christian Schwarz
76718472be
add pageserver-global histogram for basebackup latency ( #4559 )
...
The histogram distinguishes by ok/err.
I took the liberty to create a small abstraction for such use cases.
It helps keep the label values inside `metrics.rs`, right next
to the place where the metric and its labels are declared.
2023-06-23 16:42:12 +02:00
Alek Westover
4201f4695f
fix typo
2023-06-23 10:03:41 -04:00
Alek Westover
31aa0283b0
More Extension Features ( #4555 )
...
Added tenant specific extensions and more tests
2023-06-23 09:30:49 -04:00
Alek Westover
384e3ab1a8
fix code style
2023-06-22 15:10:08 -04:00
Alek Westover
4259464f72
fix typo
2023-06-22 15:07:28 -04:00
Alek Westover
152206211b
turn remote extensions off by default
2023-06-22 15:02:51 -04:00
Alek Westover
9c35c06c58
small refactor
2023-06-22 14:24:59 -04:00
Alek Westover
245b4c9d72
remove env vars
2023-06-22 13:48:21 -04:00
Alek Westover
3d0f74fc0c
fixing paths
2023-06-22 13:47:47 -04:00
Alek Westover
ce55f70cac
added env vars
2023-06-22 12:23:30 -04:00
Alek Westover
053d592ddb
fix minor bug
2023-06-22 12:08:28 -04:00
Alek Westover
b85416b58d
satisfying mypy
2023-06-22 11:15:33 -04:00
Alek Westover
195838436c
Merge branch 'extension_server' of github.com:neondatabase/neon into extension_server
2023-06-22 11:01:04 -04:00
Alek Westover
9313045de6
finished making the configuration optional
2023-06-22 11:00:38 -04:00
Alek Westover
44ac7a45be
Merge branch 'main' into extension_server
2023-06-22 10:30:19 -04:00
Alek Westover
e35e8a7dcb
None
2023-06-22 10:25:54 -04:00
Alek Westover
a79b0d69c4
made remote_ext_config an optional parameter
2023-06-22 10:21:07 -04:00
Alek Westover
bf3b83b504
fix code style for clippy
2023-06-22 09:37:07 -04:00
Alek Westover
4b83a206bf
download extension from rust works
2023-06-21 17:22:21 -04:00
Alek Westover
f984f9e7d3
seems close to working
2023-06-21 15:25:06 -04:00
Alek Westover
7602483af9
also need separate bucket if real s3
2023-06-21 13:25:35 -04:00
Alek Westover
5e1e859ab8
separate bucket for extensions
2023-06-21 13:18:35 -04:00
Alek Westover
85a7511700
remove extraneous argv passing
2023-06-21 12:42:17 -04:00
Alek Westover
02a1d4d8c1
refactoring a bit
2023-06-21 11:32:04 -04:00
Alexander Bayandin
d3aa8a48ea
Update client libs for test_runner/pg_clients to their latest versions ( #4547 )
...
Resolves https://github.com/neondatabase/neon/security/dependabot/27
2023-06-21 16:20:35 +01:00
Alek Westover
4a35f29301
code style
2023-06-21 11:07:27 -04:00
Alek Westover
a4d236b02f
finishing cleanup debugging
2023-06-21 11:00:36 -04:00
Alek Westover
bb414e5a0a
removing debugging
2023-06-21 10:45:37 -04:00
Alek Westover
c99e203094
I think it's working
2023-06-21 10:10:02 -04:00
Alek Westover
356f7d3a7e
more debugging
2023-06-20 22:39:02 -04:00
Alek Westover
0f6b05337e
fixed minor issue with merge
2023-06-20 22:08:07 -04:00