GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(typo) (#16) · codeaudit/3FS@c4de026

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs
    • design_notes.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/design_notes.md‎

Copy file name to clipboardExpand all lines: docs/design_notes.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Within the native client, multiple threads are spawned to fetch I/O requests fro
5252

5353
### Location of file chunks
5454

55-
3FS divides file data into equally sized chunks and stripes them across multiple replication chains (replication chains and chain tables are defined in Section [Data placement](#data-placement). Users can specify the chain table, chunk size, and stripe size for files on a per-directory basis. Each chunk is independently stored on multiple storage services, with its chunk ID generated by concatenating the file’s inode id and chunk index.
55+
3FS divides file data into equally sized chunks and stripes them across multiple replication chains (replication chains and chain tables are defined in Section [Data placement](#data-placement)). Users can specify the chain table, chunk size, and stripe size for files on a per-directory basis. Each chunk is independently stored on multiple storage services, with its chunk ID generated by concatenating the file’s inode id and chunk index.
5656

5757
When creating a new file, the metadata service employs a round-robin strategy to select consecutive replication chains from the designated chain table, based on the stripe size. Next, a random seed is generated to shuffle the selected chains. This allocation strategy ensures balanced data distribution across chains and SSDs.
5858

@@ -74,7 +74,7 @@ The file system metadata primarily consists of two core structures: inodes and d
7474

7575
Directory entry keys are composed of a "DENT" prefix, the parent inode ID, and the entry name. Directory entry values store the target inode id and inode type. All entries within a directory naturally form a contiguous key range, allowing efficient directory listing via range queries.
7676

77-
The meta operations leverages FoundationDB’s transactions:
77+
The meta operations leverage FoundationDB’s transactions:
7878

7979
- Read-only transactions used for metadata queries: fstat, lookup, listdir etc.
8080

@@ -206,7 +206,7 @@ A storage target can change from one public state to another in response to the
206206

207207
- If a storage service finds public state of any local storage target is lastsrv or offline, it exits immediately. The service may be isolated from the cluster manager by network partition error.
208208

209-
- Once the date recovery of a storage target in syncing state is completed, the storage service set the target’s local state to up-to-date in subsequent heartbeat messages sent to cluster manager.
209+
- Once the data recovery of a storage target in syncing state is completed, the storage service set the target’s local state to up-to-date in subsequent heartbeat messages sent to cluster manager.
210210

211211
| Local State | Current Public State | Predecessor’s Public State | Next Public State |
212212
| :---------- | :------------------- | :------------------------- | :---------------- |
@@ -253,7 +253,7 @@ When a storage service finds a previously offline successor is online:
253253

254254
- The chunk lock is first acquired for each chunk.
255255

256-
- The chain version, commited version number and chunk content are read and transferred to successor by sending a full-chunk-replace request.
256+
- The chain version, committed version number and chunk content are read and transferred to successor by sending a full-chunk-replace request.
257257

258258
- The chunk lock is released.
259259

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.