aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache
Commit message (Collapse)AuthorAgeFilesLines
* WIPDan Engelbrecht2022-06-132-8/+51
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-06-111-5/+7
|\
| * namespace/bucket validation now uses AsciiSet for more efficient validation ↵Stefan Boberg2022-06-101-5/+7
| | | | | | | | (#127)
* | fixed mac build ("unused" variable)Stefan Boberg2022-06-111-0/+2
|/
* Corrected some typos in log messagesStefan Boberg2022-06-081-3/+5
|
* Merge branch 'main' into de/add-log-for-invalid-namesDan Engelbrecht2022-06-081-2/+2
|\
| * Use m_BucketDir for cache key contextDan Engelbrecht2022-06-081-2/+2
| | | | | | | | Easier to debug and no conflicts
| * We need to make each Cache Key contribution per bucket unique even across ↵Dan Engelbrecht2022-06-071-2/+2
| | | | | | | | namespaces
* | add warnings on illegal namespace/bucket namesDan Engelbrecht2022-06-081-0/+5
|/
* Don't hold index lock while reading standalone valuesDan Engelbrecht2022-06-031-0/+2
| | | | Can cause deadlock
* hardening of ZenCacheDiskLayer::CacheBucket::PutStandaloneCacheValueDan Engelbrecht2022-06-031-13/+36
|
* add comment about removing filesDan Engelbrecht2022-05-301-0/+1
|
* Enable FILE_SHARE_DELETE on standalone files in disk bucketsDan Engelbrecht2022-05-281-107/+77
| | | | | | | | This allows us to delete the file even if it is open for read. We do a delete, the rename since we are not allowed to do a rename-overwrite, only delete. As we have the shard lock for the file we want to replace we can safely do a delete+rename. In the rare case that we fail to rename the file into place the old data is lost. As this is a *cache* and it should be very rare this is OK.
* NameSpaceMap -> NamespaceMapDan Engelbrecht2022-05-251-2/+2
|
* bugfixes and test for namespace dropDan Engelbrecht2022-05-251-15/+92
|
* clean up namespace foldersDan Engelbrecht2022-05-251-36/+42
|
* namespace dropDan Engelbrecht2022-05-253-12/+38
|
* Make sure ZenCacheMemoryLayer handles dropped buckets correctly (just like ↵Dan Engelbrecht2022-05-252-36/+95
| | | | ZenCacheDiskLayer)
* dropIndex -> DropIndexDan Engelbrecht2022-05-251-3/+3
|
* If a bucket is in m_BucketMap it is OK, no need for separate flagDan Engelbrecht2022-05-252-59/+22
|
* drop bucket testDan Engelbrecht2022-05-241-0/+73
|
* Use rename/delete and keep pointer for dropped bucketsDan Engelbrecht2022-05-242-77/+129
|
* Make sure to hold exclusive lock over index and all shard locks.Dan Engelbrecht2022-05-241-1/+9
| | | | Clear index on drop.
* Merge pull request #102 from EpicGames/de/auto-create-namespacesDan Engelbrecht2022-05-242-20/+62
|\ | | | | Automatically create namespaces on requests (if enabled via configuration)
| * Automatically create namespaces on requests (if enabled via configuration)Dan Engelbrecht2022-05-202-20/+62
| |
* | De/fix namespace folder scanning (#103)Dan Engelbrecht2022-05-231-1/+1
|/
* fix mac compilation errorDan Engelbrecht2022-05-191-1/+1
|
* Merge pull request #99 from EpicGames/de/move-namespace-fieldDan Engelbrecht2022-05-194-112/+163
|\ | | | | Keep Namespace out of CacheKey and store it on request level
| * fix testsDan Engelbrecht2022-05-191-5/+5
| |
| * migrate legacy cache folders to ue4.ddc namespaceDan Engelbrecht2022-05-192-6/+21
| | | | | | | | | | map default namespace to at runtime ue4.ddc use a non-valid name for the default namespace so we avoid any collision or accidental creation of folder for that
| * Keep Namespace out of CacheKey and store it on request levelDan Engelbrecht2022-05-192-101/+137
| | | | | | | | | | RPC requests now has a Namespace field under Params instead of one Namespace per cache key Fall back to legacy upstream HTTP URI format if default namespace is requested
* | Fix and retry count and add an extra iteration to give more time for successDan Engelbrecht2022-05-191-5/+5
|/
* align bucket naming rules with UE code baseDan Engelbrecht2022-05-181-3/+4
|
* fix release build, misplaced namespace bracketsDan Engelbrecht2022-05-171-4/+0
|
* review feedbackDan Engelbrecht2022-05-162-32/+31
|
* drop api/v2 prefix for non-legacy requestsDan Engelbrecht2022-05-161-112/+172
|
* use ns_ prefix on disk onlyDan Engelbrecht2022-05-163-11/+8
|
* use "default" as the default namespaceDan Engelbrecht2022-05-162-16/+16
| | | | remove ns_ prefix for namespaces on disk and in requests
* Validate max length for namespace nameDan Engelbrecht2022-05-121-0/+4
|
* keep compatability for valid bucket namesDan Engelbrecht2022-05-121-1/+1
|
* Add validation to namespace names that follows Jupiters rules.Dan Engelbrecht2022-05-122-243/+209
| | | | | Add unified validation of Namespace, Bucket and Hash for rpc requests. cleanup
* Tests for HttpRequestParseRelativeUriDan Engelbrecht2022-05-124-32/+150
|
* Add support for /api/v2/ URI requests with namespace supportDan Engelbrecht2022-05-122-27/+155
|
* revert Bucket - Key parameter changeDan Engelbrecht2022-05-122-3/+2
|
* Add namespace testDan Engelbrecht2022-05-111-0/+53
|
* cleanupDan Engelbrecht2022-05-112-27/+27
|
* parameterize namespace for upstream (first hack)Dan Engelbrecht2022-05-112-90/+153
|
* Make sure we clean up temp file in all scenariosDan Engelbrecht2022-05-101-8/+20
|
* happy path should be minimal workDan Engelbrecht2022-05-091-23/+23
|
* make test run on more platformsDan Engelbrecht2022-05-091-7/+7
|