aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make sure blockstore owner and block store state does not get out of sync ↵Dan Engelbrecht2022-05-081-26/+22
|/ | | | | | when fetching a chunk Move MarkAsDeleteOnClose() to IoBuffer(ExtendedCore) and set it on close, SetFileInformationByHandle sometimes fails if done in parallel with FileMapping
* handle that more than one block can be written to in parallelDan Engelbrecht2022-05-031-19/+20
|
* macos compilation fixDan Engelbrecht2022-05-031-1/+1
|
* switched back memory_order for m_TotalSize to relaxedDan Engelbrecht2022-05-021-6/+6
|
* Make sure we close all block files when dropping a cache bucketDan Engelbrecht2022-05-021-2/+1
|
* simplify lambda capturesDan Engelbrecht2022-05-021-29/+17
|
* Refactor WriteChunk to not need callbackDan Engelbrecht2022-05-021-26/+20
|
* removed redundant pragma packStefan Boberg2022-05-021-4/+1
|
* restore cg commentDan Engelbrecht2022-05-021-1/+2
|
* cleanupDan Engelbrecht2022-05-021-4/+4
|
* add back gc space reclaim callDan Engelbrecht2022-05-021-1/+2
|
* use std::vector<std::pair>> instead of mapDan Engelbrecht2022-05-021-20/+2
|
* refactor structured cache to use blockstore migrateDan Engelbrecht2022-05-021-243/+66
|
* Move bulk of MigrateLegacyData to blockstore.cppDan Engelbrecht2022-05-021-1/+0
|
* respect Ctx.RunRecovery()Dan Engelbrecht2022-05-011-0/+5
|
* remove m_TotalSize for blockstoreDan Engelbrecht2022-05-011-9/+12
| | | | fix scrub logic in structured cache store
* collectgarbage for compactcas and structured cache uses shared implementationDan Engelbrecht2022-05-012-475/+165
|
* Merge remote-tracking branch 'origin/main' into de/cache-with-block-storeDan Engelbrecht2022-04-291-1/+1
|\
| * mac compilation fixDan Engelbrecht2022-04-291-1/+1
| |
* | Merge remote-tracking branch 'origin/main' into de/cache-with-block-storeDan Engelbrecht2022-04-282-48/+101
|\|
| * Merge remote-tracking branch 'origin/main' into ↵Dan Engelbrecht2022-04-271-6/+4
| |\ | | | | | | | | | de/use-bulk-fetch-from-upstream-on-getcachevalues
| | * Batch log removal of Cid and take proper lock when modifying m_CidMap (#80)v1.0.0.4Dan Engelbrecht2022-04-261-4/+5
| | | | | | | | | | | | | | | | | | | | | * Batch log removal of Cid and take proper lock when modifying m_CidMap * variable name casing * Don't access m_Buckets without a lock
| * | trigger clang formatDan Engelbrecht2022-04-271-1/+1
| | |
| * | Use GetCacheValues when checking upstream to reduce number of calls to upstreamDan Engelbrecht2022-04-261-47/+101
| |/ | | | | | | Added some timing info to debug logs
* | Wait for work to complete rather than being picked upDan Engelbrecht2022-04-121-20/+29
| |
* | remove unneeded lock in threaded testDan Engelbrecht2022-04-121-13/+2
| |
* | Make sure we generate unique chunksDan Engelbrecht2022-04-121-5/+17
| |
* | Add z$.threadedinsert testDan Engelbrecht2022-04-121-87/+118
| |
* | correct expire vs contributeDan Engelbrecht2022-04-122-11/+12
| |
* | cleaner GatherReferencesDan Engelbrecht2022-04-122-36/+57
| |
* | structured cache with block storeDan Engelbrecht2022-04-122-259/+1811
|/
* always keep full log but read from index snapshot location if availableDan Engelbrecht2022-04-041-16/+18
|
* rename EMode to ModeDan Engelbrecht2022-04-011-6/+6
|
* linux compilation fixesDan Engelbrecht2022-04-011-1/+1
|
* linux fixesDan Engelbrecht2022-04-011-2/+2
|
* Don hard fail on removing files we no longer care aboutDan Engelbrecht2022-03-311-1/+2
|
* improved logging for gc/migrationDan Engelbrecht2022-03-311-1/+12
|
* Migration now works in larger disk IO chunksDan Engelbrecht2022-03-311-6/+6
| | | | BasicFile and CasLogFile now has new explicit modes instead of create true/false
* Retain flags for small objects in structured cache (#68)Dan Engelbrecht2022-03-302-2/+3
|
* Merge pull request #67 from EpicGames/de/cache-lock-fixesDan Engelbrecht2022-03-301-6/+11
|\ | | | | de/cache lock fixes
| * cleanupDan Engelbrecht2022-03-301-7/+4
| |
| * Fix bucket creation race condition in ZenCacheMemoryLayer::PutDan Engelbrecht2022-03-301-1/+9
| |
| * No need to take exclusive lock while gathering referencesDan Engelbrecht2022-03-301-1/+1
| |
* | Clear gathered Cid array periodically and add just the new onesDan Engelbrecht2022-03-291-3/+6
|/
* Value propagation fix - Read/Write ValueAPI as CompressedBinary type when ↵mattpetersepic2022-02-181-27/+44
| | | | | | writing to zen and horde upstreams. Return failure from HandleGetCacheRecord if the requested type does not match the cachetype. (#55) * Fix bug with getting values PUT to Jupiter as CompressedBinary. When getting CompressedBinary records from Jupiter, they are expected to now be a record with a reference to the compact binary. This has to be accounted for when performing upstream GETs. * HandleGetCacheRecord: avoid crashing on invalid type, and avoid sending back data that doesn't match the AcceptType.
* Fixed "Record* Record;" non-conformant compile errors from GCCMartin Ridgers2022-02-112-13/+13
|
* Merge pull request #52 from EpicGames/ValuePropagationFixzousar2022-02-091-1/+1
|\ | | | | Change Value propagation to Zen or Jupiter
| * Change Value propagation to Zen or Jupiterzousar2022-02-081-1/+1
| | | | | | | | This change ensures we retain the right content type of kCompressedBinary when propagating values from Zen->UpstreamZen. This is done via an RPC that posts a CbPackage. Furthermore when propagating from Zen->Jupiter, it composes its own referencing CbObject for them instead of sending a octet content type and Jupiter defining the referencing CbObject. When fetching Values from Jupiter, this new composed CbObject is still interpreted correctly by Zen.
* | Simplify HandleRpcGetCacheChunks (#53)mattpetersepic2022-02-092-270/+319
| | | | | | Refactor HandleRpcGetCacheChunks to reduce complexity. Port CacheStore tests from Unreal.
* | Remove the backwards compatibility for the Zen CachePolicy changes no… (#49)mattpetersepic2022-02-082-234/+45
|/ | | Remove the backwards compatibility for the Zen CachePolicy changes now that there has been enough time for all internal users of the old protocol to update.