Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3918 GCS NIO readAttributes returns CloudStorageObjectAttributes for directory like objects #4261

Closed
wants to merge 31 commits into from

Conversation

andrey-qlogic
Copy link

Fixes #3918 GCS NIO readAttributes returns CloudStorageObjectAttributes for directory like objects

@andrey-qlogic andrey-qlogic requested a review from a team as a code owner December 27, 2018 13:10
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 27, 2018
@ajaaym ajaaym added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 27, 2018
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 27, 2018
@andrey-qlogic andrey-qlogic changed the title 3918 3918 GCS NIO readAttributes returns CloudStorageObjectAttributes for directory like objects Dec 28, 2018
@sduskis sduskis added the api: storage Issues related to the Cloud Storage API. label Dec 28, 2018
@JesseLovelace JesseLovelace added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 28, 2018
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 28, 2018
@ajaaym ajaaym added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 28, 2018
@jean-philippe-martin
Copy link

Ah, I hadn't seen this when I wrote my own fix for this same issue, in #4267.

In my case I made sure that .isRegularFile and .isDirectory both return true because that reflects the reality of the situation. While your fix is simpler, I think isRegularFile would return false there.

We could either update yours or go with mine if you like it, either's fine.

@ajaaym ajaaym added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Dec 31, 2018
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 31, 2018
javabrown and others added 10 commits December 31, 2018 12:35
…oogleapis#4263)

* Fixed Issue - shutting-down WatchDog daemon threads spawned by Spanner client

* Fixed Issue - shutdown watchDog daemon threads spawned by Spanner client

* Minor code formatting

* Fixed Kokoro code format issue
* Fix Kokoro release jobs. Needs loopback pinentry-mode

* Skip install on deploy

* skip stagingProfileId

* Capture built artifacts

* Enable promote/drop jobs via environment variable

* Fix directory path and use -B for drop/release

* promote/drop need the settings file

* Fix path to settings file

* Update RELEASING documentation to use the Kokoro jobs
* add abandonment

* add unit test for abandon

* update forget() to stop extending deadline
* Fix Maximum Bytes Billed

* remove whitespace
…#4254)

* fix googleapis#3880 googleapis#2796 disable automatic flush on write to avoid hanging and leaking threads as grpc also uses this appender which goes in to deadlock over time.

* fix formatting

* add flush before listing
The configuration for aggregate changed from an attribute to a report
* Bigtable: deprecate the use of typesafe names

Unfortunately typesafe names create more issues for bigtable than they solve. A lot of the time users need to use both bigtable data & admin apis. Unfortunately, those apis define the same names in different namespaces. This forces users to use fully qualified names which is ugly. Also, absolute names don't benefit the bigtable client because the client is anchored at the instance and all names end up being relative

* fix docs

* format code
* modified package-private to public

* update format for storage/Option.java
* Fix NumBytes and NumRows

* update NumBytes and NumRows

* remove setter

* update methods and resolved test case
elisheva-qlogic and others added 15 commits January 3, 2019 15:06
* helloWorld sample

* test class modified

* format change in ITHelloWorld
* Bigtable admin: deprecate typesafe names

This is a followup on googleapis#4257:
Unfortunately typesafe names create more issues for bigtable than they solve. A lot of the time users need to use both bigtable data & admin apis. Unfortunately, those apis define the same names in different namespaces. This forces users to use fully qualified names which is ugly. Also, absolute names don't benefit the bigtable client because the client is anchored at the instance and all names end up being relative

* format code

* fix year
* updated links

* updated link

* added new line
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jan 8, 2019
@andrey-qlogic andrey-qlogic deleted the 3918 branch January 8, 2019 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. cla: no This human has *not* signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.