Where are the remaining two storage strategies?
- Lenguaje dominante
- Java
- Estrellas
- 6.4k
- Forks
- 1.2k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 115
Descripción
In `apache-iotdb-1.3.1-all-bin/conf/iotdb-datanode.properties`
```
# multi_dir_strategy
# The strategy is used to choose a directory from data_dirs for the system to store a new tsfile.
# System provides four strategies to choose from, or user can create his own strategy by extending org.apache.iotdb.db.conf.directories.strategy.DirectoryStrategy.
# The info of the four strategies are as follows:
# 1. SequenceStrategy: the system will choose the directory in sequence.
# 2. MaxDiskUsableSpaceFirstStrategy: the system will choose the directory whose disk has the maximum space.
# Set SequenceStrategy or MaxDiskUsableSpaceFirstStrategy to apply the corresponding strategy.
# If this property is unset, system will use SequenceStrategy as default strategy.
# For this property, fully-qualified class name (include package name) and simple class name are both acceptable.
# dn_multi_dir_strategy=SequenceStrategy
```
Two of the four storage strategies mentioned here
# 1. SequenceStrategy: the system will choose the directory in sequence.
# 2. MaxDiskUsableSpaceFirstStrategy: the system will choose the directory whose disk has the maximum space.
Where are the remaining two storage strategies?
And what I need is a strategy that automatically balances multi-directory storage.
Guía de contribución
Línea de trabajo
Comienza con la sección multi_dir_strategy de apache-iotdb-1.3.1-all-bin/conf/iotdb-datanode.properties e inspecciona org.apache.iotdb.db.conf.directories.strategy.DirectoryStrategy. Determina qué cuatro estrategias están realmente disponibles y cómo debe especificarse una estrategia que equilibre el almacenamiento entre data_dirs; se considerará terminado cuando haya un alcance acordado y evidencia correspondiente en la documentación o en la implementación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- databases
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100