You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "chibenwa (via GitHub)" <gi...@apache.org> on 2023/09/04 09:28:25 UTC

[GitHub] [james-project] chibenwa opened a new pull request, #1711: JAMES-3937 POC hashs for Thread lookup

chibenwa opened a new pull request, #1711:
URL: https://github.com/apache/james-project/pull/1711

   https://issues.apache.org/jira/browse/JAMES-3937
   
   TODO:
    - [ ]  Fix tests
    
   Cc @quantranhong1999 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] chibenwa closed pull request #1711: JAMES-3937 POC hashs for Thread lookup

Posted by "chibenwa (via GitHub)" <gi...@apache.org>.
chibenwa closed pull request #1711: JAMES-3937 POC hashs for Thread lookup
URL: https://github.com/apache/james-project/pull/1711


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] chibenwa commented on a diff in pull request #1711: JAMES-3937 POC hashs for Thread lookup

Posted by "chibenwa (via GitHub)" <gi...@apache.org>.
chibenwa commented on code in PR #1711:
URL: https://github.com/apache/james-project/pull/1711#discussion_r1315410602


##########
mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/CassandraMailboxManagerTest.java:
##########
@@ -875,10 +863,7 @@ private CassandraThreadLookupDAO threadLookupDAO(CassandraCluster cassandraClust
         }
 
         private Mono<Void> saveThreadData(Username username, Set<MimeMessageId> mimeMessageIds, MessageId messageId, ThreadId threadId, Optional<Subject> baseSubject) {
-            return threadDAO(cassandra.getCassandraCluster())
-                .insertSome(username, mimeMessageIds, messageId, threadId, baseSubject)
-                .then(threadLookupDAO(cassandra.getCassandraCluster())
-                    .insert(messageId, username, mimeMessageIds));
+            return Mono.empty();

Review Comment:
   Yes



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] Arsnael commented on a diff in pull request #1711: JAMES-3937 POC hashs for Thread lookup

Posted by "Arsnael (via GitHub)" <gi...@apache.org>.
Arsnael commented on code in PR #1711:
URL: https://github.com/apache/james-project/pull/1711#discussion_r1315359694


##########
mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/CassandraMailboxManagerTest.java:
##########
@@ -875,10 +863,7 @@ private CassandraThreadLookupDAO threadLookupDAO(CassandraCluster cassandraClust
         }
 
         private Mono<Void> saveThreadData(Username username, Set<MimeMessageId> mimeMessageIds, MessageId messageId, ThreadId threadId, Optional<Subject> baseSubject) {
-            return threadDAO(cassandra.getCassandraCluster())
-                .insertSome(username, mimeMessageIds, messageId, threadId, baseSubject)
-                .then(threadLookupDAO(cassandra.getCassandraCluster())
-                    .insert(messageId, username, mimeMessageIds));
+            return Mono.empty();

Review Comment:
   I guess should remember to put those back and fix it correct?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org