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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								7eb15b1969 
								
									
								
							
								 
							
						 
						
							
							
								
								fix:Handle preflight cors requests ( #3496 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								bdba3da2e4 
								
									
								
							
								 
							
						 
						
							
							
								
								Handle preflight cors requests ( #3481 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42c6e52513 
								
							
								 
							
						 
						
							
							
								
								s3: fix regression on HEAD directory operation  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4573c99ae3 
								
							
								 
							
						 
						
							
							
								
								fix tests  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b580a7566 
								
							
								 
							
						 
						
							
							
								
								also migrate jsonpb  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaeb141b09 
								
							
								 
							
						 
						
							
							
								
								move proto package  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								31faa6d43d 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove duplicate slashes in object path to prevent 500 errors ( #3442 )  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								e88392b50f 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix s3 pagination ( #3436 )  
							
							
 
							
							
							* Revert previous changes
* s3: use cursor to track tree traversal
fix https://github.com/seaweedfs/seaweedfs/issues/3166 
* special cases for empty prefix and empty directory
* use constants
* address empty folder
* undo local changes
* fix IsTruncated
* adjust counting directories
* fix cases when prefix is a directory
* s3: handle directory object
works for
aws --endpoint-url http://127.0.0.1:8333/  s3api list-objects-v2 --bucket test --prefix "fakedir" 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7457c746f0 
								
							
								 
							
						 
						
							
							
								
								s3: fix aws s3api head-object  
							
							
								
 
							
							
						 
						3 years ago