GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bigtable table.getRows() silently failing on queries > 4000 cells · Issue #1443 · googleapis/google-cloud-node

Bigtable table.getRows() silently failing on queries > 4000 cells #1443

New issue
Copy link
New issue
Copy link
Closed
#1444
Closed
Bigtable table.getRows() silently failing on queries > 4000 cells#1443
#1444
Copy link
Assignees
callmehiphop
Labels
api: bigtableIssues related to the Bigtable API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@imathews
imathews
opened on Jul 21, 2016
Issue body actions

I'm fairly new to Bigtable, and my apologies if this is an issue on my end. I have a table where all rows have 84 cells; when I submit a getRows request with a limit >= 48 (total > 4000 cells) I get no error and no response. With a lower limit, everything works perfectly. Looking at my networking, it seems like there is data coming in, but otherwise I don't have much else to go off of.

This is happening both when I use the streaming and the callback APIs. Passing in a filter to reduce the number of returned columns doesn't change this behavior.

Many thanks for getting the Bigtable support out the door!

Environment details

OSX @10.11.4
node @6.2.0
npm @3.8.9
gcloud-node @0.37.0

Steps to reproduce

const table = bigtable.table('data');
const rows = [];
const rowCount = 48; //Works <= 47, silently fails >= 48. Each row has 84 cells.

table.getRows({
    limit: rowCount,
})
    .on('error', (err) => {
        console.error(err);
    })
    .on('data', (row) => {
        console.log('got row!');
        rows.push(row);
    })
    .on('end', () => {
        console.log(`Complete! Retrieved ${rows.length}.`);
        //Do something with rows
    });

// Also fails when using callback API

Activity

  1. callmehiphop
    added
    api: bigtableIssues related to the Bigtable API.
    on Jul 21, 2016
  2. callmehiphop
    self-assigned this
    on Jul 21, 2016
  3. callmehiphop commented on Jul 21, 2016

    @callmehiphop
    callmehiphop
    on Jul 21, 2016
    Contributor
    More actions

    @imathews thanks for reporting this! I've managed to reproduce this locally, so definitely not an issue on your end.

    @murgatroid99 not sure if this is a implementation error on our side or not, but from what I can tell the ClientReadableStream#_read method is hanging when we have 48 or more results. I'm going to continue to dig in and hopefully provide more details, but any assistance you can provide in the meantime would be greatly appreciated!

  4. murgatroid99 commented on Jul 21, 2016

    @murgatroid99
    murgatroid99
    on Jul 21, 2016
    More actions

    Can you provide the output of running the client with the environment variable GRPC_TRACE=all? (using only test data, because that dumps everything).

  5. callmehiphop commented on Jul 21, 2016

    @callmehiphop
    callmehiphop
    on Jul 21, 2016
    Contributor
    More actions

    @murgatroid99 actually it appears to be an issue with one of our dependencies, I made a few local changes and grpc seems to be functioning as expected - my apologies for looping you in prematurely 😦

  6. murgatroid99 commented on Jul 21, 2016

    @murgatroid99
    murgatroid99
    on Jul 21, 2016
    More actions

    No problem. I'm glad to hear it's resolved.

  7. callmehiphop commented on Jul 21, 2016

    @callmehiphop
    callmehiphop
    on Jul 21, 2016
    Contributor
    More actions

    @murgatroid99 is there any specific reason why grpc does not emit a status event (or similar) when we call startBatch within a server stream request? A metadata event is emitted, but it doesn't contain a status code, etc. letting me know the request was a success.

  8. murgatroid99 commented on Jul 21, 2016

    @murgatroid99
    murgatroid99
    on Jul 21, 2016
    More actions

    I'm not exactly sure which startBatch call you're referring to, but that metadata event is triggered at the beginning of the call, before the server sends any responses. The status, on the other hand, comes in at the end of the call, after the server has finished sending responses.

  9. callmehiphop commented on Jul 21, 2016

    @callmehiphop
    callmehiphop
    on Jul 21, 2016
    Contributor
    More actions

    @murgatroid99 Gotcha, thanks! I apologize if my questions seem off, as I am not super familiar with the grpc code base. Essentially I'm looking for a way to confirm that the request went through successfully and that the server is going to process results, I think my issue was that I assumed the startBatch calls within makeServerStreamRequest made a request to the server (which looks to be incorrect?).

  10. murgatroid99 commented on Jul 21, 2016

    @murgatroid99
    murgatroid99
    on Jul 21, 2016
    More actions

    So, startBatch is used for any instance of sending anything, including metadata, messages, and the status. There are at least a couple of calls to it in or associated with makeServerStreamRequest.

    In general, I think receiving metadata is a good signal that the server has started to process the request.

    Reacted by Dave
  11. callmehiphop
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jul 21, 2016
  12. stephenplusplus
    closed this as completedin #1444on Jul 22, 2016
  13. sofisl
    added a commit that references this issue on Feb 3, 2026

    chore(deps): update googleapis/code-suggester action to v5 (#1443)

    dc42d33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @callmehiphop
    callmehiphop

Labels

api: bigtableIssues related to the Bigtable API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.