17e91d2917 
								
									
								
							
								 
							
						 
						
							
							
								
								Use filerGroup for s3 buckets collection prefix ( #4465 )  
							
							
 
							
							
							* Use filerGroup for s3 buckets collection prefix
* Fix templates
* Remove flags
* Remove s3CollectionPrefix 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d75a7b7f62 
								
									
								
							
								 
							
						 
						
							
							
								
								allow deleting only older empty  dir without recursion ( #4430 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5614ad0000 
								
									
								
							
								 
							
						 
						
							
							
								
								fix s3test test_bucket_listv2_delimiter_prefix_ends_with_delimiter ( #4399 )  
							
							
 
							
							
							* fix s3test test_bucket_listv2_delimiter_prefix_ends_with_delimiter
* fix list with delimiter and start token
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								88b2bbadd1 
								
									
								
							
								 
							
						 
						
							
							
								
								try fix s3test test_bucket_listv2_delimiter_prefix ( #4396 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								095cdb0c7f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix test prefix is a directory ( #4393 )  
							
							
 
							
							
							Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								44ad07276c 
								
									
								
							
								 
							
						 
						
							
							
								
								s3 fix get list of dir object key with slash suffix ( #4391 )  
							
							
 
							
							
							* s3 fix get list of dir object key with slash suffix
https://github.com/seaweedfs/seaweedfs/issues/3086 
* list only entry dir eq prefix
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								130bc3e668 
								
									
								
							
								 
							
						 
						
							
							
								
								s3 fix get fake dir object key ( #4390 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bfb91b539 
								
							
								 
							
						 
						
							
							
								
								update entry Attributes.Mtime = time.Now().Unix()  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4337  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5db9fcccd4 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0bf56298d5 
								
									
								
							
								 
							
						 
						
							
							
								
								fix chunk.ModifiedTsNs ( #4264 )  
							
							
 
							
							
							* fix
* fix mtime s > ns
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								db5515eada 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix s3api_object_list_handlers returning contents less than the specified limit when more data actually exists ( #4240 )  
							
							
 
							
							
							Fix when the stored data is actually enough but s3api_object_list_handlers returns less than the specified limit
Signed-off-by: changlin.shi <changlin.shi@ly.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79d68a81fd 
								
							
								 
							
						 
						
							
							
								
								text change  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								999a126a3f 
								
							
								 
							
						 
						
							
							
								
								typo  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c2364936a 
								
							
								 
							
						 
						
							
							
								
								detect invalid bucket name  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/4143  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5de93fe442 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81fdf3651b 
								
							
								 
							
						 
						
							
							
								
								grpc connection to filer add sw-client-id header  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5f993a5f20 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix ide warning ( #4082 )  
							
							
 
							
							
							fix warning message from IDE
"redundant type from array, slice, or map composite literal" 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f84c13dabd 
								
									
								
							
								 
							
						 
						
							
							
								
								fix response not allowed ( #4057 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bb289d7d69 
								
									
								
							
								 
							
						 
						
							
							
								
								sort tags by key ( #4047 )  
							
							
 
							
							
							Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2b910d1cf8 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid recursive deleting newly created empty directories ( #4016 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70a4c98b00 
								
							
								 
							
						 
						
							
							
								
								refactor filer_pb.Entry and filer.Entry to use GetChunks()  
							
							
 
							
							
							for later locking on reading chunks 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								39f0246deb 
								
									
								
							
								 
							
						 
						
							
							
								
								fix 'NoSuchUpload' when upload part ( #3968 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								df0662038c 
								
									
								
							
								 
							
						 
						
							
							
								
								feat:add a uuid after uploadid ( #3963 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								abe4a61659 
								
									
								
							
								 
							
						 
						
							
							
								
								Bug fix: empty key in DeleteMultipleObjects request caused bucket delete ( #3939 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b9957d461 
								
							
								 
							
						 
						
							
							
								
								add back "/" prefix if it is missing in object  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/3737  
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea2637734a 
								
							
								 
							
						 
						
							
							
								
								refactor filer proto chunk variable from mtime to modified_ts_ns  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								34132b2c9f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: isTruncated returns problematic ( #3907 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								874fd197b5 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: simplify a bit ( #3905 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								25e012d30b 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: set user metadata key to lowercase ( #3894 )  
							
							
 
							
							
							* fix: set user metadata key to lowercase
* feat: simplify a bit 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								97edb40275 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix errinfo ( #3893 )  
							
							
 
							
							
							* types packages is imported more than onece
* Fix error response when format of --expires is wrong.
It MUST be in RFC 1123 date format. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a5b867af69 
								
									
								
							
								 
							
						 
						
							
							
								
								don't skip empty value at `AssembleEntryWithAcp` ( #3855 )  
							
							
 
							
							
							* add acl helper functionalities
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* add tests
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* remove 0 when create map
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* delete when empty at `AssembleEntryWithAcp`
`PutBucketAcl/PutObjectAcl` allow request with empty grants, `AssembleEntryWithAcp`  shouldn't skip empty value
Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bf5e45b66a 
								
									
								
							
								 
							
						 
						
							
							
								
								add acl helper functionalities ( #3831 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d21e2f523d 
								
									
								
							
								 
							
						 
						
							
							
								
								split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unn… ( #3824 )  
							
							
 
							
							
							split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unnecessary `json.Unmarshal()` call
Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								3550692afc 
								
									
								
							
								 
							
						 
						
							
							
								
								change s3_account.go package to avoid cycle dependency ( #3813 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ec46a34f33 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid increasing the coordinates of metric labels ( #3785 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								e9584d9661 
								
									
								
							
								 
							
						 
						
							
							
								
								add ownership rest apis ( #3765 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								3de1e19780 
								
									
								
							
								 
							
						 
						
							
							
								
								s3: sync bucket info from filer ( #3759 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								aacdcc4cad 
								
									
								
							
								 
							
						 
						
							
							
								
								s3: add account ( #3753 )  
							
							
 
							
							
							associate `Account` and `Identity` by accountId 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31922b2bf2 
								
							
								 
							
						 
						
							
							
								
								s3 to watch specific directories  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6f7ef8711a 
								
									
								
							
								 
							
						 
						
							
							
								
								docs(s3api): readability improvements ( #3696 )  
							
							
 
							
							
							Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ad3a3c8782 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `de… ( #3695 )  
							
							
 
							
							
							refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `deleteMultipleObjectsLimit`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b64411bda8 
								
									
								
							
								 
							
						 
						
							
							
								
								fix 0 size ( #3683 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bb880d6253 
								
									
								
							
								 
							
						 
						
							
							
								
								IsTruncated returned by the ListMultipartUploads method is set to false by default ( #3682 )  
							
							
 
							
							
							* simplify a bit
* fix: IsTruncated returned by the ListMultipartUploads method is set to false by default 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21c0587900 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d54eb9966f 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor: `Directory` readability ( #3665 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								8c3040db81 
								
									
								
							
								 
							
						 
						
							
							
								
								avoid DATA RACE on S3Options.localFilerSocket ( #3571 )  
							
							
 
							
							
							* avoid DATA RACE on S3Options.localFilerSocket
https://github.com/seaweedfs/seaweedfs/issues/3552 
* copy localSocket 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a54f30b6c6 
								
							
								 
							
						 
						
							
							
								
								s3: close response body with copying object  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f7aeb06544 
								
									
								
							
								 
							
						 
						
							
							
								
								s3: report metadata if the directory is explicitly created  ( #3498 )  
							
							
 
							
							
							* replace mkdir to mkFile
* ContentLength must be zero
* revert mkDir
* Seaweedfs-Is-Directory-Key return metadata 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2e78a522ab 
								
									
								
							
								 
							
						 
						
							
							
								
								remove old raft servers if they don't answer to pings for too long ( #3398 )  
							
							
 
							
							
							* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fce75607d 
								
							
								 
							
						 
						
							
							
								
								s3: report http.StatusOK if the directory is explicitly created  
							
							
 
							
							
							fix https://github.com/seaweedfs/seaweedfs/issues/3457  
							
						 
						3 years ago