Monorepo for Tangled tangled.org

appview: upsert star/reaction/follow records #998

open opened by boltless.me targeting master from sl/sqkrqopzkvoo

Most service flow will be:

  1. start db transaction
  2. run db operation
  3. run PDS operation
  4. rollback db if anything above failed
  5. commit transaction

If PDS operation succeed, don't try rollback anymore. The ingester will backfill the missed db operations.

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mcsfwwhtvl22
Interdiff #0 #1
appview/db/follow.go

This file has not been changed.

appview/db/reaction.go

This file has not been changed.

appview/db/star.go

This file has not been changed.

appview/ingester.go

This file has not been changed.

appview/models/follow.go

This file has not been changed.

appview/models/reaction.go

This file has not been changed.

appview/models/star.go

This file has not been changed.

appview/state/follow.go

This file has not been changed.

appview/state/reaction.go

This file has not been changed.

appview/state/star.go

This file has not been changed.

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview: upsert star/reaction/follow records
2/3 failed, 1/3 success
expand
merge conflicts detected
expand
  • appview/pages/markup/markdown.go:47
  • appview/pages/pages.go:57
  • appview/validator/label.go:1
expand 0 comments
1 commit
expand
appview: upsert star/reaction/follow records
3/3 success
expand
expand 0 comments