aboutsummaryrefslogtreecommitdiff
path: root/src/database-redis.cpp
Commit message (Collapse)AuthorAge
* Fix redis erroring on non found blocksest312015-09-26
| | | | | | | | | | Thanks to @netinetwalker for spotting the error, proposing a fix, and testing it. Error due to @est31's merging changes to PR #3202 to add more error reporting for invalid reply types, commit: 524a7656e3e5cd671b05c13e2ad69cb84bad0423 "redis: throw error if block request failed" Now we branch out on the valid reply type "not found".
* redis: throw error if block request failednetinetwalker2015-09-26
| | | | | | Fixes #3196. Before, we didn't throw an error, and the engine thought the block isn't occupied. But in fact it might be that redis is still loading, and the block does exist in the database. The result was a cheesy map.
* Improve Redis error messagesShadowNinja2015-05-06
|
* Clean up database API and save the local map on an intervalShadowNinja2015-03-06
|
* Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot2015-02-17
| | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
* Add ability to delete MapBlocks from mapkwolekr2015-01-15
| | | | Also add a Lua API and chatcommand for this
* Fix build with redisShadowNinja2014-09-21
| | | | | Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379 because database-redis.h depended on settings.h to include filesys.h.
* Move MapBlock (de)serializing code out of Database classsfan52014-07-12
|
* Don't unload blocks if save failedkwolekr2014-07-07
| | | | Improve error handling in saveBlock()
* Fix memory leak in redis backend, fixes #1325sfan52014-05-23
|
* Add redis database backendSfan52014-04-16