Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"directory check" phase of spool_check feature is too slow if there are lots of replicas which will be removed #1065

Open
gfarm-admin opened this issue Apr 11, 2019 · 1 comment
Assignees
Labels
auto-migrated bug Something isn't working sourceforge
Milestone

Comments

@gfarm-admin
Copy link
Member

main trunk doesn't have this problem because there is dead_copies member in struct inode.

possible workaround of this problem is:

  1. start gfsd with "spool_check disable" configuration
  2. wait until all replicas are removed
  3. then restart gfsd with "spool_check enable"

or just disable spool_check, even.

you can see the number of replicas which will be removed by the following command:

# config-gfarm-update --prefix <prefix_option_of_config-gfarm_command>

gfarm=# select count(*) from DeadFileCopy;
 count 
-------
     0

Reported by: n-soda

Original Ticket: gfarm/tickets/1065

@gfarm-admin
Copy link
Member Author

  • Milestone: gfarm-2.7.13 --> gfarm-2.7.16

Original comment by: n-soda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-migrated bug Something isn't working sourceforge
Projects
None yet
Development

No branches or pull requests

2 participants