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

Allow configure Pebble cache size #353

Merged
merged 3 commits into from
Jun 14, 2023
Merged

Conversation

merlimat
Copy link
Collaborator

Added CLI option to configure the Pebble cache size

@merlimat merlimat merged commit 0b300e5 into streamnative:main Jun 14, 2023
@merlimat merlimat deleted the cache-size branch June 14, 2023 18:21
merlimat pushed a commit that referenced this pull request Sep 19, 2024
### Motivation

the PR #353 remove the default configuration of notification retention.
which causes unexpected behaviour when user uses oxia as metadata
service.

especially for distributed lock. the revalidate after session expired
will be never triggered.

the current value:

```
{"level":"info","time":"2024-09-18T07:11:48.692719842Z","config":{"PublicServiceAddr":"0.0.0.0:6648","InternalServiceAddr":"0.0.0.0:6649","PeerTLS":null,"ServerTLS":null,"InternalServerTLS":null,"MetricsServiceAddr":"0.0.0.0:8080","AuthOptions":{"ProviderName":"","ProviderParams":""},"DataDir":"/data/db","WalDir":"/data/wal","WalRetentionTime":3600000000000,"WalSyncData":true,"NotificationsRetentionTime":0,"DbBlockCacheMB":4096},"time":"2024-09-18T07:11:48.693399934Z","message":"Starting Oxia server"}
```

### Modification

- Add `NotificationsRetentionTime` back and the default time is 1 hour.

### Others


We might need consider filter some notification on the server when user
use oxia as some storage index service(high throughput of W/R) to avoid
dispatching too much messages that will impact performance.
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.

1 participant