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

Fix missing record limit check in distributed data models (DDMs) #124

Open
asishallab opened this issue May 15, 2020 · 0 comments
Open

Fix missing record limit check in distributed data models (DDMs) #124

asishallab opened this issue May 15, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@asishallab
Copy link
Member

The record limit a user is not allowed to exceed with a query is a Cenzontle server (installation) specific parameter. It enables the system administrator to reflect in the Cenzontle server setup hardware limitations that may greatly vary between servers. Imagine a high performance computer (HC) being connected with a Raspberry Pi (RP). The HC may have 10 TB memory while the RP hardly has half a GB to spare.

Thus it is not sufficient to have the record limit being checked on remote servers only. The RP might send a query to the HC which is fine with returning 100 k records that blow up the memory of the RP. Thus the RP needs to ask the HC ahead how many records will be delivered, and reject the query if it exceeds the RP record limit of e.g. 1000.

Re-introduce the record limit into DDM resolvers analog to non-DDM resolvers.

@asishallab asishallab added the bug Something isn't working label May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants