Fixed
Status Update
Comments
as...@google.com <as...@google.com> #2
Is there any updates? This is a big problem!
as...@google.com <as...@google.com> #3
Hi there - could you provide more context on the issue & a sample project to reproduce? Database locked exceptions are quite difficult to pinpoint without a repro project. Thanks!
jk...@google.com <jk...@google.com> #4
Hi. It is reproduceable on some users by using this code:
suspend fun <R> MyDatabase.workaroundWithTransaction(block: suspend TransactionScope<R>.() -> R) {
useWriterConnection {
it.immediateTransaction(block)
}
// TODO: Temporally fix https://issuetracker.google.com/issues/340606803#comment2
// Manually triggers invalidation
invalidationTracker.refreshAsync()
}
Description
function testComputeDigest() {
var md5 = Utilities.base64Encode(Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, "test €"));
//see
var expectedMd5 = "hjb66qicBOGNEtZ6Ay+Jdg=="
Logger.log("Is " + md5 + " equal to " + expectedMd5 + "? " + (md5 == expectedMd5));
}
What is the expected output?
hjb66qicBOGNEtZ6Ay+Jdg==
What do you see instead?
nN9CMhhzmZGDcYOaWrLTNw==