[jira] [Commented] (CASSANDRA-13269) Snapshot support for custom secondary indices

2017-05-22 Thread vincent royer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16020162#comment-16020162
 ] 

vincent royer commented on CASSANDRA-13269:
---

Close CASSANDRA-13499 and update the provided patch to the bare minimum changes 
to support 2i snapshots.

> Snapshot support for custom secondary indices
> -
>
> Key: CASSANDRA-13269
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13269
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Core
>Reporter: vincent royer
>Priority: Trivial
>  Labels: features
> Fix For: 3.0.x, 3.11.x
>
> Attachments: 0001-CASSANDRA-13269-custom-indices-snapshot.patch, 
> 0001-CASSANDRA-13269-Snapshot-support-for-custom-secondar.patch
>
>
> Enhance the index API to support snapshot of custom secondary indices.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-13269) Snapshot support for custom secondary indices

2017-05-07 Thread vincent royer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1501#comment-1501
 ] 

vincent royer commented on CASSANDRA-13269:
---

Yes, i think it's up to the 2i provider to deal with custom tests and remove 
snapshots not stored in the same directory as table snapshots. 

The last attached patch include the following changes as suggested : 
* Add a default implementation of Index.getSnapshotWithoutFlushTask returning 
null.
* Removed the change about the set of indexes (out of scope).
* Verify code style.




> Snapshot support for custom secondary indices
> -
>
> Key: CASSANDRA-13269
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13269
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Core
>Reporter: vincent royer
>Priority: Trivial
>  Labels: features
> Fix For: 3.0.x, 3.11.x
>
> Attachments: 0001-CASSANDRA-13269-custom-indices-snapshot.patch, 
> 0006-CASSANDRA-13269-Snapshot-support-for-custom-secondar.patch
>
>
> Enhance the index API to support snapshot of custom secondary indices.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-13269) Snapshot support for custom secondary indices

2017-02-28 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15888103#comment-15888103
 ] 

Andrés de la Peña commented on CASSANDRA-13269:
---

Adding support for snapshots in secondary indexes seems to me an useful 
feature. I guess that the idea is that index snapshots would be cleared via 
{{nodetool clearsnapshot}} only if the index implementation stores them in the 
same directories where the base table snapshots are stored, isn't it?

Regarding the implementation:

- A default implementation of {{Index.getSnapshotWithoutFlushTask}} returning 
null (or maybe Optional.empty()) would make it backwards compatible with 
existing implementations, as it was done with {{Index.validate(ReadCommand)}}.
- I think that the addition of the set of indexes in {{SecondaryIndexManager}} 
is probably out of the scope of this ticket and could have its own ticket, 
don't you think so?
- It would be useful to add some tests. {{CustomIndexTest}} seems a good place 
to place them.
- {{StubIndex.getSnapshotWithoutFlushTask}} has an autogenerated implementation 
with a TODO comment about it.
- Braces placement doesn't satisfy the [code 
style|https://wiki.apache.org/cassandra/CodeStyle].

[~jjirsa], maybe someone more familiarised with ColumnFamilyStore and 
snapshots, and with access to the CI system, should take a look at it.

> Snapshot support for custom secondary indices
> -
>
> Key: CASSANDRA-13269
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13269
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Core
>Reporter: vincent royer
>Priority: Trivial
>  Labels: features
> Fix For: 3.0.12, 3.11.0
>
> Attachments: 0001-CASSANDRA-13269-custom-indices-snapshot.patch
>
>
> Enhance the index API to support snapshot of custom secondary indices.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CASSANDRA-13269) Snapshot support for custom secondary indices

2017-02-25 Thread Jeff Jirsa (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15884575#comment-15884575
 ] 

Jeff Jirsa commented on CASSANDRA-13269:


Any of you other custom-secondary-index folks ( [~jjordan] / [~iamaleksey] , or 
[~adelapena] ) eager to review? 


> Snapshot support for custom secondary indices
> -
>
> Key: CASSANDRA-13269
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13269
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Core
>Reporter: vincent royer
>Priority: Trivial
>  Labels: features
> Fix For: 3.0.12, 3.11.0
>
> Attachments: 0001-CASSANDRA-13269-custom-indices-snapshot.patch
>
>
> Enhance the index API to support snapshot of custom secondary indices.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)