Comments (3)
It turns out that sqlite does not support concurrent access to a database. Therefore, we should drop support for sqlite in ILP kit for production environments.
from five-bells-ledger.
We already don't support it for production environments. I forget the exact reason, but I remember us concluding that SQLite would not be safe to use outside of testing and development. That's why we don't have migrations for SQLite, only for Postgres - for SQLite you just have to reset the DB when you upgrade.
I'd say it's time to consider dropping all support for SQLite.
from five-bells-ledger.
I'd say it's time to consider dropping all support for SQLite.
Fine with me. Let me know if this decision is final. I am currently adding support for postgres in five-bells-service-manager
. So the integration tests do not require sqlite anymore.
from five-bells-ledger.
Related Issues (20)
- sqlite in-memory database disappears and ledger crashes HOT 3
- Error class handlers and logger print (unexpected) errors in Websocket middleware
- Provide a way for database migrations
- Descriptive error message if a recommended connector account does not exist
- When creating/updating an account, check that the id field of the account matches the request URL
- Error in docs for SendMessage
- Should not be able to set balance manually HOT 2
- URLs returned in meta-data should use proper RFC6570 URL Templates HOT 4
- Duplicate notifications when sender and receiver of a transfer are the same
- Ledger should ping websocket connections every n seconds HOT 1
- websocket: multiple events for the same transfer
- Websockets cannot connect HOT 4
- Don't return 500 errors for "could not serialize access due to concurrent update" HOT 1
- InvalidUriParameterError includs sensitive info
- 'Insufficient funds' error when doing multiple transfers at once HOT 3
- Announce API version in ledgerUri endpoint HOT 1
- executed_at can be after expired_at
- Env. Variable LEDGER_LOG_LEVEL has no effect
- Not able to access ledger Unauthorized error HOT 5
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 five-bells-ledger.