Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 645
    • Issues 645
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !885

Atomic update for note count and follower count

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eugenij requested to merge eugenijm/pleroma:atomic-note-count-updates into develop Mar 03, 2019
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

On note count / follower count updates, a process first reads user.into into the app's memory, updates the counter and then persists the result to the database, meaning if another process persisted anything to user.info in the meantime, its data would be overwritten.

Edited Mar 03, 2019 by Eugenij
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: atomic-note-count-updates