question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GCSDataStore metadata get/set

See original GitHub issue

It appears you can’t save metadata to an GCS object until the upload is complete. We need to figure out how to set/get upload_length, upload_defer_length from a GCS upload_id for POST/HEAD requests.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bhstahlcommented, May 23, 2016

Ahh i see what you were saying @js3692. We can store metadata on the objects, and I actually just got it working, so no need for an extra file to store json 😄

0reactions
js3692commented, May 22, 2016

Thanks for explaining that! My point also was to persist everything on GCS (sorry if that wasn’t clear) - when the POST request comes in with the metadata, the server will persist the data to GCS (see image below) with the above file.save. This is an extra http cycle between the server and GCS, but I was wondering if it could be an alternative to the issue highlighted above.

screen shot 2016-05-22 at 1 44 47 pm
Read more comments on GitHub >

github_iconTop Results From Across the Web

Object metadata | Cloud Storage - Google Cloud
Objects stored in Cloud Storage have metadata associated with them. Metadata identifies properties of the object, as well as specifies how the object...
Read more >
List of scanned packages - SourceCode.AI
... baryrat baryssh bas bas-convert bas-dist bas-metadata-library bas-remote-python ... datastore-entity datastore-reader datastore-to-gcs datastore-viewer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found