Skip to content

Commit 86d66f9

Browse files
committed
Book updates for hotfile migration
1 parent 8f29b1a commit 86d66f9

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

docs/TheBook/src/main/markdown/rf-cc-pool.md

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,15 +485,21 @@ The task completed successfully
485485

486486
## migration ls
487487

488-
migration ls - Lists all migration jobs.
488+
migration ls - List migration jobs.
489489

490490
### synopsis
491491

492492
migration ls
493493

494494
### Description
495495

496-
Lists all migration jobs.
496+
Lists migration jobs.
497+
498+
The list of migration jobs returned includes:
499+
500+
- All non-hot file migration jobs
501+
- Running hot file migration jobs
502+
- A limited number of finished hot file migration jobs (sorted by creation time).
497503

498504
## migration move
499505

@@ -531,4 +537,58 @@ migration resume job
531537

532538
Resumes a suspended migration job.
533539

540+
## hotfile set replicas
541+
542+
hotfile set replicas - Set the number of replicas to create for hot files.
543+
544+
### synopsis
545+
546+
hotfile set replicas <replicas>
547+
548+
<replicas>
549+
The number of replicas to maintain for files identified as hot.
550+
551+
### Description
552+
553+
Sets the target number of replicas for files that exceed the hot file threshold. The system will attempt to create this many copies of the file on different pools (and preferably different hosts) to distribute the load.
554+
555+
## hotfile get replicas
556+
557+
hotfile get replicas - Get the current hot file replication factor.
558+
559+
### synopsis
560+
561+
hotfile get replicas
562+
563+
### Description
564+
565+
Returns the currently configured number of replicas for hot files.
566+
567+
## hotfile set threshold
568+
569+
hotfile set threshold - Set the access frequency threshold for identifying hot files.
570+
571+
### synopsis
572+
573+
hotfile set threshold <threshold>
574+
575+
<threshold>
576+
The threshold value (e.g., accesses per minute) that triggers hot file replication
577+
578+
### Description
579+
580+
Sets the threshold for classifying a file as "hot". Files accessed more frequently than this threshold will be candidates for automatic replication.
581+
582+
## hotfile get threshold
583+
584+
hotfile get threshold - Get the current threshold for triggering hot file replication
585+
586+
### synopsis
587+
588+
hotfile get threshold
589+
590+
### Description
591+
592+
Returns the current threshold for triggering hot file replication
593+
534594
[???]: #cf-pm-classic-space

0 commit comments

Comments
 (0)