Robert Put
10/17/2022, 1:44 PMuser
10/17/2022, 1:47 PMMarcelo Pio de Castro
10/17/2022, 2:02 PMRobert Put
10/17/2022, 2:02 PMRobert Put
10/17/2022, 2:02 PMRobert Put
10/17/2022, 2:02 PMMarcelo Pio de Castro
10/17/2022, 2:02 PMMarcelo Pio de Castro
10/17/2022, 2:03 PMSaj Dider (Airbyte)
10/17/2022, 2:03 PMMarcelo Pio de Castro
10/17/2022, 2:06 PMSaj Dider (Airbyte)
10/17/2022, 2:13 PMMarcelo Pio de Castro
10/17/2022, 3:04 PMRobert Put
10/17/2022, 3:45 PMMarcelo Pio de Castro
10/17/2022, 3:51 PMRobert Put
10/17/2022, 4:59 PMRobert Put
10/17/2022, 5:13 PMMarcelo Pio de Castro
10/17/2022, 5:16 PMRobert Put
10/17/2022, 5:16 PMMarcelo Pio de Castro
10/17/2022, 5:17 PMRobert Put
10/17/2022, 5:17 PMRobert Put
10/17/2022, 5:19 PMRobert Put
10/17/2022, 5:23 PMMarcelo Pio de Castro
10/17/2022, 5:28 PMMarcelo Pio de Castro
10/17/2022, 5:28 PMRobert Put
10/17/2022, 5:31 PMMarcelo Pio de Castro
10/17/2022, 5:31 PMRobert Put
10/17/2022, 5:33 PMRobert Put
10/17/2022, 6:23 PMRobert Put
10/17/2022, 6:24 PMRobert Put
10/17/2022, 6:26 PMMarcelo Pio de Castro
10/17/2022, 6:27 PMMarcelo Pio de Castro
10/17/2022, 6:28 PMRobert Put
10/17/2022, 6:30 PMRobert Put
10/17/2022, 6:31 PMRobert Put
10/17/2022, 6:32 PM2022-10-17 18:12:42 WARN i.a.w.g.DefaultReplicationWorker(run):289 - State capture: No new state, falling back on input state: io.airbyte.config.State@1017059e[state={}]Robert Put
10/17/2022, 6:33 PMRobert Put
10/17/2022, 6:34 PM2022-10-17 18:12:42 ERROR i.a.w.g.DefaultReplicationWorker(run):188 - Sync worker failed.
java.util.concurrent.ExecutionException: io.airbyte.workers.general.DefaultReplicationWorker$SourceException: Source cannot be stopped!
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:181) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:68) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:161) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Suppressed: io.airbyte.workers.exception.WorkerException: Source process exit with code 1. This warning is normal if the job was cancelled.
at io.airbyte.workers.internal.DefaultAirbyteSource.close(DefaultAirbyteSource.java:135) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:145) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:68) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:161) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Suppressed: io.airbyte.workers.exception.WorkerException: Destination process exit with code 143. This warning is normal if the job was cancelled.
at io.airbyte.workers.internal.DefaultAirbyteDestination.close(DefaultAirbyteDestination.java:115) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:145) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
at io.airbyte.workers.general.DefaultReplicationWorker.run(DefaultReplicationWorker.java:68) ~[io.airbyte-airbyte-workers-0.40.14.jar:?]
seems related?Robert Put
10/17/2022, 6:36 PM2022-10-17 18:11:55 destination > Copying stream 1
2022-10-17 18:11:55 destination > Copying stream 2
2022-10-17 18:11:55 destination > Copying stream 3
2022-10-17 18:11:55 destination > Copying stream 4
2022-10-17 18:12:42 ERROR i.a.w.g.DefaultReplicationWorker(run):188 - Sync worker failed.Robert Put
10/17/2022, 6:49 PMRobert Put
10/17/2022, 6:49 PM### JOBS ###
# Relevant to scaling.
SYNC_JOB_MAX_ATTEMPTS=1
SYNC_JOB_MAX_TIMEOUT_DAYS=3
JOB_MAIN_CONTAINER_CPU_REQUEST=
JOB_MAIN_CONTAINER_CPU_LIMIT=
JOB_MAIN_CONTAINER_MEMORY_REQUEST=
JOB_MAIN_CONTAINER_MEMORY_LIMIT=
NORMALIZATION_JOB_MAIN_CONTAINER_MEMORY_LIMIT=
NORMALIZATION_JOB_MAIN_CONTAINER_MEMORY_REQUEST=
NORMALIZATION_JOB_MAIN_CONTAINER_CPU_LIMIT=
NORMALIZATION_JOB_MAIN_CONTAINER_CPU_REQUEST=
### LOGGING/MONITORING/TRACKING ###
TRACKING_STRATEGY=logging
PAPERCUPS_STORYTIME=disabled
JOB_ERROR_REPORTING_STRATEGY=logging
# Although not present as an env var, expected by Log4J configuration.
LOG_LEVEL=INFO
### APPLICATIONS ###
# Worker #
WORKERS_MICRONAUT_ENVIRONMENTS=control-plane
# Relevant to scaling.
MAX_SYNC_WORKERS=5
MAX_SPEC_WORKERS=5
MAX_CHECK_WORKERS=5
MAX_DISCOVER_WORKERS=5Marcelo Pio de Castro
10/17/2022, 8:21 PMMarcelo Pio de Castro
10/17/2022, 8:22 PM2022-10-09 23:11:20 [32mINFO[m i.a.w.g.DefaultReplicationWorker(run):279 - Source output at least one state message
2022-10-09 23:11:20 [32mINFO[m i.a.w.g.DefaultReplicationWorker(run):285 - State capture: Updated state to: Optional[io.airbyte.config.State@1d4b5b2f[state=[{"type":"STREAM","stream":{"stream_descriptor":{"name":"Test"},"stream_state":{"last_number":4}}}]]]Robert Put
10/17/2022, 8:22 PMRobert Put
10/17/2022, 8:24 PMMarcelo Pio de Castro
10/17/2022, 8:33 PMRobert Put
10/17/2022, 8:39 PMRobert Put
10/17/2022, 8:40 PMRobert Put
10/17/2022, 8:42 PMMarcelo Pio de Castro
10/17/2022, 8:42 PMORDER BY <cursor_field> ASC ?Robert Put
10/17/2022, 8:44 PMORDER BY doesn't even appear in the logs
updated_at asc doesn't appear eitherMarcelo Pio de Castro
10/17/2022, 8:49 PMPrepared SQL query for queryTableIncremental isRobert Put
10/17/2022, 8:50 PMRobert Put
10/17/2022, 8:51 PMIf the sync is running for the first time, it is equivalent to a Full Refresh since all data will be considered as new.Robert Put
10/17/2022, 8:51 PMMarcelo Pio de Castro
10/17/2022, 8:53 PMRobert Put
10/17/2022, 8:56 PMMarcelo Pio de Castro
10/17/2022, 9:02 PMORDER BY if emitting states periodically
https://github.com/airbytehq/airbyte/blob/a5a0409ad55192abda4b6fac028ac90080e51e43[…]ava/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.javaMarcelo Pio de Castro
10/17/2022, 9:03 PMRobert Put
10/17/2022, 9:06 PMMarcelo Pio de Castro
10/17/2022, 9:06 PMRobert Put
10/17/2022, 9:06 PMUSE_STREAM_CAPABLE_STATE
?Robert Put
10/17/2022, 9:06 PMDid you enable per stream state?what does that mean?
Robert Put
10/17/2022, 9:09 PMRobert Put
10/17/2022, 9:10 PMRobert Put
10/17/2022, 9:10 PMMarcelo Pio de Castro
10/17/2022, 9:15 PMUSE_STREAM_CAPABLE_STATE, yeah, that is the flagRobert Put
10/17/2022, 9:15 PMRobert Put
10/17/2022, 9:16 PM2022-10-17 19:35:15 [32mINFO[m i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/48/0 --log-driver none --name source-postgres-read-48-0-urmmk --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_JOB_ATTEMPT=0 -e WORKER_CONNECTOR_IMAGE=airbyte/source-postgres:1.0.16 -e AIRBYTE_VERSION=0.40.14 -e WORKER_JOB_ID=48 airbyte/source-postgres:1.0.16 read --config source_config.json --catalog source_catalog.json --state input_state.jsonRobert Put
10/17/2022, 9:17 PMtrue in the env fileMarcelo Pio de Castro
10/17/2022, 9:20 PMRobert Put
10/17/2022, 9:23 PMMarcelo Pio de Castro
10/17/2022, 9:25 PMRobert Put
10/17/2022, 9:25 PMRobert Put
10/17/2022, 9:25 PMRobert Put
10/17/2022, 9:26 PMRobert Put
10/17/2022, 9:26 PMMarcelo Pio de Castro
10/17/2022, 9:28 PMState Report: stream nameRobert Put
10/17/2022, 9:30 PM2022-10-17 19:35:19 [44msource[0m > State report for stream AirbyteStreamNameNamespacePair{name='app_config', namespace='public'} - original: null = null (count 0) -> latest: updated_at = 2022-10-13T10:09:56.845870 (count 1)
yeah a tonRobert Put
10/17/2022, 9:30 PM2022-10-17 19:35:42 [44msource[0m > State report for stream AirbyteStreamNameNamespacePair{name='test', namespace='public'} - original: null = null (count 0) -> latest: created_at = 2022-10-17T15:57:49.000000 (count 1)Robert Put
10/17/2022, 9:30 PMRobert Put
10/17/2022, 9:30 PMState report:
doesn't appearMarcelo Pio de Castro
10/17/2022, 9:32 PMMarcelo Pio de Castro
10/17/2022, 9:34 PMSource did not output any state messagesRobert Put
10/17/2022, 9:37 PM2022-10-17 20:09:41 INFO i.a.w.g.DefaultReplicationWorker(run):279 - Source output at least one state message
2022-10-17 20:09:41 WARN i.a.w.g.DefaultReplicationWorker(run):289 - State capture: No new state, falling back on input state: io.airbyte.config.State@69c7fbb0[state={}]Robert Put
10/17/2022, 9:38 PM2022-10-17 20:09:41 ERROR i.a.w.g.DefaultReplicationWorker(run):188 - Sync worker failed.
java.util.concurrent.ExecutionException: io.airbyte.workers.general.DefaultReplicationWorker$SourceException: Source cannot be stopped!
wait maybe its an oom issue with the sync worker?Robert Put
10/17/2022, 9:39 PMio.airbyte.config.StreamSyncStats@4b3043e5[streamName=app_config,stats=io.airbyte.config.SyncStats@14e0d688[recordsEmitted=1,bytesEmitted=1463,sourceStateMessagesEmitted=<null>Robert Put
10/17/2022, 9:39 PMourceStateMessagesEmitted=<null>
?Marcelo Pio de Castro
10/17/2022, 9:41 PMMarcelo Pio de Castro
10/17/2022, 9:41 PMMarcelo Pio de Castro
10/17/2022, 9:42 PMRobert Put
10/17/2022, 9:45 PMMarcelo Pio de Castro
10/17/2022, 9:45 PMMarcelo Pio de Castro
10/17/2022, 9:46 PMMarcelo Pio de Castro
10/17/2022, 9:47 PMMarcelo Pio de Castro
10/17/2022, 9:48 PMRobert Put
10/17/2022, 9:48 PMRobert Put
10/17/2022, 9:49 PMMarcelo Pio de Castro
10/17/2022, 9:49 PMRobert Put
10/17/2022, 9:50 PMRobert Put
10/17/2022, 9:51 PMMarcelo Pio de Castro
10/17/2022, 9:51 PMMarcelo Pio de Castro
10/17/2022, 9:51 PMRobert Put
10/17/2022, 9:57 PMRobert Put
10/17/2022, 10:20 PM