Jaehoon Kim
f2e7af257d
Fix volume.fsck -forcePurging -reallyDeleteFromVolume to fail fast on filer traversal errors ( #8015 )
...
* Add TraverseBfsWithContext and fix race conditions in error handling
- Add TraverseBfsWithContext function to support context cancellation
- Fix race condition in doTraverseBfsAndSaving using atomic.Bool and sync.Once
- Improve error handling with fail-fast behavior and proper error propagation
- Update command_volume_fsck to use error-returning saveFn callback
- Enhance error messages in readFilerFileIdFile with detailed context
* refactoring
* fix error format
* atomic
* filer_pb: make enqueue return void
* shell: simplify fs.meta.save error handling
* filer_pb: handle enqueue return value
* Revert "atomic"
This reverts commit 712648bc354b186d6654fdb8a46fd4848fdc4e00.
* shell: refine fs.meta.save logic
---------
Co-authored-by: Chris Lu <chris.lu@gmail.com >
2026-01-14 21:37:50 -08:00
Copilot
b866907461
fs.meta.save: fix directory entry parent path in FullEntry construction ( #7886 )
...
* Checkpoint from VS Code for coding agent session
* Fix fs.meta.save to correctly save directory's own metadata
Co-authored-by: chrislusf <1543151+chrislusf@users.noreply.github.com >
* address error
---------
Co-authored-by: Chris Lu <chris.lu@gmail.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: chrislusf <1543151+chrislusf@users.noreply.github.com >
2025-12-26 12:30:30 -08:00
Feng Shao
0299e78de7
de/compress the fs meta file if filename ends with gz/gzip ( #7500 )
...
* de/compress the fs meta file if filename ends with gz/gzip
* gemini code review
* update help msg
2025-11-18 07:45:12 -08:00
chrislu
ec30a504ba
refactor
2024-09-29 10:38:22 -07:00
chrislu
701abbb9df
add IsResourceHeavy() to command interface
2024-09-28 20:23:01 -07:00
Eric Yang
26d9b662b1
ADHOC: fix fs.meta.save typo ( #3993 )
...
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local >
2022-11-20 21:05:00 -08:00
chrislu
eaeb141b09
move proto package
2022-08-17 12:05:07 -07:00
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2022-07-29 00:17:28 -07:00
chrislu
ce2049cdb6
refactoring, move genFn before saveFn
2022-01-21 12:08:58 -08:00
Chris Lu
e5fc35ed0c
change server address from string to a type
2021-09-12 22:47:52 -07:00
Chris Lu
cca588429b
shell: fs.meta.save skip saving system logs
2021-08-31 23:05:56 -07:00
Chris Lu
30c67e3652
minor
2021-05-19 23:59:39 -07:00
Chris Lu
609e228578
avoid forward slash in file names
2021-04-15 10:53:04 -07:00
Chris Lu
fc0cbf565f
add option to obfuscate the file names
2021-04-14 15:37:24 -07:00
Chris Lu
ed3cf811f5
refactoring
2020-04-29 13:26:02 -07:00
Chris Lu
9f9826e95a
refactor
2020-04-21 21:28:47 -07:00
Chris Lu
8d9a76005d
add back running output
2020-03-26 02:14:48 -07:00
Chris Lu
49440cbd2f
shell: add volume.fsck
...
volume.fsck can find out how much space is not used by the filer
2020-03-24 02:18:13 -07:00
Chris Lu
0f10833e0b
fix compilation
2020-03-24 00:16:12 -07:00
Chris Lu
3794f2721f
fix logic
2020-03-24 00:09:12 -07:00
Chris Lu
443b229ef7
disable chunk file output
2020-03-24 00:08:02 -07:00
Chris Lu
bb9b97e2b4
add comments
2020-03-23 23:07:11 -07:00
Chris Lu
8047ec2f51
shell: fs.meta.save add option to export all fileIds for all files
2020-03-23 22:54:46 -07:00
Chris Lu
e666aeece2
simplify parsing filer host and port
2020-03-23 21:26:15 -07:00
Chris Lu
c0f0fdb3ba
refactoring
2020-03-23 00:01:34 -07:00
Chris Lu
97ab8a1976
remove ctx if possible
2020-02-25 22:23:59 -08:00
Chris Lu
892e726eb9
avoid reusing context object
...
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-02-25 21:50:12 -08:00
Chris Lu
1b0bfbaf59
refactoring
2020-01-19 23:59:46 -08:00
Chris Lu
09043c8e5a
fs: synchronized meta file writing
...
fix https://github.com/chrislusf/seaweedfs/issues/1175
2019-12-29 20:19:51 -08:00
Chris Lu
0fa1269bc7
filer: streaming file listing
2019-12-13 00:22:37 -08:00
Chris Lu
f81d43442b
filer: speed up filer.meta.save by parallelizing
2019-12-06 22:20:59 -08:00
Chris Lu
fb90d63589
shell: Added minor changes to fs.meta.save
...
* added an option to set the output file name
* added an option to see verbose output, default to non-verbose mode
related to: https://github.com/chrislusf/seaweedfs/issues/1019
2019-07-26 09:35:22 -07:00
Chris Lu
ede876cfdb
periodic scripts exeuction from leader master
2019-06-05 01:30:24 -07:00
Chris Lu
af49aea0c6
weed shell: fs.meta.save adjusts meta data file name
2019-04-16 09:40:27 -07:00
Chris Lu
d35023c713
weed shell: add command fs.meta.save
2019-04-16 01:06:32 -07:00