On Fri, Jan 13, 2012 at 07:12, Andrey Stepachev <[email protected]> wrote:
> From: Andrey Stepachev <[email protected]>
>
> Hadoop always see wrong dates due of wrong timestamp calculation.
> Possibly fixes #1666.

Using coarse-grained timestamps might mask the problem in 1666. But it
would only work in certain circumstances such as when clock sync skew
is sufficiently small, and I think edge conditions would continue to
exist. A more robust solution is probably needed for #1666 :(

> Signed-off-by: Andrey Stepachev <[email protected]>
>
> ---
>  src/client/hadoop/CephFSInterface.cc |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> -  long long java_mtime(st.st_mtime);
> +  long long java_mtime(st.st_mtim.tv_sec);

mtime vs mtim: the later is non-portable?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to