Comments (5)
I'm sure I've been moving data while meili process was not running though. I'll observe it with fresh index and report if it comes back. This time I'll make a proper dump ;)
from meilisearch.
I thought about making a dump and recreate indexes but this also failed with also quite cryptic message:
Task {
indexUid: null,
status: 'failed',
type: 'dumpCreation',
uid: 2162947,
details: { dumpUid: null },
canceledBy: null,
error: {
message: 'internal: MDB_PAGE_NOTFOUND: Requested page not found.',
code: 'internal',
type: 'internal',
link: 'https://docs.meilisearch.com/errors#internal'
},
duration: 'PT35.734438274S',
startedAt: 2024-02-23T19:59:11.542Z,
enqueuedAt: 2024-02-23T19:59:11.533Z,
finishedAt: 2024-02-23T19:59:47.277Z
}
from meilisearch.
Hey @sznowicki 👋
Thank you for the issue and report. The MDB_CORRUPTED
kind of errors is clearly showing that the database is corrupt on disk.
It brings the question of what kind of volume did you mount on Docker? Is it a network disk (NTFS)?
Meilisearch, and more specifically LMDB (our internal key-value store), doesn't support network file systems. Always use a raw SSD or NVMe.
The best solution to avoid having to deal with this kind of issues is to use the cloud offering. We provide more features like analytics and auto-updates. We never saw any database corruption in the past.
from meilisearch.
It's RAID 1 setup with LVM and LUKS encryption. For the process it should be visible as a regular ext4 filesystem. I'm reindexing all from scratch at the moment and so far don't observe any problems.
Possibly something went wrong when I moved the data from one disk to another.
For future problems, is there any way to recover from such state using some LMDB processes?
from meilisearch.
Possibly something went wrong when I moved the data from one disk to another.
Ho! Indeed, copying a file while it is being written to (indexing documents) is unsafe as the copy process is iterative (pages by pages) while data is being modified.
For future problems, is there any way to recover from such state using some LMDB processes?
There is maybe a feature in LMDB to read the pages from the previous transaction (before the one indexing new documents). But not sure it is available in LMDB 0.9...
from meilisearch.
Related Issues (20)
- Task panicked in multi-search HOT 7
- Missing embeddings after importing a dump HOT 1
- webhook body returns undefined HOT 5
- "message": "internal: Error while generating embeddings: error: fetching file from HG_HUB failed: I/O error Read-only file system (os error 30).", HOT 6
- OpenAI timeouts can be too long HOT 1
- Return an error when the nb field limit is reached
- Inconsistencies in Chinese Keyword Search Results with Default Settings HOT 8
- Avoid search crashes
- Data loss during batch writing HOT 1
- Issue importing a CSV HOT 1
- Avoid a full index deletion in `Transform` when changing settings
- Create `SettingsDiff` structure and run extractions based on it
- Improve hybrid search for v1.8 HOT 2
- Process `word-pair-proximity` database differently depending on the Settings
- Swapping `searchableAttributes` shouldn't trigger a reindexing
- Reduce `Transform`'s disk usage when changing the settings
- Update version in Cargo.toml for v1.7.1 HOT 1
- Implement a search cutoff HOT 1
- Limit the number of search requests running concurrently
- Remove `facet` database when an attribute is removed from the facet list
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 meilisearch.