You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TheBook/src/main/markdown/rf-cc-pool.md
+62-2Lines changed: 62 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -485,15 +485,21 @@ The task completed successfully
485
485
486
486
## migration ls
487
487
488
-
migration ls - Lists all migration jobs.
488
+
migration ls - List migration jobs.
489
489
490
490
### synopsis
491
491
492
492
migration ls
493
493
494
494
### Description
495
495
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).
497
503
498
504
## migration move
499
505
@@ -531,4 +537,58 @@ migration resume job
531
537
532
538
Resumes a suspended migration job.
533
539
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
0 commit comments