You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You can also use the tool to migrate specific partition ranges using class option `--class datastax.astra.migrate.MigratePartitionsFromFile` as shown below
@@ -93,11 +97,23 @@ When running in above mode the tool assumes a `partitions.csv` file to be presen
93
97
```
94
98
This mode is specifically useful to processes a subset of partition-ranges that may have failed during a previous run.
95
99
100
+
# Perform large-field Guardrail violation checks
101
+
- The tool can be used to identify large fields from a table that may break you cluster guardrails (e.g. AstraDB has a 10MB limit for a single large field) `--class datastax.astra.migrate.Guardrail` as shown below
- Supports migration/validation of [Counter tables](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_using/useCountersConcept.html)
98
113
- Preserve [writetimes](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/cql_commands/cqlSelect.html#cqlSelect__retrieving-the-datetime-a-write-occurred-p) and [TTLs](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/cql_commands/cqlSelect.html#cqlSelect__ref-select-ttl-p)
99
114
- Supports migration/validation of advanced DataTypes ([Sets](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/refDataTypes.html#refDataTypes__set), [Lists](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/refDataTypes.html#refDataTypes__list), [Maps](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/refDataTypes.html#refDataTypes__map), [UDTs](https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/refDataTypes.html#refDataTypes__udt))
100
115
- Filter records from `Origin` using `writetimes` and/or CQL conditions and/or min/max token-range
116
+
- Perform guardrail checks (identify large fields)
101
117
- Supports adding `constants` as new columns on `Target`
102
118
- Fully containerized (Docker and K8s friendly)
103
119
- SSL Support (including custom cipher algorithms)
@@ -106,6 +122,9 @@ This mode is specifically useful to processes a subset of partition-ranges that
106
122
- Validate migration accuracy and performance using a smaller randomized data-set
107
123
- Supports adding custom fixed `writetime`
108
124
125
+
# Known Limitations
126
+
- This tool does not migrate `ttl` & `writetime` at the field-level (for optimization reasons). It instead finds the field with the highest `ttl` & the field with the highest `writetime` within an `origin` row and uses those values on the entire `target` row.
127
+
109
128
# Building Jar for local development
110
129
1. Clone this repo
111
130
2. Move to the repo folder `cd cassandra-data-migrator`
0 commit comments