Jian Zhu
05/27/2024, 2:55 AMNo stats have been persisted for job 1 stream StreamNameAndNamespacekapa.ai
05/27/2024, 2:55 AMJobHistoryHandler issue, the user experienced similar problems after adding certain variables to the server configuration. You can review the variables and ensure they are correctly set up: - STATE_STORAGE_GCS_APPLICATION_CREDENTIALS - STATE_STORAGE_GCS_BUCKET_NAME - WORKER_STATE_STORAGE_TYPE - WORKER_LOGS_STORAGE_TYPE [Source](https://discuss.airbyte.io/t/4016) 2. Code Issues: There might be an issue in the code that handles job statistics. For instance, the JobHistoryHandler retrieves job attempt statistics from a JobPersistence object and updates corresponding AttemptRead objects. If there is a problem in this process, it could result in missing stats. [Source](https://discuss.airbyte.io/t/4016) 3. Runtime Errors: If there are runtime errors during the job execution, it might prevent the stats from being recorded. For example, in the case of a Postgres replica configured as a hot standby server, a connection termination due to a conflict with recovery could lead to such issues. [Source](https://github.com/airbytehq/airbyte/issues/33230) To diagnose and resolve this issue, you can: - Check the server logs for any error messages related to job statistics. - Verify the configuration settings and ensure they are correctly applied. - Review the relevant code sections to ensure there are no bugs or issues preventing the stats from being recorded. If the problem persists, you might want to reach out to the Airbyte community or support for further assistance.