Comments (11)
Yes I missed that, you're right the entries should be removed from the journal and lruCache in the memory cache. For some reason the process gets stuck though. I will investigate more and maybe setup a reproduction.
from apollo-kotlin.
Okay I think I got it. The problem is in the SQL cache (I have the memory cache chained to SQL)
Here is the offending method:
It keeps trying to delete children before itself and thus create a loop.
from apollo-kotlin.
Sure, I'll see when I'll get to it though :)
from apollo-kotlin.
Thanks for sending this 🙏 Do you have a reproducer by any chance? The remove()
call there should be mostly idempotent so calling it multiple times with the same cache key should be harmless I think (recordJournal
should be null the 2nd time). But there could very well be something else. I'll keep digging but a reproducer would help a ton.
from apollo-kotlin.
Excelent catch! Do you want to submit a fix?
- load all referenced ids
- delete record
- delete each referenced id. If any is self referential, the fact that it's now deleted should break the cycle.
from apollo-kotlin.
Related Issues (20)
- [IJ/AS plugin] Internal error: NullPointerException HOT 1
- Currency balance
- Gradle plugin: change default values of some configurations
- Add cause to ApolloNetworkException thrown when offline
- iOS error on gradle sync "Could not resolve com.apollographql.apollo:apollo-compiler:4.0.0-rc.1" HOT 3
- Is MapTestNetworkTransport inconsistent with error handling in version 4? HOT 3
- Κβαντικοί υπολογιστές: Τι είναι η Q-Day και πόσο κοντά της είμαστε
- Κβαντικοί υπολογιστές: Τι είναι η Q-Day και πόσο κοντά της είμαστε
- Properties are not escaped in function body for input builders. HOT 10
- [runtime] allow changing the url and/or websocket connection payload
- Using `NetworkMonitor` to monitor offline state HOT 10
- Publish relocation information for moved Galaxy projects
- pdf-bot
- Was 3.8.3-SNAPSHOT removed? HOT 5
- Android Mobile App Apollo SDK Update - Schema Introspection Error HOT 1
- Is it possible to generate the query and data classes manually, without the Gradle plugin? HOT 3
- [Android] Apollo Introspection JsonDecodingException with Hasura server HOT 2
- Consider updating the docs for isLast on ApolloResponse if they are not up to date HOT 13
- HTTP status code is always `200` with batching enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-kotlin.