summaryrefslogtreecommitdiff
path: root/src/database-redis.cpp
Commit message (Collapse)AuthorAge
* database-redis: Support password authenticationsfan52017-03-11
|
* Add support for unix socket connection to redis (#5179)Travis Burtrum2017-02-06
|
* Implement DatabaseException for databasesnerzhul2016-05-17
|
* DB::loadBlock copy removal & DB backend cleanupLoic Blot2016-05-17
| | | | | * Remove the copy from db::loadBlock by using a pointer to the destination * cleanup db backend, the child backend doesn't have to set their functions as virtual
* Fix redis error reportingest312016-01-08
| | | | | | | | | | Previously, we assumed that reply->str was NULL terminated. However, this turned out to be not true, as users reported crashes in strlen connected to where reply->str was appended to an std::string. Use the method recomended by the docs, to read the length separately.
* Database backends: fix bug, and small speedupest312015-12-29
| | | | | -> Redis backend: break from switch to fix bug -> Dummy and redis backends: reserve the count so that creating the list is faster
* Use warningstream for log messages with WARNINGShadowNinja2015-10-14
| | | | Remove DTIME macro and its uses, too
* 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