Skip to content
Snippets Groups Projects
Georgy Moshkin's avatar
Georgy Moshkin authored
We used to automatically truncate the index in compact_log if the caller
requested to compact too many entries. This made it so that the
requirement of not compacting any un-applied entries was implicit in our
code base, which is not good as it allows for some bugs to creep in
(like the one we fix a couple commits ago).

Now this is changed and instead of silently adjusting the index of last
compacted entry, we just assert that it's no greater than the applied
index. As a consequence there's a minor improvement in do_raft_log_auto_compaction
function.
0957624d
History

Picodata – Professional Data Management System for High Loads

This repository contains the source code of Picodata, an in-memory database with plugins in Rust.

What is Picodata

Picodata is a software for building professional data management systems. It provides an in-memory database together with a development platform and a runtime for custom plugins written in Rust. Learn more about our software at the picodata.io web site.

Getting Picodata

We provide pre-built Picodata packages for select Linux distributions including CentOS and Ubuntu. Head over to picodata.io/download to see what is available.

Running Picodata

Running a Picodata instance only takes one simple command:

picodata run

Getting a basic distributed cluster made of two instances running on different hosts involves two commands, like this:

picodata run --listen 192.168.0.1:3301
picodata run --listen 192.168.0.2:3301 --peer 192.168.0.1:3301

You can find out more about getting started procedures and first steps by heading to docs.picodata.io.

Building Picodata from source

Please refer to the CONTRIBUTING.md document for more detailed prerequisites, compilation instructions as well as steps required to run integration tests.