Skip to content

Enhance gokv library in order to allow full persistency of Redis DB #1

@mardim91

Description

@mardim91

The opi-evpn-br uses the https://github.com/philippgille/gokv/tree/master library in order to give the flexibiity to the user to choose its own DB backend.

The main database that is used for the opi-evpn-br project is Redis. In order to make Redis to create a snapshot of the DB everytime that we do a write operation we need to execute the BGSAVE redis command. The gokv currently doesn't support this kind of command which means that Redis is not persistent and this can lead to loss of data. We need to enhace the gokv library in order to achieve persistency by executing BGSAVE after each write operation in Redis if the user chooses to have persistent data versus in memmory data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions