View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002820 | SymmetricDS | Bug | public | 2016-09-22 09:30 | 2016-09-30 01:01 |
Reporter | wrygiel | Assigned To | mmichalek | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.8.3 | ||||
Target Version | 3.8.5 | Fixed in Version | 3.8.5 | ||
Summary | 0002820: Unclear meaning of dbcompare's --use-sym-config | ||||
Description | From dbcompare --help: --use-sym-config true|false. If true, sym_trigger, sym_transform, etc. will be consulted to build up the datamodel to compare. However, none of the following invokations work: dbcompare <args> --use-sym-config -> RuntimeException: includedTableNames not provided, includedTableNames must be provided when not comparing using SymmetricDS config. dbcompare <args> --use-sym-config true -> DbCompare - No source table found for table name true dbcompare <args> --use-sym-config=true -> DbCompare - No source table found for table name true | ||||
Tags | No tags attached. | ||||
|
Hello, Thanks for the feedback. --use-sym-config actually defaults to true, so I am not sure why you ran into that in the first place. The most basic usage of dbcompare would be like this, with both the source and target provided. This suggests to SymmetricDS to compare all tables that sync from corp-000 to store-001. -s target/engines/corp-000.properties -t target/engines/store-001.properties Can you let me know an example of the full set of args you are providing? |
|
> --use-sym-config actually defaults to true Oh, I was sure it's the opposite, thanks! > so I am not sure why you ran into that in the first place. I have just assumed that --use-sym-config is false by default. It is named "--use-sym-config", but - as I understand it - it actually does exactly the opposite: when I provide it, the scripts stops to use sym-config? I also got some error the first time I run dbcompare without it, but I don't remember exactly... I have upgraded to 3.8.4 since reporting this issue and now it works correctly (when I skip the "--use-sym-config" parameter). Thank you! |
|
Ah, you are correct. This is a bug. The command line is ignoring the true or false value on the --use-sym-config, which causes it to always change to false when --use-sym-config is specified. In 3.8.5, if --use-sym-config is NOT specified, it will default to true, otherwise it should respect a true or false value. Thanks for the feedback and I am glad it's working for you now. |
SymmetricDS: 3.8 04f89349 2016-09-22 17:16:01 Details Diff |
0002820: Unclear meaning of dbcompare's --use-sym-config |
Affected Issues 0002820 |
|
mod - symmetric-client/src/main/java/org/jumpmind/symmetric/DbCompareCommand.java | Diff File | ||
mod - symmetric-client/src/main/resources/symmetric-messages.properties | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-22 09:30 | wrygiel | New Issue | |
2016-09-22 16:06 | mmichalek | Note Added: 0000860 | |
2016-09-22 20:59 | wrygiel | Note Added: 0000861 | |
2016-09-22 21:12 | mmichalek | Note Added: 0000862 | |
2016-09-22 21:16 | mmichalek | Assigned To | => mmichalek |
2016-09-22 21:16 | mmichalek | Status | new => resolved |
2016-09-22 21:16 | mmichalek | Resolution | open => fixed |
2016-09-22 21:16 | mmichalek | Fixed in Version | => 3.8.5 |
2016-09-22 21:16 | mmichalek | Target Version | => 3.8.5 |
2016-09-22 22:00 | mmichalek | Changeset attached | => SymmetricDS 3.8 04f89349 |
2016-09-30 01:01 | admin | Status | resolved => closed |