You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Zhaofeng Chen <no...@github.com.INVALID> on 2021/12/02 22:33:50 UTC

[apache/incubator-teaclave] [Mod] Flush DB and compact_range after dequeue operation. (PR #585)

## Description

Enable compact_range to reduce LevelDB disk usage in persistent mode.
We also invoke db.flush for all put/delete operations.

Fixes # (issue)

## Type of change (select or add applied and delete the others)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] API change with a documentation update
- [ ] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

## Checklist

- [ ] Fork the repo and create your branch from `master`.
- [ ] If you&#39;ve added code that should be tested, add tests.
- [ ] If you&#39;ve changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/585

-- Commit Summary --

  * [Mod] Flush DB and compact_range after dequeue operation.

-- File Changes --

    M services/storage/enclave/src/service.rs (22)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/585.patch
https://github.com/apache/incubator-teaclave/pull/585.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/585

Re: [apache/incubator-teaclave] [Mod] Flush DB and compact_range after dequeue operation. (PR #585)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #585 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/585#event-5709135727