Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pengzna committed Aug 4, 2024
1 parent 1a1458d commit 9d3a45c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

/**
* use pd, support raft
* Read the file and go into multi threaded warehouse
* Read the file and go into multi thread warehouse
*/
@Slf4j
public class HgThread2DB {
Expand Down Expand Up @@ -465,9 +465,9 @@ private void queryAnd2Queue() {
/**
* Multi -thread query
*
* @param Point Start Query Point, Followed Up According to this PointValue as the next
* @param point Start Query Point, Followed Up According to this PointValue as the next
* query condition to iterate
* @param Scancount allows the number of threads to start
* @param scanCount allows the number of threads to start
* @throws IOException
* @throws InterruptedException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
import org.apache.hugegraph.store.meta.PartitionRole;

public interface PartitionStateListener {

// 分区角色发生改变

void partitionRoleChanged(Partition partition, PartitionRole newRole);

// 分区发生改变
void partitionShardChanged(Partition partition, List<Metapb.Shard> oldShards,
List<Metapb.Shard> newShards);
}

0 comments on commit 9d3a45c

Please sign in to comment.