apache / apache/iotdb

Where are the remaining two storage strategies?

Đang mở
#12,582 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với phần multi_dir_strategy trong apache-iotdb-1.3.1-all-bin/conf/iotdb-datanode.properties và kiểm tra org.apache.iotdb.db.conf.directories.strategy.DirectoryStrategy. Xác định bốn strategy nào thực sự khả dụng và cách chỉ định một strategy cân bằng việc lưu trữ trên các data_dirs; công việc được coi là hoàn tất khi có phạm vi đã thống nhất cùng bằng chứng tương ứng trong tài liệu hoặc trong phần triển khai.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
databases
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.