remove rocksdb

This commit is contained in:
Timo Kösters 2021-08-04 21:17:40 +02:00
parent 902404d48d
commit df727688ef
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
8 changed files with 3 additions and 345 deletions

View file

@ -125,9 +125,6 @@ fn default_log() -> String {
#[cfg(feature = "sled")]
pub type Engine = abstraction::sled::Engine;
#[cfg(feature = "rocksdb")]
pub type Engine = abstraction::rocksdb::Engine;
#[cfg(feature = "sqlite")]
pub type Engine = abstraction::sqlite::Engine;
@ -426,7 +423,8 @@ impl Database {
println!("Migration: 4 -> 5 finished");
}
if db.globals.database_version()? < 9 { // TODO update to 6
if db.globals.database_version()? < 6 {
// TODO update to 6
// Set room member count
for (roomid, _) in db.rooms.roomid_shortstatehash.iter() {
let room_id =