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

Optimize findById for partitioned database #221

Closed
1 task
jannyHou opened this issue Oct 8, 2019 · 4 comments
Closed
1 task

Optimize findById for partitioned database #221

jannyHou opened this issue Oct 8, 2019 · 4 comments
Labels

Comments

@jannyHou
Copy link
Contributor

jannyHou commented Oct 8, 2019

See parent story #214

Acceptance Criteria

  • For findById, to support query in a partitioned database, connector should parse the provided id: if it's in pattern partitonKey: id, then invoke db.partitionedFind()

use case 1

findById('fdb2ff86-78c1-47bb-bc63-f239db06c578')

  • invokes db.find()
    • partitioned db will reject the request
    • still a valid case for non-partitioned db

use case 2

findById('USA: fdb2ff86-78c1-47bb-bc63-f239db06c578')

  • invokes partitionedFind()
@stale
Copy link

stale bot commented Dec 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 7, 2019
@stale
Copy link

stale bot commented Dec 21, 2019

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Dec 21, 2019
@jannyHou jannyHou removed the stale label Jan 21, 2020
@jannyHou jannyHou reopened this Jan 21, 2020
@stale
Copy link

stale bot commented Mar 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 21, 2020
@stale
Copy link

stale bot commented Apr 4, 2020

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant