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

[DocDB] Observed Inconsistent sum of balance during bank workload with Parallel Queries #25484

Closed
1 task done
archit-rastogi opened this issue Jan 3, 2025 · 2 comments
Closed
1 task done
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@archit-rastogi
Copy link

archit-rastogi commented Jan 3, 2025

Jira Link: DB-14743

Description

Steps to reproduce:

  1. Create universe and enable parallel query via gflags
  2. Run sql bank sampe app workload with Read committed txn.
  3. Periodically run analyze tables
  4. Do random flush and compaction
  5. Validate sum of balance with PQ

https://stress.dev.yugabyte.com/stress_test/ecc501da-1476-457b-8219-3562fc9c1e80

Downloads/archive/workload/172.151.19.81/workload-2a4c4a-SqlBankLargeValues.20241215123042.log
334283:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexScan,  WHERE id >= 0
334322:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan,  WHERE id >= 0
334374:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0
334594:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan,  WHERE id >= 0
334683:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan, 
334688:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan,  WHERE id >= 0
334693:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan, 
334698:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan,  WHERE id >= 0
334724:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan, 
334771:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0
334839:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0
334866:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0
334892:java.lang.AssertionError: Expected 100000000 - actual 99998997, SeqScan, 
334897:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan, 
334902:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0
334907:java.lang.AssertionError: Expected 100000000 - actual 99998997, IndexOnlyScan,  WHERE id >= 0

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@archit-rastogi archit-rastogi added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Jan 3, 2025
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jan 3, 2025
@rthallamko3 rthallamko3 added area/ysql Yugabyte SQL (YSQL) and removed area/docdb YugabyteDB core features labels Jan 3, 2025
@rthallamko3 rthallamko3 changed the title [DocDB] Observed Inconsistent sum of balance during bank workload with PQ [DocDB] Observed Inconsistent sum of balance during bank workload with Parallel Queries Jan 3, 2025
@sushantrmishra sushantrmishra removed the status/awaiting-triage Issue awaiting triage label Jan 3, 2025
@archit-rastogi
Copy link
Author

Investigating the logic in sample app used to run above test.

@archit-rastogi
Copy link
Author

The issue was caused to logic error in sample app being used for testing. Hence closing the issue.
cc: @sushantrmishra @rthallamko3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

5 participants