[jira] [Comment Edited] (CASSANDRA-17048) Replace sequential sstable generation identifier with UUID v1

2022-02-10 Thread Jira


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

Andres de la Peña edited comment on CASSANDRA-17048 at 2/10/22, 11:59 AM:
--

Thanks, I'll take a look at the changes.

CI is having some issues due to the recent changes on CASSANDRA-15234 and CCM 
retagging. The workaround is pointing to a dtest repo with [a patched CCM 
requirement|https://github.com/adelapena/cassandra-dtest/blob/b68cd7572f1114b5146b0841d85634e99791aa30/requirements.txt#L12].
 I have run CI with this workaround, let's hope we have better luck this time:
||Branch||CI||
|[trunk|https://github.com/adelapena/cassandra/tree/17048-trunk-review]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1294/workflows/f26243ac-e63d-4e23-8aef-eee2cdc2d773]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1294/workflows/401848c7-a492-4e21-b612-293786f9948a]|

The CircleCI config has been generated with:
{code:java}
.circleci/generate.sh -m \
  -e REPEATED_UTEST_TARGET=test-jvm-dtest-some \
  -e REPEATED_UTEST_COUNT=100 \
  -e 
REPEATED_UTEST_CLASS=org.apache.cassandra.distributed.test.SSTableIdGenerationTest
 \
  -e DTEST_REPO=https://github.com/adelapena/cassandra-dtest.git \
  -e DTEST_BRANCH=CASSANDRA-15234
{code}
Note that this includes some repeated runs for the new 
{{{}SSTableIdGenerationTest{}}}, since we have a history of flaky dtests.


was (Author: adelapena):
Thanks, I'll take a look at the changes.

CI is having some issues due to the recent changes on CASSANDRA-15234 and CCM 
retagging. The workaround is pointing to a dtest repo with a patched CCM 
requirement. I have run CI with this workaround, let's hope we have better luck 
this time:
||Branch||CI||
|[trunk|https://github.com/adelapena/cassandra/tree/17048-trunk-review]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1294/workflows/f26243ac-e63d-4e23-8aef-eee2cdc2d773]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1294/workflows/401848c7-a492-4e21-b612-293786f9948a]|

The CircleCI config has been generated with:
{code:java}
.circleci/generate.sh -m \
  -e REPEATED_UTEST_TARGET=test-jvm-dtest-some \
  -e REPEATED_UTEST_COUNT=100 \
  -e 
REPEATED_UTEST_CLASS=org.apache.cassandra.distributed.test.SSTableIdGenerationTest
 \
  -e DTEST_REPO=https://github.com/adelapena/cassandra-dtest.git \
  -e DTEST_BRANCH=CASSANDRA-15234
{code}
Note that this includes some repeated runs for the new 
{{{}SSTableIdGenerationTest{}}}, since we have a history of flaky dtests.

> Replace sequential sstable generation identifier with UUID v1
> -
>
> Key: CASSANDRA-17048
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17048
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/SSTable
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
> Fix For: 4.1
>
>  Time Spent: 8h 10m
>  Remaining Estimate: 0h
>
> Replace the current sequential sstable generation identifier with ULID based.
> ULID is better because we do not need to scan the existing files to pick the 
> starting number as well as we can generate globally unique identifiers. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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



[jira] [Comment Edited] (CASSANDRA-17048) Replace sequential sstable generation identifier with UUID v1

2022-01-26 Thread Jacek Lewandowski (Jira)


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

Jacek Lewandowski edited comment on CASSANDRA-17048 at 1/26/22, 1:41 PM:
-

||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1276]|[j11 
(!)|https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/173/workflows/e90fa232-9af4-4088-b12b-d3f7d71934e1/jobs/877]


was (Author: jlewandowski):
||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1276]|[j11|https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/173/workflows/e90fa232-9af4-4088-b12b-d3f7d71934e1/jobs/877
 (!)]

> Replace sequential sstable generation identifier with UUID v1
> -
>
> Key: CASSANDRA-17048
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17048
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/SSTable
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
> Fix For: 4.1
>
>  Time Spent: 7.5h
>  Remaining Estimate: 0h
>
> Replace the current sequential sstable generation identifier with ULID based.
> ULID is better because we do not need to scan the existing files to pick the 
> starting number as well as we can generate globally unique identifiers. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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



[jira] [Comment Edited] (CASSANDRA-17048) Replace sequential sstable generation identifier with UUID v1

2021-12-03 Thread Benjamin Lerer (Jira)


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

Benjamin Lerer edited comment on CASSANDRA-17048 at 12/3/21, 9:07 AM:
--

One problem I see is with the current patch is that the existing tests will not 
check the use of the new identifier but the use of the old one.
We also probably need to also check the transistion from the sequential one to 
the UUID one.



was (Author: blerer):
On problem, I see is with the current patch is that the existing tests will not 
check the use of the new identifier but the use of the old one.
We also probably need to also check the transistion from the sequential one to 
the UUID one.


> Replace sequential sstable generation identifier with UUID v1
> -
>
> Key: CASSANDRA-17048
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17048
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/SSTable
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
> Fix For: 4.1
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Replace the current sequential sstable generation identifier with ULID based.
> ULID is better because we do not need to scan the existing files to pick the 
> starting number as well as we can generate globally unique identifiers. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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