You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Niel Markwick (Jira)" <ji...@apache.org> on 2022/03/01 10:51:00 UTC

[jira] [Updated] (BEAM-14005) Exceptions when reading from Spanner ignored

     [ https://issues.apache.org/jira/browse/BEAM-14005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niel Markwick updated BEAM-14005:
---------------------------------
    Description: 
Regression from BEAM-11982:
[BatchSpannerRead.java#L223|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L223]  will ignore exceptions raised when reading from spanner. It will log an metric and continue.

 

This can lead to data loss as read errors are unreported and ignored. A pipeline can exit with success when data has been partially read or failed to read.

  was:
Regression from BEAM-11982:
[BatchSpannerRead.java#L223|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L223]  will ignore exceptions raised when reading from spanner. It will log an metric and continue.


> Exceptions when reading from Spanner ignored
> --------------------------------------------
>
>                 Key: BEAM-14005
>                 URL: https://issues.apache.org/jira/browse/BEAM-14005
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>    Affects Versions: 2.34.0, 2.35.0, 2.36.0, 2.37.0
>            Reporter: Niel Markwick
>            Assignee: Niel Markwick
>            Priority: P1
>              Labels: cloud-spanner, regression
>             Fix For: 2.37.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Regression from BEAM-11982:
> [BatchSpannerRead.java#L223|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java#L223]  will ignore exceptions raised when reading from spanner. It will log an metric and continue.
>  
> This can lead to data loss as read errors are unreported and ignored. A pipeline can exit with success when data has been partially read or failed to read.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)