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

Stop compaction on starting service? #491

Open
sshivaji opened this issue Mar 17, 2021 · 1 comment
Open

Stop compaction on starting service? #491

sshivaji opened this issue Mar 17, 2021 · 1 comment

Comments

@sshivaji
Copy link

Is there a way to disable compaction when starting ardb? Is this configurable anywhere in the source or config?

This is bringing down production environments for us.

@sshivaji
Copy link
Author

Example logs:

└─ $ ▶ docker logs -f 609c4f838896
[7] 03-17 07:03:44,204 INFO Recovering log #65374
[7] 03-17 07:03:44,205 INFO Level-0 table #65756: started
[7] 03-17 07:03:44,210 INFO Level-0 table #65756: 6799 bytes OK
[7] 03-17 07:05:56,506 INFO Delete type=2 #64411

[7] 03-17 07:05:56,513 INFO Delete type=2 #64267

[7] 03-17 07:05:56,516 INFO Delete type=2 #53625

[7] 03-17 07:05:56,516 INFO Delete type=3 #65372

[7] 03-17 07:05:59,579 INFO Delete type=2 #62576

One option I guess is to keep running compact every day in the background?

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

No branches or pull requests

1 participant