Kothapalli Venkata Avinash
07/08/2025, 11:00 AMkapa.ai
07/08/2025, 11:00 AMSYNC_JOB_RETRIES_COMPLETE_FAILURES_MAX_SUCCESSIVE - SYNC_JOB_RETRIES_COMPLETE_FAILURES_MAX_TOTAL - SYNC_JOB_RETRIES_PARTIAL_FAILURES_MAX_SUCCESSIVE - SYNC_JOB_RETRIES_PARTIAL_FAILURES_MAX_TOTAL These variables define the maximum number of retry attempts for jobs that fail completely or partially. You can set these in your Airbyte deployment configuration (e.g., in your Kubernetes manifests, Docker Compose file, or as environment variables in your deployment platform). For example, to increase the maximum number of retries for complete failures, you might set: bash SYNC_JOB_RETRIES_COMPLETE_FAILURES_MAX_TOTAL=10 Refer to the [Configuring Airbyte - Jobs section](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#jobs) for a full list of available environment variables and their descriptions. If you are developing a custom HTTP API-based connector using the Airbyte Python CDK, the default behavior is exponential backoff with a maximum of 5 retries for HTTP 429 and 5XX errors. To customize this, you need to override the should_retry and backoff_time methods in your connector code. See the [CDK Python HTTP Streams documentation](https://docs.airbyte.com/platform/connector-development/cdk-python/http-streams#rate-limiting) for more details. Currently, Airbyte does not support configuring retries per connection via the UI or API; this is a requested feature but not yet available as of the latest information in the knowledge sources [Configuring Airbyte - Jobs](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#jobs) [CDK Python HTTP Streams - Rate Limiting](https://docs.airbyte.com/platform/connector-development/cdk-python/http-streams#rate-limiting).Kothapalli Venkata Avinash
07/08/2025, 11:02 AMkapa.ai
07/08/2025, 11:02 AMkapa.ai
07/08/2025, 11:02 AMKothapalli Venkata Avinash
07/08/2025, 11:15 AMkapa.ai
07/08/2025, 11:15 AMkapa.ai
07/08/2025, 11:15 AMfailures=[...internalMessage=Source process exited with non-zero exit code 137,externalMessage=Something went wrong within the source connector...] - Similarly, in the [source-aws datalake connector issue](https://github.com/airbytehq/airbyte/issues/39128), the error is associated with the source process. So, when you see this error, it is the source connector pod that is exiting with code 137 during the sync job, not the destination or orchestrator pods. This usually points to resource constraints (like memory) on the pod running the source connector [[source-salesforce issue]](https://github.com/airbytehq/airbyte/issues/37368) [[source-aws datalake issue]](https://github.com/airbytehq/airbyte/issues/39128).Kothapalli Venkata Avinash
07/08/2025, 2:31 PMkapa.ai
07/08/2025, 2:31 PMkapa.ai
07/08/2025, 2:31 PMvalues.yaml file under the jobs.resources section, for example: yaml global: jobs: resources: limits: memory: 4Gi # Increase this value as needed requests: memory: 2Gi # Increase this value as needed You can also set environment variables such as JOB_MAIN_CONTAINER_MEMORY_REQUEST and JOB_MAIN_CONTAINER_MEMORY_LIMIT to control the memory allocated to the main job containers. For more granular control, you may need to set specific variables for different job types (e.g., CHECK_JOB_MAIN_CONTAINER_MEMORY_LIMIT, DISCOVER_JOB_MAIN_CONTAINER_MEMORY_LIMIT, etc.) as described in the documentation and user reports [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte) [Github Issue: Cannot use Airbyte on Kubernetes due to OOM](https://github.com/airbytehq/airbyte/issues/48816). If you want to set memory limits for a specific connection or connector, you can update the resource_requirements field in the Airbyte database for that connection or actor definition. Note: After making these changes, you should restart your Airbyte deployment for the new settings to take effect. If you are not seeing the changes reflected, ensure you are setting the correct variables for the specific job type, as Airbyte uses different environment variables for different processes (e.g., sync, check, discover) [Github Issue: Cannot use Airbyte on Kubernetes due to OOM](https://github.com/airbytehq/airbyte/issues/48816).Kothapalli Venkata Avinash
07/08/2025, 6:15 PMkapa.ai
07/08/2025, 6:15 PMkapa.ai
07/08/2025, 6:15 PMJAVA_OPTS environment variable to increase the heap size, such as: JAVA_OPTS: "-XX:MaxRAMPercentage=80.0" This ensures the JVM can use a larger portion of the container's memory [Scaling Airbyte After Installation](https://docs.airbyte.com/operator-guides/scaling-airbyte). 2. Connector-Specific or Job-Type Resource Variables Airbyte uses different environment variables for different job types (sync, check, discover, etc.). If you only set the generic JOB_MAIN_CONTAINER_MEMORY_LIMIT, it may not apply to all job types. You may need to set variables like: - CHECK_JOB_MAIN_CONTAINER_MEMORY_LIMIT - DISCOVER_JOB_MAIN_CONTAINER_MEMORY_LIMIT - SPEC_JOB_MAIN_CONTAINER_MEMORY_LIMIT - etc. This is especially important in Kubernetes deployments, as noted by users who found that setting all relevant variables resolved OOM issues [Github Issue: Cannot use Airbyte on Kubernetes due to OOM](https://github.com/airbytehq/airbyte/issues/48816). 3. Connector Implementation Limitations Some connectors (e.g., source-elasticsearch, source-cockroachdb) have been reported to load large amounts of data into memory at once, regardless of the memory allocated, leading to OOM errors even on high-memory machines. This is a limitation of the connector's implementation and may require batching or connector updates to resolve [Source Elasticsearch: not working for larger datasets](https://github.com/airbytehq/airbyte/issues/19805) [Source CockroachDB: OOM Issues](https://github.com/airbytehq/airbyte/issues/32510). 4. Resource Settings May Not Be Picked Up There are reports that sometimes resource settings are not picked up as expected, especially if set only at the instance level or in .env files. Double-check that your settings are being applied by reviewing the job logs, which should show the detected resource configuration for each container [Configuring Connector Resources - Debugging](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). Summary: - Ensure you set the appropriate JVM options (JAVA_OPTS) to allow the connector to use more memory. - Set all relevant job-type-specific environment variables. - Check the job logs to confirm the resource settings are being applied. - Be aware of connector limitations that may require batching or code changes. If after all these steps the issue persists, it may be due to a connector-specific memory leak or architectural limitation, as seen in some open issues. In such cases, you may need to follow up on the specific connector's GitHub issues or consider breaking up your syncs into smaller batches [Source CockroachDB: OOM Issues](https://github.com/airbytehq/airbyte/issues/32510) [Source Elasticsearch: not working for larger datasets](https://github.com/airbytehq/airbyte/issues/19805).Kothapalli Venkata Avinash
07/28/2025, 2:19 PMkapa.ai
07/28/2025, 2:19 PMkapa.ai
07/28/2025, 2:20 PMKothapalli Venkata Avinash
07/28/2025, 2:20 PMkapa.ai
07/28/2025, 2:21 PMkapa.ai
07/28/2025, 2:21 PMairbyte-server deployment or pod. The HTTP 413 error ("Request Entity Too Large") occurs when the payload sent to the server (often the sync catalog or configuration) exceeds the maximum allowed size. This is a common issue when the source database has a large number of tables or streams, resulting in a large request payload. The error is generated by the server or by an ingress/proxy (such as NGINX) in front of the server, not by the worker or connector pods [413 when creating connection](https://github.com/airbytehq/airbyte/issues/45423) [[source-mssql] 413 Request Entity Too Large](https://github.com/airbytehq/airbyte/issues/56914). To resolve this, you may need to increase the client_max_body_size in your ingress/proxy configuration or adjust the MICRONAUT_SERVER_MAX_REQUEST_SIZE environment variable for the server pod. Some users have also found it necessary to update ingress annotations (e.g., `nginx.ingress.kubernetes.io/proxy-body-size`) to allow larger payloads [413 when creating connection](https://github.com/airbytehq/airbyte/issues/45423) [🐛 Airbyte Core: Large schema fetching failure](https://github.com/airbytehq/airbyte/issues/4564). Summary: - The airbyte-server pod is responsible for creating connections. - The HTTP 413 error is typically due to request size limits on the server or ingress/proxy, not the worker or connector pods. - Adjust server and ingress/proxy settings to resolve the error.Kothapalli Venkata Avinash
07/28/2025, 2:46 PMKothapalli Venkata Avinash
07/28/2025, 2:47 PMkapa.ai
07/28/2025, 2:47 PMkapa.ai
07/28/2025, 2:48 PMMICRONAUT_SERVER_MAX_REQUEST_SIZE environment variable in your values.yaml file under the global.env_vars section. For example, to set the limit to 100MB, add the following to your `values.yaml`: yaml global: env_vars: MICRONAUT_SERVER_MAX_REQUEST_SIZE: "104857600" # 100MB in bytes This will propagate the environment variable to the relevant pods, including the server pod responsible for handling large requests during connection creation. Make sure to redeploy Airbyte after updating the values.yaml file. Note: Some users have reported that even after setting this variable, they still encountered 413 errors, which may require additional configuration of your ingress/proxy (such as increasing proxy-body-size for NGINX) [🐛 Airbyte Core: Large schema fetching failure](https://github.com/airbytehq/airbyte/issues/4564). If you are using Kubernetes with an ingress controller, you may also need to add: yaml webapp: ingress: annotations: nginx.ingress.kubernetes.io/proxy-body-size: "100m" This ensures that both the application and the ingress allow larger request payloads [🐛 Airbyte Core: Large schema fetching failure](https://github.com/airbytehq/airbyte/issues/4564).Kothapalli Venkata Avinash
07/30/2025, 4:48 PMkapa.ai
07/30/2025, 4:48 PMkapa.ai
07/30/2025, 4:48 PMKothapalli Venkata Avinash
07/30/2025, 7:39 PMkapa.ai
07/30/2025, 7:39 PMkapa.ai
07/30/2025, 7:39 PMMAX_SYNC_WORKERS and the number of available ports per worker (often calculated as TEMPORAL_WORKER_PORTS / 4 per worker pod). For example: parallel syncs = number of worker pods * min(MAX_SYNC_WORKERS, TEMPORAL_WORKER_PORTS / 4) You can further increase parallelism by scaling up your infrastructure (more nodes, more memory/CPU), increasing the number of worker pods, and adjusting these environment variables accordingly [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte) [Configuring Airbyte - Worker](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#worker) [Forum: How to configure to have a larger number of concurrency?](https://discuss.airbyte.io/t/1077). Note: The actual number of parallel jobs you can run will also depend on your cluster's available resources (CPU, memory) and the resource requirements of each job. If you set these values too high without sufficient resources, you may encounter stuck or failed jobs.Kothapalli Venkata Avinash
07/30/2025, 9:30 PMkapa.ai
07/30/2025, 9:30 PMkapa.ai
07/30/2025, 9:31 PMyaml minio: storage: volumeClaimValue: 2Gi Or, clear old logs from /storage/airbyte-storage/job-logging/workspace inside the MinIO pod [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812) [K8s No logs available](https://discuss.airbyte.io/t/1078). 2. Log Server or Logging Configuration Issues If you are running your own log server, ensure it has enough disk space and is properly configured. Log unavailability can also occur if the log server is full or misconfigured [Intermittent sync failures from large Postgres table to Snowflake](https://discuss.airbyte.io/t/551). 3. How to Access Logs - In the Airbyte UI, go to the connection’s Job History tab, click the three dots next to a sync, and select View logs or Download logs. - If logs are still missing, check the underlying storage (e.g., Docker volumes or Kubernetes PVCs) for log files [Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs). Summary: The most common cause for your issue is MinIO or log storage running out of space, or a misconfiguration in logging. Check and increase your MinIO storage, clear old logs if needed, and ensure your logging setup is healthy. If the problem persists after these steps, review your deployment’s resource usage and log server configuration.Kothapalli Venkata Avinash
08/01/2025, 4:19 PMkapa.ai
08/01/2025, 4:19 PMkapa.ai
08/01/2025, 4:19 PMjson_schema field of the AirbyteStream object. This field contains a [JSONSchema](https://json-schema.org/understanding-json-schema) representation of the schema for each stream, detailing all the fields and their types. This schema is provided as part of the Airbyte protocol and is available to the destination during the sync process. When a destination connector receives data, it also receives the stream's schema in the json_schema field, which you can use to determine the fields and their types for writing into the destination system [Airbyte Protocol - AirbyteStream](https://docs.airbyte.com/platform/next/understanding-airbyte/airbyte-protocol#airbytestream). Example: The AirbyteStream object includes: json { "name": "my_stream", "json_schema": { "type": "object", "properties": { "id": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "amount": { "type": "number" } } } } You can use the properties field in json_schema to get all the stream's schema fields and their types. Summary: - The stream schema fields are available in the json_schema field of the AirbyteStream object. - This schema is passed to the destination and can be used to determine how to write records into the destination [Airbyte Protocol - AirbyteStream](https://docs.airbyte.com/platform/next/understanding-airbyte/airbyte-protocol#airbytestream).Kothapalli Venkata Avinash
08/01/2025, 4:20 PMkapa.ai
08/01/2025, 4:20 PMkapa.ai
08/01/2025, 4:20 PMAirbyteStream object, which is included in the AirbyteCatalog passed to the destination. The AirbyteStream contains the name of the stream and its json_schema, which describes the structure and fields of the data being written. The destination receives this information as part of the sync process, allowing it to know the schema of each stream it will write to the destination system. The json_schema field provides a [JSONSchema](https://json-schema.org/understanding-json-schema) representation of the stream's fields and types. Example structure: json { "name": "users", "json_schema": { "type": "object", "properties": { "username": { "type": "string" }, "age": { "type": "integer" } } } } You can use the name to identify the stream and the json_schema to access all field definitions and types. This information is available to the destination connector during the sync and is how the destination can refer to the source stream and its schema details [Airbyte Protocol - AirbyteStream](https://docs.airbyte.com/platform/next/understanding-airbyte/airbyte-protocol#airbytestream). If you need to access this in your code, you would typically parse the AirbyteCatalog or ConfiguredAirbyteCatalog object provided to the destination, and extract the relevant stream and schema information from there. If you need more specific implementation details, please clarify your destination connector framework (e.g., Java, Python CDK, etc.), as the knowledge sources do not provide code-level examples for this process.Kothapalli Venkata Avinash
08/01/2025, 5:05 PMkapa.ai
08/01/2025, 5:05 PMkapa.ai
08/01/2025, 5:05 PMInvalid message type for message: io.airbyte.protocol.models.AirbyteMessage@4d30b702[type=RECORD,log=<null>,spec=<null>,connectionStatus=<null>,catalog=<null>,record=io.airbyte.protocol.models.AirbyteRecordMessage@5875ae40 suggests that a message of type RECORD was received or processed in a context where it was not expected. According to the Airbyte protocol, every message exchanged between actors (source, destination, etc.) must be wrapped in an AirbyteMessage envelope, and the type field determines which field is populated (e.g., record, log, spec, etc.). Only the field corresponding to the type should be populated; all others should be null. If a message of type RECORD is received where, for example, a STATE or CATALOG message is expected, or if the message structure does not conform to the protocol, this error can occur [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages). Additionally, the protocol requires that all messages must be wrapped in an AirbyteMessage and must be on their own line, serialized as JSON. If a message is not properly wrapped or is sent in the wrong context, it will be dropped or cause an error [Airbyte Protocol - Actor Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#actor-interface). Summary: This error typically means a RECORD message was sent or received in an unexpected context or the message structure did not conform to the Airbyte protocol. Double-check that your connector is emitting the correct message types at the correct times, and that only the appropriate field is populated for each message type [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages).Kothapalli Venkata Avinash
08/01/2025, 5:08 PMkapa.ai
08/01/2025, 5:08 PMkapa.ai
08/01/2025, 5:09 PMAirbyteMessage strictly conforms to the Airbyte protocol. Key steps: 1. Process Only Expected Message Types: The destination should only process RECORD messages when it is in the phase of writing records. If it receives a RECORD message in a context where, for example, a STATE or CATALOG message is expected, this error can occur. Make sure your connector logic is correctly handling the protocol phases. 2. Validate Message Structure: Each AirbyteMessage must have only the field corresponding to its type populated; all other fields must be null. For example, if type is RECORD, only the record field should be set, and all others (log, spec, connectionStatus, catalog, state, trace) should be null. If your connector is populating multiple fields or not following this structure, update your code to comply with the protocol [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages). 3. Ensure Proper Message Wrapping and Serialization: All messages must be wrapped in an AirbyteMessage envelope and serialized as single-line JSON objects. If your connector is emitting messages not properly wrapped or not on a single line, this can cause protocol errors [Airbyte Protocol - Actor Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#actor-interface). Summary: - Check that your destination connector only processes RECORD messages when appropriate. - Ensure only the correct field is populated for each message type. - Make sure all messages are properly wrapped and serialized as required by the Airbyte protocol. If you follow these protocol requirements, the "Invalid message type" error should be resolved [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages) [Airbyte Protocol - Actor Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#actor-interface).Kothapalli Venkata Avinash
08/01/2025, 5:47 PMkapa.ai
08/01/2025, 5:47 PMkapa.ai
08/01/2025, 5:47 PMdestination-s3) as an example. 2. Build the connector using Gradle. 3. Implement the required methods: spec, check, and write. 4. Set up acceptance tests and write unit/integration tests. 5. Update documentation as needed. You can find these steps in the [Building a Java Destination](https://docs.airbyte.com/platform/connector-development/tutorials/building-a-java-destination) guide. However, the full implementation for the Databricks destination is not available in the knowledge sources, and you would need to refer to the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte) for the actual code if it is open source. If you need a template or example, the documentation suggests using the destination-s3 connector as a starting point [Building a Java Destination](https://docs.airbyte.com/platform/connector-development/tutorials/building-a-java-destination). If you have a specific part of the Databricks connector you want to see or implement, please clarify, and I can help guide you based on the available documentation.Kothapalli Venkata Avinash
08/01/2025, 7:33 PMkapa.ai
08/01/2025, 7:33 PMkapa.ai
08/01/2025, 7:33 PMKothapalli Venkata Avinash
08/01/2025, 7:34 PMkapa.ai
08/01/2025, 7:34 PMkapa.ai
08/01/2025, 7:35 PMKothapalli Venkata Avinash
08/04/2025, 1:43 PMkapa.ai
08/04/2025, 1:43 PMkapa.ai
08/04/2025, 1:43 PMKothapalli Venkata Avinash
08/04/2025, 2:03 PMkapa.ai
08/04/2025, 2:03 PMkapa.ai
08/04/2025, 2:04 PMKothapalli Venkata Avinash
08/05/2025, 12:08 PMkapa.ai
08/05/2025, 12:08 PMkapa.ai
08/05/2025, 12:08 PMKothapalli Venkata Avinash
08/07/2025, 7:27 PMkapa.ai
08/07/2025, 7:27 PMkapa.ai
08/07/2025, 7:27 PMJobOrchestrator loop - Thread (Thread 17, AsyncJobOrchestrator <airbyte_cdk.sources.declarative.async_job.job_orchestrator.asyncjoborchestrator>) completed! Errors during creation were [] indicates that the asynchronous job orchestrator thread has finished its execution and that there were no errors during the creation phase of the async job (as shown by the empty error list: Errors during creation were []). This message is informational and suggests that the job creation step was successful, and the orchestrator thread completed as expected. There is no indication of a problem in this message itself. If you are troubleshooting, you should look for other log entries before or after this message for any warnings or errors related to the async job or its subsequent steps (such as polling or downloading), as this message only refers to the creation phase. The knowledge sources describe how the async job orchestrator manages the creation, polling, and download phases for asynchronous streams, and this log is consistent with the expected behavior of the orchestrator component [AsyncRetriever YAML Reference](https://docs.airbyte.com/platform/1.6/connector-development/config-based/understanding-the-yaml-file/reference#/definitions/AsyncRetriever).Kothapalli Venkata Avinash
08/08/2025, 4:03 PMKothapalli Venkata Avinash
08/08/2025, 4:10 PMkapa.ai
08/08/2025, 4:10 PMkapa.ai
08/08/2025, 4:10 PMInvalid message type for message: io.airbyte.protocol.models.AirbyteMessage@[...][type=RECORD, ...] in your destination connector indicates that a RECORD type message was received or processed in a context where it was not expected. According to the Airbyte protocol, each AirbyteMessage must have only the field corresponding to its type populated, and all other fields must be null. If a message of type RECORD is received where another type (such as STATE, CATALOG, etc.) is expected, or if the message structure does not conform to the protocol, this error can occur [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages). How to resolve: 1. Check Message Handling Logic: Ensure your destination connector only processes RECORD messages when it is appropriate to do so (typically during the record writing phase). If your connector is processing messages in the wrong context, update your logic to handle only the expected message types at each stage. 2. Validate Message Structure: Make sure that for each AirbyteMessage, only the field matching the type is populated. For example, if type is RECORD, only the record field should be set, and all others (log, spec, connectionStatus, catalog, etc.) should be null. 3. Proper Message Wrapping: All messages must be wrapped in an AirbyteMessage envelope and serialized as single-line JSON objects. Improper wrapping or serialization can also cause protocol errors [Airbyte Protocol - Actor Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#actor-interface). By ensuring your connector strictly follows the Airbyte protocol for message types and structure, you should be able to resolve this error [Airbyte Protocol - Messages](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#messages).Kothapalli Venkata Avinash
08/08/2025, 8:23 PMkapa.ai
08/08/2025, 8:23 PMkapa.ai
08/08/2025, 8:24 PMvalues.yaml file: yaml minio: storage: volumeClaimValue: 2Gi # Set this to your desired size, e.g., 2Gi, 5Gi, etc. After updating the value, apply the changes and restart your Airbyte deployment. This will allocate more storage to the MinIO pod, helping to prevent issues related to running out of disk space for logs and job data [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812) [Github Issue: Ignored minio.storage.volumeClaimValue value, default value 500Mi used](https://github.com/airbytehq/airbyte/issues/43357). If you are using abctl or another deployment method, ensure that the storage value is correctly set and picked up by your deployment tool, as some older versions may ignore custom values and use the default (often 500Mi) [Github Issue: Ignored minio.storage.volumeClaimValue value, default value 500Mi used](https://github.com/airbytehq/airbyte/issues/43357). Note: If your MinIO PVC is already created, you may need to manually resize the PVC in your Kubernetes cluster, as some environments do not allow shrinking or expanding PVCs without recreating them. Always check your cloud provider or Kubernetes documentation for PVC resizing support.Kothapalli Venkata Avinash
08/12/2025, 12:06 PMkapa.ai
08/12/2025, 12:06 PMkapa.ai
08/12/2025, 12:06 PMvalues.yaml for Helm/Kubernetes) to allocate more memory to the server pod. For example: yaml airbyte-server: resources: limits: memory: 4Gi # or higher, depending on your needs requests: memory: 2Gi Or, if you are using environment variables, set: SERVER_MEMORY_LIMIT=4Gi SERVER_MEMORY_REQUEST=2Gi 2. Adjust JVM Options: Airbyte Java processes may not use all the memory allocated to the container unless JVM options are set appropriately. You can set the JAVA_OPTS environment variable to allow the JVM to use a higher percentage of the container's memory, for example: JAVA_OPTS: "-XX:MaxRAMPercentage=80.0" This ensures the JVM can use up to 80% of the container's memory, which helps prevent out-of-memory errors [Scaling Airbyte After Installation](https://docs.airbyte.com/operator-guides/scaling-airbyte). 3. Restart the Server Pod: After making these changes, restart your Airbyte server pod to apply the new settings. Note: If you continue to see this error after increasing memory, review your server's workload and logs to ensure there are no memory leaks or unusually large jobs causing excessive memory usage. If you are running Airbyte on Docker, make sure your Docker daemon is also configured to allow enough memory for the containers. If you need more specific guidance, please provide details about your deployment method (Kubernetes, Docker, etc.) and current resource settings. If you are using an older version of Airbyte, be aware that some memory management issues have been fixed in newer releases, so consider upgrading if the problem persists [Airbyte Server Memory leak](https://github.com/airbytehq/airbyte/issues/27844).Kothapalli Venkata Avinash
08/12/2025, 12:33 PMkapa.ai
08/12/2025, 12:33 PMkapa.ai
08/12/2025, 12:33 PMbash pg_dump -U <username> -h <host> -p <port> <database> > airbyte_backup_1_2_0.sql Replace <username>, <host>, <port>, and <database> with your actual database credentials. > Note: Ensure you also back up any external storage (such as MinIO) if you use it for logs or state. --- ### 2. Update the Helm Repository Update your local Helm repository to fetch the latest Airbyte charts: bash helm repo add airbyte https://airbytehq.github.io/helm-charts helm repo update [Deploying Airbyte - Add the Helm Repository](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide) --- ### 3. Review and Update values.yaml - Compare your current values.yaml with the default values for version 1.5.7. - Update any deprecated or changed configuration options as needed. - You can find default values for each version on [Airbyte ArtifactHub](https://artifacthub.io/packages/helm/airbyte/airbyte). --- ### 4. Upgrade Airbyte Using Helm Run the following command to upgrade your Airbyte deployment: bash helm upgrade --install <RELEASE-NAME> airbyte/airbyte \ --namespace <NAMESPACE> \ --values <PATH_TO_VALUES.YAML> \ --version 0.40.37 - Replace <RELEASE-NAME>, <NAMESPACE>, and <PATH_TO_VALUES.YAML> with your actual values. - The Helm chart version for Airbyte 1.5.7 is 0.40.37 (verify on ArtifactHub for the exact chart version corresponding to app version 1.5.7). [Upgrading Airbyte on K8s using Helm](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) --- ### 5. Monitor the Upgrade - Wait for the upgrade to complete. - Check the status of your pods: bash kubectl get pods -n <NAMESPACE> - Review logs to ensure all services are running as expected. --- ### 6. Post-Upgrade Validation - Log in to the Airbyte UI and verify that your connections, sources, and destinations are intact. - Run a test sync to confirm the upgrade was successful. --- Important Notes: - Always test the upgrade in a staging environment before applying it to production. - If you use custom connectors or have made changes to the Airbyte database schema, review the [release notes for 1.3.x, 1.4.x, and 1.5.x](https://docs.airbyte.com/release_notes) for breaking changes or migration steps. - If you use MinIO or other persistent storage, ensure you have backups and enough storage allocated. --- If you need more detailed backup or restore steps for your specific environment, please provide additional details about your database and storage setup. --- References: - [Upgrading Airbyte on K8s using Helm](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) - [Release Notes](https://docs.airbyte.com/release_notes) - [Deploying Airbyte - Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#installation-guide)