jerryshao commented on code in PR #10913:
URL: https://github.com/apache/gravitino/pull/10913#discussion_r3199608313
##########
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/RoleMetaBaseSQLProvider.java:
##########
@@ -192,4 +193,20 @@ public String deleteRoleMetasByLegacyTimeline(
+ ROLE_TABLE_NAME
+ " WHERE deleted_at > 0 AND deleted_at < #{legacyTimeline} LIMIT
#{limit}";
}
+
+ public String touchRoleUpdatedAt(@Param("roleId") long roleId, @Param("now")
long now) {
+ return "UPDATE " + ROLE_TABLE_NAME + " SET updated_at = #{now} WHERE
role_id = #{roleId}";
Review Comment:
Shall we use the DB time rather than the JVM time as I mentioned before?
What is your consideration?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]