Commit Graph

6757 Commits (6fc8ddc5b29bed5a5fdcbf8ec1ba317d6982c6f9)

Author SHA1 Message Date
Nils Dijk 6fc8ddc5b2 more maintenance 2023-10-09 13:51:33 +02:00
Nils Dijk 64c8b2d43f maintenance 2023-10-09 13:51:33 +02:00
Nils Dijk d7f5071cfe add github actions 2023-10-09 13:51:33 +02:00
Nils Dijk a2d7ab5fdc generate c_cpp_properties based on installed postgres versions 2023-10-09 13:51:33 +02:00
Nils Dijk a90ed81aa0 add postgres 16beta2 2023-10-09 13:51:33 +02:00
Nils Dijk 0ca97d0555 only build when devcontainer spec changes + use branch build 2023-10-09 13:51:33 +02:00
Nils Dijk ff806b58b2 run when pushing the devcontainer branch 2023-10-09 13:51:33 +02:00
Nils Dijk 7e7d6d5caf github action for building container, using cache 2023-10-09 13:51:33 +02:00
Nils Dijk a90523afc5 gitlens, cpp tools and generally sort extensions 2023-10-09 13:51:33 +02:00
Nils Dijk 607bd77eb1 embed vscode settings in newer supported section for devcontainer 2023-10-09 13:51:33 +02:00
Nils Dijk 3b91ca92cf upload devcontainer 2023-10-09 13:51:33 +02:00
Nils Dijk 1fc1ec7bf5 prebuild pipenv for regress and citus_dev 2023-10-09 13:51:33 +02:00
Nils Dijk f891f6ba2b update Pipfile and prepare pipfiles to be included in the devcontainer 2023-10-09 13:51:33 +02:00
Nils Dijk 73d7fc4801 add github pullrequest extension 2023-10-09 13:51:33 +02:00
Nils Dijk 214d31fb73 remove unsupported postgres versions from devcontainer 2023-10-09 13:51:33 +02:00
Nils Dijk 63fa3e1567 modernize devcontainer 2023-10-09 13:51:33 +02:00
Nils Dijk b5471736ff configure diff-so-fancy 2023-10-09 13:51:33 +02:00
Nils Dijk d926bea1c4 move dev tools to later layer 2023-10-09 13:51:33 +02:00
Nils Dijk 7dacbbd2e8 install ancient (correct) version of uncrustify 2023-10-09 13:51:33 +02:00
Nils Dijk 3a2c1a68b2 fix debug configuration 2023-10-09 13:51:33 +02:00
Nils Dijk 490a423757 remove object files after compilation 2023-10-09 13:51:33 +02:00
Nils Dijk 68250d25d3 dynamically create the .vscode configurations 2023-10-09 13:51:33 +02:00
Nils Dijk 48d99989d3 automatically configure the repository 2023-10-09 13:51:33 +02:00
Nils Dijk 03eb55bf0a update devcontainter to use upstream+switch pgenv 2023-10-09 13:51:33 +02:00
Nils Dijk 210d68e9d7 ubuntu bump 2023-10-09 13:51:33 +02:00
Nils Dijk d3a90857bf try adding a volume 2023-10-09 13:51:33 +02:00
Nils Dijk cc33cbcb44 update devcontainer spec 2023-10-09 13:51:33 +02:00
Nils Dijk 5d0da20fa8 more postgres, smaller images 2023-10-09 13:51:33 +02:00
Nils Dijk 5c33bf7d95 more pg versions 2023-10-09 13:51:33 +02:00
Nils Dijk 348962e7f1 Add liveshare as a default extension for collaboration 2023-10-09 13:51:33 +02:00
Nils Dijk d12e324fc3 fix line endings 2023-10-09 13:51:33 +02:00
Nils Dijk 626fb1fb7b use prebuilt image 2023-10-09 13:51:33 +02:00
Nils Dijk 8ab77c70b6 add vim for git commit messages 2023-10-09 13:51:33 +02:00
Nils Dijk e590c94232 collapse all package installs 2023-10-09 13:51:33 +02:00
Nils Dijk c094bced08 make debugger work 2023-10-09 13:51:33 +02:00
Nils Dijk 93174e6793 initial setup for devcontianer 2023-10-09 13:51:33 +02:00
Nils Dijk 6d8725efb0
Fix leaking of memory and memory contexts in Foreign Constraint Graphs (#7236)
DESCRIPTION: Fix leaking of memory and memory contexts in Foreign
Constraint Graphs

Previously, every time we (re)created the Foreign Constraint
Relationship Graph, we created a new Memory Context while loosing a
reference to the previous context. This old context could still have
left over memory in there causing a memory leak.

With this patch we statically have one memory context that we lazily
initialize the first time we create our foreign constraint relationship
graph. On every subsequent creation, beside destroying our previous
hashmap we also reset our memory context to remove any left over
references.
2023-10-09 13:05:51 +02:00
Onur Tirtir 858d99be33
Take improvement_threshold into the account in citus_add_rebalance_strategy() (#7247)
DESCRIPTION: Makes sure to take improvement_threshold into the account
in `citus_add_rebalance_strategy()`.

Fixes https://github.com/citusdata/citus/issues/7188.
2023-10-09 13:13:08 +03:00
Önder Kalacı 7d6c401dd3
Update technical readme (#7248)
Fix a wrong query, reported by @naisila
2023-10-06 13:37:37 +03:00
Önder Kalacı 0dca65c84d
Addd missing image to Technical Readme (#7243)
DESCRIPTION: PR description that will go into the change log, up to 78
characters
2023-09-29 22:24:10 +02:00
Önder Kalacı 185ac5e01e
Citus Technical Readme (#7207)
This commit aims to add a comprehensive guide that covers all essential
aspects of Citus, including planning, execution, locking mechanisms,
shard moves, 2PC, and many other major components of Citus.

Co-authored-by: Marco Slot <marco.slot@gmail.com>
2023-09-29 16:50:52 +03:00
dependabot[bot] c323f49e83
Bump cryptography from 41.0.3 to 41.0.4 in /src/test/regress (#7231)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3
to 41.0.4.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nils Dijk <nils@citusdata.com>
2023-09-27 15:36:58 +02:00
Onur Tirtir 27ac44eb2a
Fix mixed Citus upgrade tests (#7218)
When testing rolling Citus upgrades, coordinator should not be upgraded
until we upgrade all the workers.

---------

Co-authored-by: Jelte Fennema-Nio <github-tech@jeltef.nl>
2023-09-26 17:52:52 +03:00
Nils Dijk b87fbcbf79
Shard moves/isolate report LSN's in lsn format (#7227)
DESCRIPTION: Shard moves/isolate report LSN's in lsn format

While investigating an issue with our catchup mechanism on certain
postgres versions we noticed we print LSN's in the format of the native
long type. This is an uncommon representation for LSN's in postgres
logs.

This patch changes the output of our log message to go from the long
type representation to the native LSN type representation. Making it
easier for postgres users to recognize and compare LSN's with other
related reports.

example of new output:
```
2023-09-25 17:28:47.544 CEST [11345] LOG:  The LSN of the target subscriptions on node localhost:9701 have increased from 0/0 to 0/E1ED20F8 at 2023-09-25 17:28:47.544165+02 where the source LSN is 1/415DCAD0
```
2023-09-26 13:47:50 +02:00
Gürkan İndibay 7fa109c977
Adds alter user missing features (#7204)
DESCRIPTION: Adds alter user rename propagation and enriches alter user
tests

---------

Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>
2023-09-26 12:28:07 +03:00
Gürkan İndibay a9d28ca96f
Adds make clean to installation steps (#7052)
If you make a fresh install make clean is not
required. However, if you install before, without
a make install, one can get errors


---------

Co-authored-by: aykut-bozkurt <51649454+aykut-bozkurt@users.noreply.github.com>
2023-09-25 12:42:23 +03:00
Onur Tirtir 111b4c19bc
Make sure to disallow creating a replicated distributed table concurrently (#7219)
See explanation in https://github.com/citusdata/citus/issues/7216.
Fixes https://github.com/citusdata/citus/issues/7216.

DESCRIPTION: Makes sure to disallow creating a replicated distributed
table concurrently
2023-09-25 11:14:35 +03:00
Hanefi Onaldi f72cd7ffd2
Update README.md for Citus 12.1 release (#7214)
Also remove old customers from the readme
2023-09-22 18:35:33 +03:00
Hanefi Onaldi 01e3c24793 Update url for release blog 2023-09-22 17:47:57 +03:00
Hanefi Onaldi f17d31fd94 Update PG and Citus versions in readme 2023-09-22 17:47:57 +03:00