Description
Hi!
I'm observing a strange behavior in the PowerSyncBackendConnector when it is trying to upload data using the new client implementation.
The documentation for the function uploadData() says "Any thrown errors will result in a retry after the configured wait period (default: 5 seconds)", however I verified that, even with an exception being thrown in the function's overridden code block, the SDK treats the upload as completed:
2026-04-03 12:59:48.471 2718-2992 [MANAGEDDATABASE] br.com.accelero V crud upload: notify completion
2026-04-03 12:59:48.476 2718-2992 [MANAGEDDATABASE] br.com.accelero V powersync_control: CompletedUpload
2026-04-03 12:59:48.477 2718-2992 [MANAGEDDATABASE] br.com.accelero V control result: []
By changing the default SyncOptions to newClientImplementation = false, everything works as expected.
Environment
PowerSync Kotlin SDK: 1.11.2
Kotlin: 2.3.20
Description
Hi!
I'm observing a strange behavior in the
PowerSyncBackendConnectorwhen it is trying to upload data using the new client implementation.The documentation for the function
uploadData()says "Any thrown errors will result in a retry after the configured wait period (default: 5 seconds)", however I verified that, even with an exception being thrown in the function's overridden code block, the SDK treats the upload as completed:By changing the default SyncOptions to
newClientImplementation = false, everything works as expected.Environment
PowerSync Kotlin SDK: 1.11.2
Kotlin: 2.3.20