ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/tools/DataDistribution.java
Links to HEAD: (view) (annotate)
Sticky Revision:
(Current path doesn't exist after revision 950)
Sort logs by:
Revision 79 - (view) (annotate) - [select for diffs]
Modified Wed Apr 12 11:03:01 2006 UTC (13 years, 6 months ago) by duarte
File length: 27365 byte(s)
Diff to previous 75
Modified insertIdsToKeyMaster method. Now removing pk in table before inserting, then removing zeros and adding finally the pk back. At that point mysql should complain if there are duplicates
New methods to deal with key_master database actions. They belong in another class, but for the moment here.
- createNewKeyMasterTbl
- removePK
- addPK
- removeZeros
Revision 75 - (view) (annotate) - [select for diffs]
Modified Tue Apr 11 14:33:39 2006 UTC (13 years, 6 months ago) by duarte
File length: 24486 byte(s)
Diff to previous 73
In latest commit method insertIdsToKeyMaster wasn't yet complying with the new way of dealing with key
Now modified insertIdsToKeyMaster accordingly. Now we create a ClusterConnection object to call the createNewKeyMasterTable method.
Revision 73 - (view) (annotate) - [select for diffs]
Modified Tue Apr 11 10:42:54 2006 UTC (13 years, 6 months ago) by duarte
File length: 24738 byte(s)
Diff to previous 71
Got rid of keyColumn
Now key is directly the keyColumn name, e.g. key is asu_id not asu
This makes things less confusing and simpler.
We've done this following last commit of DataDistribution to also change the ways we deal with key/keyColumn.
Note that now the checkKeyCounts and checkDifferingKeys are using to get the keyTable name a ClusterConnection object and the new ClusterConnection method getTableOnNode
Revision 71 - (view) (annotate) - [select for diffs]
Modified Mon Apr 10 16:01:01 2006 UTC (13 years, 6 months ago) by duarte
File length: 24859 byte(s)
Diff to previous 70
New method getIdSetsFromNodes, equivalent to splitIdsIntoSets but rather a posteriori, when tables are already distributed in cluster's nodes
Modified method getAllIds4KeyAndTable, now taking host as parameter too, more general
Changed the comments a lot for all those 3 methods. There are many catches to be taken in account, the comments explain them quite well
Revision 70 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 14:49:02 2006 UTC (13 years, 6 months ago) by duarte
File length: 22964 byte(s)
Diff to previous 69
KEYMASTERDB had value for testing, change that back.
Revision 69 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 14:44:08 2006 UTC (13 years, 6 months ago) by duarte
File length: 22969 byte(s)
Diff to previous 68
Added method insertIdsToKeyMaster
Added call to the new insertIdsToKeyMaster in splitTableToCluster method
Revision 68 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 13:26:05 2006 UTC (13 years, 6 months ago) by duarte
File length: 21401 byte(s)
Diff to previous 66
Added another clusterExecuteQuery method to take a HashMap of queries rather than only one.
To be used in cases where the queries to be sent to nodes are different for each node (like in load/dump methods of this class)
Right now strictly serial must paralelize it as with the other clusterExecuteQuery
Revision 66 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 09:31:08 2006 UTC (13 years, 6 months ago) by duarte
File length: 20736 byte(s)
Diff to previous 65
Made MASTER final static variable also public. It is in use by other classes.
Revision 65 - (view) (annotate) - [select for diffs]
Added Fri Apr 7 09:26:03 2006 UTC (13 years, 6 months ago) by duarte
File length: 20729 byte(s)
Initial commit of DataDistribution.java into aglappe repository
Copied from repository scripts-jose rev 69
If want to have a look at previous history must do it from repository scripts-jose, there was no way of copying with history between different repositories

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a