Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

[TRAFODION-2346] ODB copy incorrect rows when using rowset and parallel #1121

Merged
merged 1 commit into from Jun 20, 2017

Conversation

Weixin-Xu
Copy link
Contributor

fix jira TRAFODION-2346 and TRAFODION-2373 bug as follows:
When using parallel, max rows/ parallel will cause rows cutting because of divisibility.
When using rowset, per thread rows/rowset will cause one more round contained the same rowset.
For example, rows = 5000 ,max = 500000 ,parallel = 6 :
per thread rows(size_t) = max rows / parallel = 500000 / 6 = 83333
round = per thread rows / rowset = 83333 / 5000 = 16 (actually do one more round)
Finally , 5000 * 17 * 6 = 510000 rows will be load and copy

@Traf-Jenkins
Copy link

Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/1849/

@Traf-Jenkins
Copy link

@Weixin-Xu
Copy link
Contributor Author

jenkins, retest

@Traf-Jenkins
Copy link

New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/1850/

@Traf-Jenkins
Copy link

@sureshsubbiah
Copy link
Contributor

+1

1 similar comment
@ghost
Copy link

ghost commented Jun 17, 2017

+1

@asfgit asfgit merged commit 0abe062 into apache:master Jun 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants