Skip to content

Unable to list and return status of Instance long running operaions #2022

@nielm

Description

@nielm

Environment details

  • OS: All
  • Node.js version: v20.11.1
  • npm version: 10.2.4
  • @google-cloud/spanner version: 7.5.0

Steps to reproduce

  • Start a long running Instance operation externally to Node.JS, for example changing size of an instance.
  • Retrieve the Operation ID (projects/xxx/instances/yyy/operations/zzz) of this LRO
  • Attempt to use the Node.JS Cloud Spanner Client Library to retrieve the status of this operation using only the Operation ID.

This is not possible - There is no public interface to list or get LROs on the instance object (by contrast there is an interfacev to get the InstanceConfigOperations

This is only possible using the REST API:

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: spannerIssues related to the googleapis/nodejs-spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.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