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 25, 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 25, 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
Commits on Jul 27, 2016
  1. @Deimos

    Link.affects_karma_type: remove is_promoted_post

    This check is related to the code for the upcoming "User Promoted Posts"
    (see, which hasn't been open-sourced yet. So
    this attr doesn't exist yet, and isn't working. This should be removed
    for now but can be added back in when the rest of the code is
    Deimos committed Jul 27, 2016
Commits on Jul 26, 2016
  1. @MelissaCole
  2. @MelissaCole
  3. @13steinj @MelissaCole

    Flairlist.html: fix improper usage of utils.html:error_field

    GET_flairlisting sets `USER_DOESNT_EXIST` error if the chosen user is nonexistent, however it's not rendering due to FlairPane checking for a `('USER_DOESNT_EXIST', 'name')` error by mistake. This commit resolves the issue.
    13steinj committed with MelissaCole Jul 12, 2016
Commits on Jul 22, 2016
  1. @bsimpson63

    add_comments: Don't exit immediately on InconsistentCommentTreeError

    add_comments is the consumer for commentstree_q and processed batches of
    comments from multiple links. Previously on encountering an
    InconsistentCommentTreeError we would return immediately and not process
    the rest of the comments in the batch. This created additional inconsistent
    bsimpson63 committed Jul 22, 2016
Commits on Jul 19, 2016
  1. @Deimos

    Account: Add ability to disable karma (manually)

    This will allow us to disable tracking karma for certain accounts
    (specifically AutoModerator) to prevent the size of their Account
    object from ballooning due to a huge number of karma attributes.
    Deimos committed Mar 29, 2016
  2. @Deimos

    Relabel "link karma" as "post karma"

    This changes "link karma" to "post karma" in user-visible places:
    * The sidebar on user profile pages
    * The tooltip for hovering over the number in the header
    * The check name in AutoModerator (but adds an alias for "link_karma" so
      old rules will continue to work)
    Deimos committed Jul 15, 2016
  3. @Deimos

    Self posts: start giving karma

    This commit starts giving and tracking karma for self-posts as well as
    link posts. The karma is stored separately internally, but displayed and
    otherwise treated as part of link karma. This will allow us to easily
    revert this change and go back to the original link-only karma values if
    Deimos committed Mar 17, 2016
  4. @bsimpson63

    Relation._fast_query: Ignore cache errors on sgm set

    These sets are just used to populate the cache after a miss so they can
    be ignored.
    bsimpson63 committed Jul 18, 2016
Commits on Jul 18, 2016
  1. @bsimpson63
  2. @bsimpson63
  3. @bsimpson63
  4. @bsimpson63
  5. @bsimpson63
  6. @bsimpson63
  7. @bsimpson63

    Trophy: Disable _fast_query

    Trophy._fast_query is never used, and Trophy overrides the "name"
    property so _fast_query wouldn't work if it were used. Also the "name"
    is set to the string representation of the creation time so it contains
    whitespace characters which are not allowed in cache keys.
    bsimpson63 committed Jul 14, 2016
  8. @bsimpson63

    Relation: Allow optional disabling of _fast_query

    Some relations are never queried this way so it's a waste to set the
    cache values for them.
    bsimpson63 committed Jul 14, 2016
  9. @bsimpson63
  10. @yoshokatana @umbrae
Commits on Jul 15, 2016
  1. @bsimpson63

    Subreddit._by_name: Use set rather than add when populating cache

    We cache a sentinal value for when the subreddit doesn't exist. Doing
    an add won't overwrite that existing value when the subreddit is created.
    bsimpson63 committed Jun 27, 2016
Commits on Jul 13, 2016
  1. @zeantsoi
  2. @bsimpson63

    CMemcache: Remove size validators

    The validators were extraneous because they were raising a custom
    exception when attempting to write a too-large value, but on its
    own memcached will give an error (pylibmc gives ServerError).
    bsimpson63 committed May 1, 2016
Commits on Jul 12, 2016
  1. @bsimpson63

    Use multiple clients for mcrouter

    Instead of using a pool with a single client, use a pool of
    `num_mc_clients` clients. This prevents exhausting the pool in
    concurrent setups, such as the default local install of reddit.
    bsimpson63 committed Jul 12, 2016