[ARVADOS] updated: f72513401d45acb67b62e248aed6dc34bfb3dedf

Git user git at public.curoverse.com
Thu Jul 14 16:08:22 EDT 2016


Summary of changes:
 services/keepstore/s3_volume.go | 2 ++
 1 file changed, 2 insertions(+)

       via  f72513401d45acb67b62e248aed6dc34bfb3dedf (commit)
      from  2c64a0810497b660c6afa15f7fd1e49f01c1fc3d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f72513401d45acb67b62e248aed6dc34bfb3dedf
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Jul 14 16:08:16 2016 -0400

    8555: Add log messages for time-parsing errors.

diff --git a/services/keepstore/s3_volume.go b/services/keepstore/s3_volume.go
index ad6ff5b..568bd33 100644
--- a/services/keepstore/s3_volume.go
+++ b/services/keepstore/s3_volume.go
@@ -524,10 +524,12 @@ func (v *S3Volume) EmptyTrash() {
 		}
 		trashT, err := time.Parse(time.RFC3339, trash.LastModified)
 		if err != nil {
+			log.Printf("warning: %s: EmptyTrash: %q: parse %q: %s", v, trash.Key, trash.LastModified, err)
 			continue
 		}
 		recentT, err := v.lastModified(recent)
 		if err != nil {
+			log.Printf("warning: %s: EmptyTrash: %q: parse %q: %s", v, "recent/"+loc, recent.Header.Get("Last-Modified"), err)
 			continue
 		}
 		if trashT.Sub(recentT) < blobSignatureTTL {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list