Commits on Aug 23, 2016
  1. @bsimpson63
  2. @bsimpson63

    zookeeper: Add ReducedLiveList and IPNetworkLiveList

    These classes are like LiveList (and use LiveList internally) but
    they also store and watch a copy of the reduced data. This is useful
    for cases where the map/reduce phase is slow and CPU intensive.
    By storing the reduced data separately the map/reduce only needs
    to be done by the process that's updating the list. All other processes
    watch the reduced data node.
    bsimpson63 committed Jul 25, 2016
Commits on Aug 17, 2016
  1. @bsimpson63
  2. @bsimpson63
Commits on Aug 16, 2016
  1. @bsimpson63
  2. @bsimpson63

    memoize: Stop writing to old key/old pool

    NOTE: we were using the old key to get a lock on updating the
    memoized result, but will now use the new key to get the lock. This
    means that during the deploy we can have multiple processes updating
    the memoized result. This is inefficient but should be fine.
    bsimpson63 committed Aug 15, 2016
  3. @bsimpson63
  4. @bsimpson63
  5. @bsimpson63
  6. @bsimpson63

    tests: Patch memoizecache

    bsimpson63 committed Aug 15, 2016
  7. @bsimpson63

    memoize: Dual write to new mcrouter pool

    Reads are served from the old key and pool. Writes go to both the
    old key/old pool and the new key/new pool.
    bsimpson63 committed Aug 15, 2016
  8. @bsimpson63
  9. @bsimpson63

    RegistrationInfo: Use stalecache for memoized html chunk

    The note on the registration page is stored in the wiki and is fronted
    by memoizecache because it is loaded very frequently (it's on the login
    page). Stale the cache lookup to reduce the number of requests that
    fall through to memoizecache. It's currently requested ~1600/s.
    bsimpson63 committed Aug 15, 2016
Commits on Aug 11, 2016
  1. @bsimpson63

    CommentTree.add_comments: Add orphaned comments to the tree

    Adding them to the tree doesn't hurt anything--they still won't be
    displayed until their parent comment is in the tree, but it does allow
    for easier cleanup in case comments get processed out of order. Once their
    parent is added to the tree everything will be consistent and fine.
    bsimpson63 committed Jul 25, 2016
  2. @bsimpson63
  3. @bsimpson63

    add_comments: Don't raise InconsistentCommentTreeError

    We don't handle the exception and fix the inconsistency, so it's better
    to just log the error and continue.
    bsimpson63 committed Jul 22, 2016
  4. @bsimpson63

    add_comments: Don't use mutation lock around write_comment_orders

    The CommentTree is updated first, then it is read within write_comment_orders.
    There's no issue of eventual consistency so the read will always get the
    most up to date version of the CommentTree.
    bsimpson63 committed Jul 22, 2016
  5. @bsimpson63
Commits on Aug 9, 2016
  1. @bsimpson63
  2. @bsimpson63

    Relation: Reduce _rel_cache_ttl to 1 hr

    _rel_cache is used to store (t1, t2, name) --> rel_id to make
    Relation._fast_query work without falling through to a postgres
    query. Reducing the TTL will let us recover from inconsistencies
    more quickly, but we'll have to watch to make sure the more frequent
    expirations don't put too much pressure on postgres.
    bsimpson63 committed Aug 9, 2016
  3. @bsimpson63

    Subreddit._by_name: Set 1 hour cache TTL

    In the case of cache outages the values in cache can become out of
    sync with reality. If a subreddit is created during an outage it will
    be impossible to access it with Subreddit._by_name until the cache is
    corrected. Setting a TTL will ensure this happens eventually.
    bsimpson63 committed Aug 9, 2016
Commits on Aug 4, 2016
  1. @zeantsoi

    Specify plugins to be installed by default on Vagrant builds

    Plugins must meet the following requirements in order to be installed
    on a Vagrant build:
    1. Be listed in `plugins` in the Vagrantfile
    2. Be cloned to the designated install directory
    3. Adhere to plugin naming conventions
    This applies to all open-source plugins.
    zeantsoi committed Jul 14, 2016
Commits on Aug 1, 2016
  1. @kjoconnor
Commits on Jul 28, 2016
  1. @KeyserSosa
  2. @bsimpson63
  3. @rram

    Revert "commentstree_q: Add a min size for fastlane."

    This reverts commit 32dece6.
    I had an incorrect assumption that the number of updates to permacache
    significantly contributes to the instability we were having with cassandra.
    Other changes to comment tree processing have made cassandra more stable so
    all this does is slow down updates unnecessarily.
    rram committed Jul 26, 2016
  4. @rram

    tdb_sql: Remove redundant indexes.

    These indexes duplicate the primary key and just take up extra space and IOPS.
    rram committed Jul 26, 2016
  5. @KeyserSosa
  6. @KTAtkinson @KeyserSosa
  7. @KeyserSosa
  8. @spladug

    Install ZK on travis and wait for it to start

    This should fix Travis and occasional failures in Drone where ZK isn't
    present / wasn't started yet.
    spladug committed Jun 15, 2016
  9. @KeyserSosa
  10. @ethaksus @spladug

    Add CSS mask and mask-border properties

    Allow use of the mask property to allow raster-based masking of elements and borders.
    ethaksus committed with spladug Jun 18, 2016
  11. @KeyserSosa
  12. @KeyserSosa