Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review database failure model design+implementation (exceptions, failure mode, transaction) #510

Closed
fredhersch opened this issue May 28, 2021 · 1 comment · Fixed by #599
Assignees
Labels
type:enhancement New feature or request
Milestone

Comments

@fredhersch
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Current implementation needs to be reviewed. Related to this discussion #482 (comment)

Describe the solution you'd like

  • Review current design and implementation
  • Review existing thread
  • Make any necessary outstanding changes
  • Identify any additional requirements and prioritise on roadmap
@deepankarb
Copy link
Contributor

Inputs from some senior devs @ Google:

DatabaseImpl.kt LGTM. That being said I'm not a Room expert, but DatabaseImpl doesn't seem to be doing anything esoteric. The one question I have is how are the indexes handled.

FhirSynchronizer.kt LGTM too. The only thing that pops up is that It downloads resource types sequentially (line47) , which could potentially be done concurrently, but if not in any critical path it's perfectly fine that way.

Opened #574 for second item.

deepankarb added a commit that referenced this issue Jun 28, 2021
* Removed unused exceptions
* Refactored ResourceNotFoundException and removed redundant copy
@deepankarb deepankarb mentioned this issue Jun 28, 2021
8 tasks
deepankarb added a commit that referenced this issue Jun 28, 2021
* Removed unused exceptions
* Refactored ResourceNotFoundException and removed redundant copy
FHIR engine library automation moved this from To do to Done Jun 28, 2021
deepankarb added a commit that referenced this issue Jun 28, 2021
* Removed unused exceptions
* Refactored ResourceNotFoundException and removed redundant copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants