37af41fbfe 
								
									
								
							
								 
							
						 
						
							
							
								
								Shell: Added a helper function `isHelpRequest()` ( #7380 )  
							
							
 
							
							
							* Added a helper function `isHelpRequest()`
* also handles combined short flags like -lh or -hl
* Created handleHelpRequest() helper function
encapsulates both:
Checking for help flags
Printing the help message
* Limit to reasonable length (2-4 chars total) to avoid matching long options like -verbose 
							
						 
						7 days ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4af182f880 
								
									
								
							
								 
							
						 
						
							
							
								
								Context cancellation during reading range reading large files ( #7093 )  
							
							
 
							
							
							* context cancellation during reading range reading large files
* address comments
* cancellation for fuse read
* fix cancellation
* pass in context for each function to avoid racing condition
* Update reader_at_test.go
* remove dead code
* Update weed/filer/reader_at.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/filechunk_group.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/filechunk_group.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address comments
* Update weed/mount/weedfs_file_read.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_lseek.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_read.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/reader_at.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_lseek.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* test cancellation
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								165af32d6b 
								
									
								
							
								 
							
						 
						
							
							
								
								added context to filer_client method calls ( #6808 )  
							
							
 
							
							
							Co-authored-by: akosov <a.kosov@kryptonite.ru> 
							
						 
						5 months ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec30a504ba 
								
							
								 
							
						 
						
							
							
								
								refactor  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								701abbb9df 
								
							
								 
							
						 
						
							
							
								
								add IsResourceHeavy() to command interface  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70a4c98b00 
								
							
								 
							
						 
						
							
							
								
								refactor filer_pb.Entry and filer.Entry to use GetChunks()  
							
							
 
							
							
							for later locking on reading chunks 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85c1615b43 
								
							
								 
							
						 
						
							
							
								
								filer read empty file may cause OOM in some cases  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2641  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f9ef1340c 
								
							
								 
							
						 
						
							
							
								
								use streaming mode for long poll grpc calls  
							
							
 
							
							
							streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed. 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bab20d862 
								
							
								 
							
						 
						
							
							
								
								cat entry content  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26a4f34a57 
								
							
								 
							
						 
						
							
							
								
								del checks  
							
							
 
							
							
							url err logging
stats chunk fetch 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03d1199d5f 
								
							
								 
							
						 
						
							
							
								
								Revert "revert PR  #1903  avoid http error: superfluous response.WriteHeader"  
							
							
 
							
							
							This reverts commit ac71117e 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac71117ee6 
								
							
								 
							
						 
						
							
							
								
								revert PR  #1903  avoid http error: superfluous response.WriteHeader  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06da02739d 
								
							
								 
							
						 
						
							
							
								
								CheckAllChunkViews() for HEAD requests only  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb7929a971 
								
							
								 
							
						 
						
							
							
								
								rename filer2 to filer  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e666aeece2 
								
							
								 
							
						 
						
							
							
								
								simplify parsing filer host and port  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d151185b7e 
								
							
								 
							
						 
						
							
							
								
								shell: desupport filer url in the arguments  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0f0fdb3ba 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae2ee379c0 
								
							
								 
							
						 
						
							
							
								
								consistent 64bit size  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8645283a7b 
								
							
								 
							
						 
						
							
							
								
								fuse mount: avoid lookup nil entry  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1221  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								892e726eb9 
								
							
								 
							
						 
						
							
							
								
								avoid reusing context object  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1182  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d10fdf737 
								
							
								 
							
						 
						
							
							
								
								fix directory lookup nil  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72a64a5cf8 
								
							
								 
							
						 
						
							
							
								
								use the same context object in order to retry  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71d55ec5cb 
								
							
								 
							
						 
						
							
							
								
								adjust help message  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fc6322c90 
								
							
								 
							
						 
						
							
							
								
								Change joeslay paths to chrislusf paths  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								595a1beff0 
								
							
								 
							
						 
						
							
							
								
								Swap imports to use joeslay  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ede876cfdb 
								
							
								 
							
						 
						
							
							
								
								periodic scripts exeuction from leader master  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c96cfdb2e 
								
							
								 
							
						 
						
							
							
								
								minor  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00b6f653fa 
								
							
								 
							
						 
						
							
							
								
								shell: add fs.cat  
							
							
								
 
							
							
						 
						7 years ago