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

Concurrent reads and writes causes "BATproject2: does not match always" error #7273

Closed
nuno-faria opened this issue Mar 21, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@nuno-faria
Copy link
Contributor

Describe the bug
When executing concurrent reads and writes, particularly if the read query is large, the client returns the following error: GDK reported error: BATproject2: does not match always\nBATproject2: does not match always

This only seems to happen when the writes are updates or deletes.

Here is the log output:

DFLOWworker1018: BATproject2: !ERROR: does not match always
DFLOWworker1018: BATproject2: !ERROR: does not match always
DFLOWworker1018: createExceptionInternal: !ERROR: SQLException:sql.bind:GDK reported error: BATproject2: does not match always
DFLOWworker1018: createExceptionInternal: !ERROR: !ERROR: BATproject2: does not match always

To Reproduce
The following gist can be used to reproduce the error. In it, there are two clients, one executes writes over a simple table (k int, v int), while the other executes the query below:

SELECT k, sum(v)
FROM Test
GROUP BY k
ORDER BY sum(v) DESC

Software versions

  • MonetDB master branch (most recent commit)
  • Ubuntu 20.04 LTS
  • Self-installed and compiled
@aris-koning
Copy link
Member

aris-koning commented Mar 22, 2022

Telepathy: we're already working on (hopefully) the same bug since last week. Fix is on the way. Thanks for reporting!

@PedroTadim PedroTadim added the bug Something isn't working label Mar 30, 2022
@PedroTadim PedroTadim added this to the NEXTFEATURERELEASE milestone Mar 30, 2022
@PedroTadim
Copy link
Contributor

The fix should be on default branch. Please test it.

@nuno-faria
Copy link
Contributor Author

I cannot replicate the error anymore. Thank you all for looking into it.

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

4 participants