dpol1 commented on issue #3013:
URL: https://github.com/apache/hugegraph/issues/3013#issuecomment-4380310057
Thanks @dosu, this matches my understanding.
The important point is that the write path stores `Userdata.CREATE_TIME`
as a real `java.util.Date`, but the backend read paths deserialize userdata
into a raw `Map`, so the formatted timestamp is never converted back to `Date`.
I agree the fix should probably be centralized if possible, rather than
repeated independently in every serializer: after deserializing userdata,
normalize the internal `Userdata.CREATE_TIME` entry from `String` back to
`Date`.
This also explains why the issue existed before #3011 but became easier to
observe with cross-JVM schema-cache invalidation: remote nodes are forced to
reload schema from backend storage instead of reusing the publishing JVM's
in-memory schema object.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]