happyfish100 / happyfish100/FastCFS

关于ls和ll会中断写入的问题

Open
#37 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
605
Forks
91
PR merge metrics
No merged PRs in 30d

Description

三副本,同时向一个节点或不同节点上传文件,在上传的过程中,在任意节点上执行ls或ll命令都会中断在该节点的写入,导致文件大小就停留在执行ll看到的那个大小,造成这个现象的原因是?
这个是在上传过程中执行了ll后的文件大小
WeChate4e87369000af2616150453dcdd75725
这个是不执行ll,等文件都上传完后再执行ll的文件大小
WeChate62eac26f0b324bd31e5f125e257d6f4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the three-replica upload while running ls or ll on the writing node, comparing the reported file-size outcomes. Trace the upload and directory-listing entry points to identify why listing stops the write; done means the cause is established and the write no longer stops, with a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
distributed-systems, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.