Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase postgres on master #2497

Closed
wants to merge 334 commits into from

Conversation

hungphan227
Copy link
Contributor

No description provided.

chibenwa and others added 30 commits October 24, 2024 10:01
We generate a unique UUID so this is supported.

Note that turns 5 tests on in the PostgresMailboxManager
test suite.
- Use single query to database for fetch total + total unseen
The query looks like:

select
  count(*) as "total_count",
  count(*) filter (where is_seen = $1) as "unseen_count"
from message_mailbox
where mailbox_id = cast($2 as uuid)
- It is a why make lack of test case when run the test (jpaGuiceServerShouldUpdateQuota)
…ase sql validation

- It was created for JPA, with Postgresql we don't need it. (instead of mark @disabled for it)
Fixed by JAMES-2586 Small codestyle refactorings.
…lict

Otherwise, we could retry on other fatal errors like: io.r2dbc.postgresql.ExceptionFactory$PostgresqlBadGrammarException: column "domain" of relation "mailbox" already exists.
vttranlina and others added 21 commits October 24, 2024 10:05
…-cli

GIVEN I run james-cli in kubernetes
THEN the pod crashes and reboots

Because the james-cli runs JVM it catches the environment variables set by James.
As such it always pretouch 3GB of RAM. When added to memory consumed by James it exceeds the limit and pod get's OOM-killed.
- Ref commit: 829a63f [IMPROVEMENT] JMAP use search index relevance as default sort
…Supported

- TODO - Wait to adapt James-3945 to Postgres
Ref commit: 81b61ed
- Fix java.util.ConcurrentModificationException
- Fix test InMemoryUploadRepositoryTest
@vttranlina
Copy link
Contributor

We just rebased it 2 weeks ago (#2467)

I think there aren’t too many changes to require doing this frequently (since the number of files changed is very large)

We could simply cherry-pick the new commits

@hungphan227 hungphan227 force-pushed the Rebase-postgres-on-master branch from a7aeb59 to ea1daa5 Compare November 12, 2024 09:35
@hungphan227 hungphan227 reopened this Nov 12, 2024
@hungphan227 hungphan227 reopened this Nov 12, 2024
…g errors

This would ease linking and identifying IMAP parsing issues
@hungphan227 hungphan227 force-pushed the Rebase-postgres-on-master branch from ea1daa5 to 105a0ac Compare November 12, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants