• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typos

  1. … 28 more files in changeset.
whitespace changes

Don't hard-code the SiteNodeCache sizes in the library file and bump version number

Backport from HEAD

  1. … 1 more file in changeset.
Don't hard-code the SiteNodeCache sizes in the library file,

but allow configuration via the config-file.

Example:

#

# Provide tailored sizes for the site node cache in acs-tcl:

#

ns_section ns/server/${server}/acs/acs-tcl

ns_param SiteNodesCacheSize 2000000

ns_param SiteNodesIdCacheSize 100000

ns_param SiteNodesChildenCacheSize 100000

#

Fix more typos

  1. … 11 more files in changeset.
- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

  1. … 4 more files in changeset.
Improve scalability of site-node caches

Some sites have site-node caches with more than 200k site-node entries.

Wild card operations for flushing in these caches can take a while (2-digit ms),

locks on the site-node cache can lock everything. This change separates

the caches with wild-card operations from the parts not requiring these.

improving vor sample data the scalability at least by a factor of 4.

Fix typo (non-commented testing line)

Perform less aggressive cache flushing

Furthermore, allow ns_cache_flush in xo::clusterwide

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix typo

Flush cache also for ancestors of nodes when mounting a package

- Tcl idioms: simplify access to last character

  1. … 3 more files in changeset.
Removed leftover statement

Keep old proc behavior regarding deletion of the package so we don't break any previous code

  1. … 1 more file in changeset.
Use lreverse instead of inverting the list manually

Use better idiom to concatenate subnodes

- remove trailing white-space

Allow to delete node_ids having subnodes. This simply triggers unmount and delete

of site node, package instances and all its tree structure as one could do manually,

but packages themself are still responsible to "clean their own mess".

  1. … 1 more file in changeset.
- add warning in case site_node::get_node_id_from_object_id returns first of many urls

- make return explicit

- make test working as well for newer versions of nsf

- add per-request caching of site-node properties

- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

  1. … 13 more files in changeset.
- remove error message from bootstrap installer about missing table "apm_package_versions"

- improve indentation

- don't rely on catch when creating cache

- increase robsutness of apm_package_installed_p_not_cached

- make ad_unquote capable to unquote ns_qutehtml

- fix test cases

  1. … 4 more files in changeset.
- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- use apm_package_installed_p to guard dependent code