FewJuho commented on code in PR #11597:
URL: https://github.com/apache/ignite/pull/11597#discussion_r1803828307


##########
modules/core/src/main/java/org/apache/ignite/spi/systemview/view/SnapshotView.java:
##########
@@ -143,6 +147,14 @@ public String type() {
         return type.name();
     }
 
+    /**
+     *  @return Creation timestamp in milliseconds since Unix epoch.
+     */
+    @Order(7)
+    public Long creationTimeMillis() {
+        return creationTimeMillis != null && creationTimeMillis != 0 ? 
creationTimeMillis : null;

Review Comment:
   it can be null in case of backward compatibility. when SnapshotView tries to 
output outdated snapshot without creationTime metadata this field stores zero 
value and it should be prints as null 



-- 
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]

Reply via email to