Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

enable expiring data in mongodb for mongodb_plugin #6855

Merged
merged 1 commit into from
Mar 1, 2019
Merged

enable expiring data in mongodb for mongodb_plugin #6855

merged 1 commit into from
Mar 1, 2019

Conversation

xinyijun
Copy link
Contributor

@xinyijun xinyijun commented Mar 1, 2019

Change Description

The data size of collection blocks/block_states/transactions/transaction_traces/action_traces in Mongo DB becomes too big and consume too much disk space as time go, the code enable expiring data in collection blocks/block_states/transactions/transaction_traces/action_traces.

Consensus Changes

API Changes

Documentation Additions

  • mongo_db_plugin new option: --mongodb-expire-after-seconds
    Enables expiring data in mongodb after a specified number of seconds.
    -- Applies to collections: blocks, block_states, transactions, transaction_traces, and action_traces

@heifner heifner merged commit 0a4b7dc into EOSIO:develop Mar 1, 2019
@heifner
Copy link
Contributor

heifner commented Mar 1, 2019

Thanks @xinyijun

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants