Commit Graph

38 Commits (5f99dad48290f3f55d86d3d11ca051e8a0a3165f)

Author SHA1 Message Date
ansuz b8a7defad9 lint compliance
ansuz 4a29d9df00 implement admin GET_USER_TOTAL_SIZE call
ansuz 4c7f7e271e remove an XXX note, log when restoring docs by admin rpc
ansuz d0df2f5840 log when archiving content via the admin panel
ansuz 820f2a0054 Merge branch 'soon' into staging
ansuz 93d56e5e3d profile worker commands by total running time in seconds
yflory bd4b44476d Archive and restore UI in the admin panel
ansuz fbc9edd795 rename latest admin commands and implement metadata getter/remover
ansuz 488ec93ece allow expert admins to get and clear cached channel indices
ansuz faa7ebf399 Fix some bugs with integrated eviction
1. implement SET_LAST_EVICTION as an admin command, not a decree
2. expect a return value from Env.evictInactive and expose it via Env.evictionReport
ansuz a2c0d2165b implement a few more admin decrees
ansuz abd84665ae lint compliance
ansuz 6ec5171518 add support for changing a few more Env parameters at runtime
ansuz f2ec9cbe33 load premium and customLimits to avoid evicting them even if inactive
ansuz 854e4c06ff report lastEviction in an admin INSTANCE_STATUS
ansuz b5d3a10dc2 guard against possible typeErrors from unvalidated config input
ansuz aa35e092f7 update an inaccurate comment
ansuz 928b7e3583 implement GET_LIMITS admin rpc
...and label stored usage limits according to their source
ansuz b62d4387a6 drop support for SET_DEFAULT_STORAGE_LIMIT
it's redundant now that we support persistent admin decrees
and it was never exposed via the UI anyway
ansuz bd6234c5bc lint compliance and some notes
ansuz 1781ee2585 implement 'UPDATE_DEFAULT_STORAGE' as a decree
ansuz 7aa7d5978f implement persistence of config changes from admin panel
ansuz d9219f4ecc add a note for later
ansuz 5749b6fd7b add an admin RPC to archive documents
ansuz 9ed26cfeb0 lint compliance
ansuz 74567e0cf4 return process memory usage in GET CACHE STATS RPC
ansuz e6ec891d9a improve admin rpc for diagnosing memory used by the cache
ansuz 6d0dee979a allow admins to inspect index/metadata caches
ansuz b2fcde87d8 implement an admin command to update the default storage limit without a restart
ansuz 2d47e7e2cf implement an admin rpc to fetch ulimit data
ansuz f644c24362 add an admin-rpc to count the number of open files
ansuz c26560e3f9 commit stashed admin-rpc refactor
ansuz 7f22da0f57 fix use of incorrect key format in admin-rpc
ansuz bde17a62a1 continue refactoring rpc
ansuz 43307ffb1a define all server intervals in a map so we can easily clear them all
ansuz 779e817443 stop relying on netflux-server internals
* create RPC module from inside historyKeeper
* stop passing around netflux-server context
  * update to use newer netflux-server's formal APIs
* manage your own cache of indexes instead of storing things in the netflux context
ansuz b093d3f0d2 WIP massive rpc refactor
ansuz ba6e3f33bd move admin commands into their own module