Grember Yohan
11/22/2022, 6:05 PMIncremental | Deduped history mode, but the state is never persisted to the DB, even once the connector is in success ๐
The impact is that data syncs always ingest the whole history as if I was in Full Refresh mode.
Is someone facing the same issue? How do you think I could fix this?
Thanks in advance for your help! ๐๐
Airbyte version: 0.40.22
Stripe source connector version: 0.1.40
Stripe source connector lookback window: 1 day
Stripe source connector Data request time increment: 1 dayMarcos Marx (Airbyte)
11/22/2022, 6:16 PMGrember Yohan
11/22/2022, 6:18 PMMarcos Marx (Airbyte)
11/22/2022, 6:34 PM[
{
"streamDescriptor": {
"name": "disputes"
},
"streamState": {
"created": 1610996305
}
},
{
"streamDescriptor": {
"name": "transfers"
},
"streamState": {
"created": 1610995824
}
},
{
"streamDescriptor": {
"name": "balance_transactions"
},
"streamState": {
"created": 1669080098
}
},
{
"streamDescriptor": {
"name": "refunds"
},
"streamState": {
"created": 1619595629
}
},
{
"streamDescriptor": {
"name": "payment_intents"
},
"streamState": {
"created": 1669072785
}
},
{
"streamDescriptor": {
"name": "charges"
},
"streamState": {
"created": 1669072785
}
}
]Marcos Marx (Airbyte)
11/22/2022, 6:35 PM2022-11-22 18:33:05 INFO i.a.w.g.DefaultReplicationWorker(prepStateForLaterSaving):481 - State capture: Updated state to: Optional[io.airbyte.config.State@351ae747[state=[{"type":"STREAM","stream":{"stream_descriptor":{"name":"disputes"},"stream_state":{"created":1610996305}}},{"type":"STREAM","stream":{"stream_descriptor":{"name":"transfers"},"stream_state":{"created":1610995824}}},{"type":"STREAM","stream":{"stream_descriptor":{"name":"balance_transactions"},"stream_state":{"created":1669080098}}},{"type":"STREAM","stream":{"stream_descriptor":{"name":"refunds"},"stream_state":{"created":1619595629}}},{"type":"STREAM","stream":{"stream_descriptor":{"name":"payment_intents"},"stream_state":{"created":1669072785}}},{"type":"STREAM","stream":{"stream_descriptor":{"name":"charges"},"stream_state":{"created":1669072785}}}]]]Grember Yohan
11/23/2022, 5:26 PMdisputes connection:
2022-11-23 17:07:29 replication-orchestrator > State capture: Updated state to: Optional[io.airbyte.config.State@60743cdb[state=[{"type":"STREAM","stream":{"stream_descriptor":{"name":"disputes"},"stream_state":{"created":1667992678}}}]]]
However, the connection_id is e47abe67-9871-454a-a4ec-24c2e70f7f6c
And when I look at the state table, this connection_id is not mentioned (as we can see on the screenshot)Grember Yohan
11/23/2022, 5:28 PMUSE_STREAM_CAPABLE_STATE is true on my local env, and seems false in my company kubernetes environment.
Do you know how I could modify it?Grember Yohan
11/23/2022, 5:30 PM2022-11-23 16:23:00 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/119/0 --log-driver none --name destination-bigquery-write-119-0-daqpt --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e WORKER_CONNECTOR_IMAGE=airbyte/destination-bigquery:1.1.11 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.22 -e WORKER_JOB_ID=119 airbyte/destination-bigquery:1.1.11 write --config destination_config.json --catalog destination_catalog.json
company kubernetes env log:
2022-11-23 17:23:40 INFO i.a.c.f.EnvVariableFeatureFlags(getEnvOrDefault):50 - Using default value for environment variable USE_STREAM_CAPABLE_STATE: 'false'Marcos Marx (Airbyte)
11/23/2022, 5:31 PMDo you know how I could modify it? (edited)Probably you must enable it
Grember Yohan
11/23/2022, 5:34 PMGrember Yohan
11/23/2022, 5:47 PMGrember Yohan
11/24/2022, 3:54 PMUSE_STREAM_CAPABLE_STATE to true fixed my issue ๐๐ฅณGrember Yohan
11/24/2022, 3:54 PMGrember Yohan
11/24/2022, 3:55 PMMarcos Marx (Airbyte)
11/28/2022, 1:50 PMuser
12/06/2022, 9:07 PMGrember Yohan
01/17/2023, 9:42 AMUSE_STREAM_CAPABLE_STATE to true ๐