You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl 'https://service.azul.data.humancellatlas.org/index/projects/1ffa2223-28a6-4133-a5a4-badd00faf4bc?catalog=dcp46'
{"Code":"NotFoundError","Message":"Can't find an entity in projects with an uuid, 1ffa2223-28a6-4133-a5a4-badd00faf4bc."}
The snapshot for this project was originally added in dcp33, and has not been removed / replaced since.
[INFO] 2025-02-14T04:42:11.994Z b3b329c4-33d0-5d94-b72b-49ecf8332577 azul.azulclient Listing bundles with prefix '' in source TDRSourceRef(id='f264f514-ff73-4985-9c50-d7d23190e123', spec=TDRSourceSpec(prefix=Prefix(common='', partition=0), type=<Type.bigquery: 'bigquery'>, domain=<Domain.gcp: 'gcp'>, subdomain='datarepo-b64e953d', name='hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33')).
2025-02-14 04:42:11.995
[DEBUG] 2025-02-14T04:42:11.995Z b3b329c4-33d0-5d94-b72b-49ecf8332577 azul.terra Query (205 characters total): "\n SELECT links_id, version\n FROM datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links\n WHERE STARTS_WITH(links_id, '')\n "
2025-02-14 04:43:03.613
[DEBUG] 2025-02-14T04:43:03.613Z b3b329c4-33d0-5d94-b72b-49ecf8332577 azul.terra Job info: {"job_id": "9bcd61bc-c9b4-4371-bf45-483dd875de56", "total_rows": 0, "stats": {"searchStatistics": {"indexUnusedReasons": [{"code": "NOT_SUPPORTED_IN_STANDARD_EDITION", "message": "Index can not be used for query with Standard edition reservation. See https://cloud.google.com/bigquery/docs/editions-intro for more information."}]}}, "query": "\n SELECT links_id, version\n FROM datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links\n WHERE STARTS_WITH(links_id, '')\n "}
2025-02-14 04:43:03.613
[INFO] 2025-02-14T04:43:03.613Z b3b329c4-33d0-5d94-b72b-49ecf8332577 azul.azulclient There are 0 bundle(s) with prefix '' in source TDRSourceRef(id='f264f514-ff73-4985-9c50-d7d23190e123', spec=TDRSourceSpec(prefix=Prefix(common='', partition=0), type=<Type.bigquery: 'bigquery'>, domain=<Domain.gcp: 'gcp'>, subdomain='datarepo-b64e953d', name='hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33')).
2025-02-14 04:43:03.613
[INFO] 2025-02-14T04:43:03.613Z b3b329c4-33d0-5d94-b72b-49ecf8332577 azul.azulclient After filtering obsolete versions, 0 bundles remain in prefix '' of source 'tdr:bigquery:gcp:datarepo-b64e953d:hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33:/0' in catalog 'dcp46'
[INFO] 2025-02-21T20:28:21.461Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.azulclient Listing bundles with prefix '' in source TDRSourceRef(id='f264f514-ff73-4985-9c50-d7d23190e123', spec=TDRSourceSpec(prefix=Prefix(common='', partition=0), type=<Type.bigquery: 'bigquery'>, domain=<Domain.gcp: 'gcp'>, subdomain='datarepo-b64e953d', name='hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33')).
2025-02-21 20:28:21.583
[INFO] 2025-02-21T20:28:21.583Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.deployment Allocated new Boto3 client for 'secretsmanager' with ID 139813878296800
2025-02-21 20:28:22.342
[DEBUG] 2025-02-21T20:28:22.341Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.terra Query (205 characters total): "\n SELECT links_id, version\n FROM datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links\n WHERE STARTS_WITH(links_id, '')\n "
2025-02-21 20:28:23.394
[DEBUG] 2025-02-21T20:28:23.394Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.terra Job info: {"job_id": "74cffb4e-d4c5-4432-a8c4-42476b0e62ce", "total_rows": 590, "stats": {"estimatedBytesProcessed": "343224", "timeline": [{"elapsedMs": "247", "totalSlotMs": "150", "pendingUnits": "0", "completedUnits": "1", "activeUnits": "0", "estimatedRunnableUnits": "0"}, {"elapsedMs": "259", "totalSlotMs": "150", "pendingUnits": "0", "completedUnits": "2", "estimatedRunnableUnits": "0"}], "totalPartitionsProcessed": "1", "totalBytesProcessed": "343224", "totalBytesBilled": "20971520", "billingTier": 1, "totalSlotMs": "150", "cacheHit": false, "searchStatistics": {"indexUsageMode": "UNUSED", "indexUnusedReasons": [{"code": "INDEX_CONFIG_NOT_AVAILABLE", "message": "There is no index configuration for the base table datarepo-3185ebf2:datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2.datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203.", "baseTable": {"projectId": "datarepo-3185ebf2", "datasetId": "datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2", "tableId": "datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203"}}, {"code": "INDEX_CONFIG_NOT_AVAILABLE", "message": "There is no index configuration for the base table datarepo-b64e953d:hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.datarepo_row_ids.", "baseTable": {"projectId": "datarepo-b64e953d", "datasetId": "hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33", "tableId": "datarepo_row_ids"}}]}, "transferredBytes": "0", "metadataCacheStatistics": {"tableMetadataCacheUsage": [{"tableReference": {"projectId": "datarepo-3185ebf2", "datasetId": "datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2", "tableId": "datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203"}, "unusedReason": "OTHER_REASON", "explanation": "Table does not have CMETA."}, {"tableReference": {"projectId": "datarepo-b64e953d", "datasetId": "hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33", "tableId": "datarepo_row_ids"}, "unusedReason": "OTHER_REASON", "explanation": "Table does not have CMETA."}]}}, "query": "\n SELECT links_id, version\n FROM datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links\n WHERE STARTS_WITH(links_id, '')\n "}
2025-02-21 20:28:23.620
[INFO] 2025-02-21T20:28:23.604Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.azulclient There are 590 bundle(s) with prefix '' in source TDRSourceRef(id='f264f514-ff73-4985-9c50-d7d23190e123', spec=TDRSourceSpec(prefix=Prefix(common='', partition=0), type=<Type.bigquery: 'bigquery'>, domain=<Domain.gcp: 'gcp'>, subdomain='datarepo-b64e953d', name='hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33')).
2025-02-21 20:28:23.621
[INFO] 2025-02-21T20:28:23.621Z 9091d880-c0d1-5184-89b9-b8b224c80944 azul.azulclient After filtering obsolete versions, 590 bundles remain in prefix '' of source 'tdr:bigquery:gcp:datarepo-b64e953d:hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33:/0' in catalog 'dcp46'
While gathering snapshot details for #6876, I found that the following project was indexed in
dcp45
but not indcp46
.https://explore.data.humancellatlas.org/projects/1ffa2223-28a6-4133-a5a4-badd00faf4bc?catalog=dcp45
Found in
dcp45
:Not found in
dcp46
:The snapshot for this project was originally added in
dcp33
, and has not been removed / replaced since.azul/deployments/prod/environment.py
Line 924 in 3f8d8d9
The CloudWatch logs from the reindexing of
dcp46
show that the snapshot returned zero bundles.CloudWatch Logs Insights
region: us-east-1
log-group-names: /aws/lambda/azul-indexer-prod-contribute, /aws/lambda/azul-indexer-prod-contribute_retry, /aws/lambda/azul-indexer-prod-aggregate_retry, /aws/lambda/azul-indexer-prod-aggregate
start-time: 2025-02-13T16:37:34.313Z
end-time: 2025-02-14T16:27:27.028Z
query-string:
datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links
\n WHERE STARTS_WITH(links_id, '')\n "datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links
\n WHERE STARTS_WITH(links_id, '')\n "}Retrying the BigQuery query manually however returns 590 results...
... and these bundles were found when a reindex of the source into
dcp46
was performed.CloudWatch Logs Insights
region: us-east-1
log-group-names: /aws/lambda/azul-indexer-prod-contribute, /aws/lambda/azul-indexer-prod-contribute_retry, /aws/lambda/azul-indexer-prod-aggregate_retry, /aws/lambda/azul-indexer-prod-aggregate
start-time: -10800s
end-time: 0s
query-string:
datarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links
\n WHERE STARTS_WITH(links_id, '')\n "datarepo-3185ebf2:datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2.datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203
.", "baseTable": {"projectId": "datarepo-3185ebf2", "datasetId": "datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2", "tableId": "datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203"}}, {"code": "INDEX_CONFIG_NOT_AVAILABLE", "message": "There is no index configuration for the base tabledatarepo-b64e953d:hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.datarepo_row_ids
.", "baseTable": {"projectId": "datarepo-b64e953d", "datasetId": "hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33", "tableId": "datarepo_row_ids"}}]}, "transferredBytes": "0", "metadataCacheStatistics": {"tableMetadataCacheUsage": [{"tableReference": {"projectId": "datarepo-3185ebf2", "datasetId": "datarepo_hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2", "tableId": "datarepo_raw_links_fbb50a72_1c1a_4f3c_b4ee_6db573843203"}, "unusedReason": "OTHER_REASON", "explanation": "Table does not have CMETA."}, {"tableReference": {"projectId": "datarepo-b64e953d", "datasetId": "hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33", "tableId": "datarepo_row_ids"}, "unusedReason": "OTHER_REASON", "explanation": "Table does not have CMETA."}]}}, "query": "\n SELECT links_id, version\n FROMdatarepo-b64e953d.hca_prod_1ffa222328a64133a5a4badd00faf4bc__20231101_dcp2_20231102_dcp33.links
\n WHERE STARTS_WITH(links_id, '')\n "}The text was updated successfully, but these errors were encountered: