-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement(stmt): refactoring statement genration
Statement generation currently does not work as intended, gemini generates values for primary and clustering keys, that are completply invalid. The are not just off by value, but also off by type, e.g. generates `text` for `timeuuid`. This is the first step in resolving this issue, by refactoring how, when and where statements are generated. Signed-off-by: Dusan Malusev <[email protected]>
- Loading branch information
1 parent
52907d7
commit 68d7220
Showing
34 changed files
with
792 additions
and
607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Run Gemini" type="GoApplicationRunConfiguration" factoryName="Go Application"> | ||
<module name="gemini" /> | ||
<working_directory value="$PROJECT_DIR$" /> | ||
<go_parameters value="-ldflags="-asan" -gcflags "all=-N -l"" /> | ||
<parameters value="--dataset-size=small 		--cql-features all 		--duration 2m 		--drop-schema true 		--fail-fast 		--level info 		--non-interactive 		--materialized-views false 		--outfile ./results/gemini.log 		--test-statement-log-file ./results/gemini_test_statements.log 		--oracle-statement-log-file ./results/gemini_oracle_statements.log 		--test-host-selection-policy token-aware 		--oracle-host-selection-policy token-aware 		--test-cluster=192.168.100.2 		--oracle-cluster=192.168.100.3 		--outfile ./results/gemini_result.log 		--mode mixed 		--non-interactive 		--request-timeout 180s 		--connect-timeout 120s 		--use-server-timestamps false 		--async-objects-stabilization-attempts 10 		--async-objects-stabilization-backoff 100ms 		--replication-strategy "{'class': 'NetworkTopologyStrategy', 'replication_factor': '1'}" 		--oracle-replication-strategy "{'class': 'NetworkTopologyStrategy', 'replication_factor': '1'}" 		--max-mutation-retries 5 		--max-mutation-retries-backoff 1000ms 		--concurrency 1 		--tracing-outfile ./results/gemini_tracing.log" /> | ||
<kind value="PACKAGE" /> | ||
<package value="github.com/scylladb/gemini/cmd/gemini" /> | ||
<directory value="$PROJECT_DIR$" /> | ||
<filePath value="$PROJECT_DIR$/cmd/gemini/main.go" /> | ||
<output_directory value="bin/" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.