Konstantin Lebedev
							
						 | 
						
							
							
								
								
							
							
								
							
								25535e9c36
								
									
								
							
								
							
						 | 
						
							
							
								
								Delete volume is empty (#4561)
							
							
							
							
							
							
								
							
							
							* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559
* fix IsEmpty
* fix test
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 | 
						2 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								214b7cd286
								
							
								
							
						 | 
						
							
							
								
								volume.fix.replication: adjust the retry checking times
							
							
							
							
								
							
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								21c0587900
								
							
								
							
						 | 
						
							
							
								
								go fmt
							
							
							
							
								
							
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								Brian
							
						 | 
						
							
							
								
								
							
							
								
							
								4e3e2b1b82
								
									
								
							
								
							
						 | 
						
							
							
								
								Add option in volume.fix.replication to only fix under-replication and not delete volumes (#3640)
							
							
							
							
								
							
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								676e27c589
								
							
								
							
						 | 
						
							
							
								
								shell: stop long running jobs if lock is lost
							
							
							
							
								
							
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								26dbc6c905
								
							
								
							
						 | 
						
							
							
								
								move to https://github.com/seaweedfs/seaweedfs
							
							
							
							
								
							
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								f97acdd489
								
							
								
							
						 | 
						
							
							
								
								volume.fix.replication fix retry logic
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/3136 
							
						 | 
						3 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								44f53ceda6
								
							
								
							
						 | 
						
							
							
								
								fix collectionIsMismatch charset
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								10d435f2c2
								
							
								
							
						 | 
						
							
							
								
								fix skip loop
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								279053572c
								
							
								
							
						 | 
						
							
							
								
								avoid delete volume replica if collection mismatch
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								justin
							
						 | 
						
							
							
							
								
							
								3551ca2fcf
								
							
								
							
						 | 
						
							
							
								
								enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								f18803424a
								
							
								
							
						 | 
						
							
							
								
								volume.balance: add delay during tight loop
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2637 
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								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 | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								a2d3f89c7b
								
							
								
							
						 | 
						
							
							
								
								add lock messages
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								chrislu
							
						 | 
						
							
							
							
								
							
								e6c026db65
								
							
								
							
						 | 
						
							
							
								
								volume.fix.replication: fix misplaced volumes
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2416 
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								5435027ff0
								
							
								
							
						 | 
						
							
							
								
								volume copy: stream out copying progress and avoid grpc request timeout
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2386 
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								e862b2529a
								
							
								
							
						 | 
						
							
							
								
								refactor
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								5e64b22b45
								
							
								
							
						 | 
						
							
							
								
								check that the topology has been updated
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								2cecde89c3
								
							
								
							
						 | 
						
							
							
								
								rename opt volumesPerStep
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Konstantin Lebedev
							
						 | 
						
							
							
							
								
							
								fc51ffce2b
								
							
								
							
						 | 
						
							
							
								
								https://github.com/chrislusf/seaweedfs/issues/1846
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								119d5908dd
								
							
								
							
						 | 
						
							
							
								
								shell: do not need to lock to see volume -h
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								e5fc35ed0c
								
							
								
							
						 | 
						
							
							
								
								change server address from string to a type
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								18bf556d93
								
							
								
							
						 | 
						
							
							
								
								fix comments
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								b63b042afc
								
							
								
							
						 | 
						
							
							
								
								dedup keeps the largest replica
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								26c222f596
								
							
								
							
						 | 
						
							
							
								
								shell: volume.tier.move avoid moving all volumes to one destination
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								8cf0c515bf
								
							
								
							
						 | 
						
							
							
								
								shell: volume.fix.replication retries even when there is no error #2235
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2235 
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								7359193e97
								
							
								
							
						 | 
						
							
							
								
								go fmt
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								99155e4880
								
							
								
							
						 | 
						
							
							
								
								add `-retry` option for `volume.fix.replication`
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2191 
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								fb7a1be1c4
								
							
								
							
						 | 
						
							
							
								
								refactor
							
							
							
							
								
							
							
						 | 
						4 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								6a4546d2c0
								
							
								
							
						 | 
						
							
							
								
								shell: add volume.tier.move
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								1c233ad986
								
							
								
							
						 | 
						
							
							
								
								refactoring
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								36f95e50a9
								
							
								
							
						 | 
						
							
							
								
								avoid possible nil disk info
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								f8446b42ab
								
							
								
							
						 | 
						
							
							
								
								this can compile now!!!
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								f20ec82a28
								
							
								
							
						 | 
						
							
							
								
								update help message
							
							
							
							
							
							
								
							
							
							see https://github.com/chrislusf/seaweedfs/issues/1758#issuecomment-768123224 
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								1045ab8b07
								
							
								
							
						 | 
						
							
							
								
								avoid error message
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								b3f66199db
								
							
								
							
						 | 
						
							
							
								
								shell: volume.fix.replication adds collectionPattern with wildcard characters
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1758 
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								de3bdd0651
								
							
								
							
						 | 
						
							
							
								
								delete old volume replica
							
							
							
							
							
							
								
							
							
							related to https://github.com/chrislusf/seaweedfs/issues/1607
old is:
* older compaction revision
* older modified time
* smaller volume size 
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								f498c71199
								
							
								
							
						 | 
						
							
							
								
								shell: move volume operations to use flag parsing arguments
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								e60b2117c3
								
							
								
							
						 | 
						
							
							
								
								shell: volume balance follows replica placement
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								387ab6796f
								
							
								
							
						 | 
						
							
							
								
								filer: cross cluster synchronization
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								d1b816212f
								
							
								
							
						 | 
						
							
							
								
								return nil if no need to do anything
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								64a621bcc8
								
							
								
							
						 | 
						
							
							
								
								shell: volume.fix.replication also purge over replicated volumes
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								d80538a187
								
							
								
							
						 | 
						
							
							
								
								refactoring
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								1a09bc43d1
								
							
								
							
						 | 
						
							
							
								
								refactor
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								2b643f477d
								
							
								
							
						 | 
						
							
							
								
								typo
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								05034aade5
								
							
								
							
						 | 
						
							
							
								
								printout over replicated locations
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								707192f966
								
							
								
							
						 | 
						
							
							
								
								fix help message
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								ae1994cbc1
								
							
								
							
						 | 
						
							
							
								
								erasure coding: fix cases where there are no .ecj files
							
							
							
							
								
							
							
						 | 
						5 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								8005786d9a
								
							
								
							
						 | 
						
							
							
								
								logs
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								73564e6a01
								
							
								
							
						 | 
						
							
							
								
								master: add cluster wide lock/unlock operation in weed shell
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1286 
							
						 | 
						6 years ago |