github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/storage/enginepb/engine.proto (about) 1 // Copyright 2019 The Cockroach Authors. 2 // 3 // Use of this software is governed by the Business Source License 4 // included in the file licenses/BSL.txt. 5 // 6 // As of the Change Date specified in that file, in accordance with 7 // the Business Source License, use of this software will be governed 8 // by the Apache License, Version 2.0, included in the file 9 // licenses/APL.txt. 10 11 syntax = "proto3"; 12 package cockroach.storage.enginepb; 13 option go_package = "enginepb"; 14 15 import "gogoproto/gogo.proto"; 16 17 // EngineType specifies type of storage engine (eg. rocksdb, pebble). 18 enum EngineType { 19 option (gogoproto.goproto_enum_prefix) = false; 20 option (gogoproto.goproto_enum_stringer) = false; 21 22 // Denotes the default engine as the underlying storage engine type. Resolves 23 // during start to the engine type last used. If left unresolved, it's treated 24 // the same as EngineTypeRocksDB. 25 EngineTypeDefault = 0; 26 // Denotes RocksDB as the underlying storage engine type. 27 EngineTypeRocksDB = 1; 28 // Denotes Pebble as the underlying storage engine type. 29 EngineTypePebble = 2; 30 // Denotes TeePebbleRocksDB as the underlying storage engine type. Only use 31 // for testing purposes. 32 EngineTypeTeePebbleRocksDB = 3; 33 }