You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "empiredan (via GitHub)" <gi...@apache.org> on 2025/03/12 03:11:12 UTC

[PR] feat(make_idempotent): introduce new table-level APIs to meta servers to enable/disable/get idempotence for atomic writes [incubator-pegasus]

empiredan opened a new pull request, #2205:
URL: https://github.com/apache/incubator-pegasus/pull/2205

   (no comment)


-- 
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: dev-unsubscribe@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] feat(make_idempotent): introduce new table-level APIs to meta servers to list/control idempotence for atomic writes [incubator-pegasus]

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 commented on code in PR #2205:
URL: https://github.com/apache/incubator-pegasus/pull/2205#discussion_r1997484444


##########
src/meta/meta_service.h:
##########
@@ -289,6 +289,12 @@ class meta_service : public serverlet<meta_service>
     void on_get_max_replica_count(configuration_get_max_replica_count_rpc rpc);
     void on_set_max_replica_count(configuration_set_max_replica_count_rpc rpc);
 
+    // Get `atomic_idempotent` of an table.
+    void on_get_atomic_idempotent(configuration_get_atomic_idempotent_rpc rpc);
+
+    // Set `atomic_idempotent` of an table.

Review Comment:
   ```suggestion
       // Set `atomic_idempotent` of a table.
   ```



##########
src/meta/server_state.h:
##########
@@ -200,6 +203,12 @@ class server_state
     void set_max_replica_count(configuration_set_max_replica_count_rpc rpc);
     void recover_from_max_replica_count_env();
 
+    // Get `atomic_idempotent` of an table.
+    void get_atomic_idempotent(configuration_get_atomic_idempotent_rpc rpc) const;
+
+    // Set `atomic_idempotent` of an table.

Review Comment:
   ```suggestion
       // Set `atomic_idempotent` of a table.
   ```



##########
src/meta/meta_service.h:
##########
@@ -289,6 +289,12 @@ class meta_service : public serverlet<meta_service>
     void on_get_max_replica_count(configuration_get_max_replica_count_rpc rpc);
     void on_set_max_replica_count(configuration_set_max_replica_count_rpc rpc);
 
+    // Get `atomic_idempotent` of an table.

Review Comment:
   ```suggestion
       // Get `atomic_idempotent` of a table.
   ```



##########
src/meta/server_state.h:
##########
@@ -200,6 +203,12 @@ class server_state
     void set_max_replica_count(configuration_set_max_replica_count_rpc rpc);
     void recover_from_max_replica_count_env();
 
+    // Get `atomic_idempotent` of an table.

Review Comment:
   ```suggestion
       // Get `atomic_idempotent` of a table.
   ```



-- 
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: dev-unsubscribe@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] feat(make_idempotent): introduce new table-level APIs to meta servers to list/control idempotence for atomic writes [incubator-pegasus]

Posted by "empiredan (via GitHub)" <gi...@apache.org>.
empiredan merged PR #2205:
URL: https://github.com/apache/incubator-pegasus/pull/2205


-- 
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: dev-unsubscribe@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org