Well, technically, the semantics are broker-specific.  For an example, take
a look at src/java/org/hypertable/DfsBroker/hadoop/HdfsBroker.java.
Everything before cb.response() or cb.response_ok() gets executed.

The append() method has a 'sync' flag that gets passed in.  If it is set to
true, then fsync() is called.  On HDFS, there is no fsync() (that I know
of), so this call is not made.

- Doug

On Mon, Dec 8, 2008 at 12:59 AM, Peter Braam <[EMAIL PROTECTED]> wrote:

>
> Hi -
>
> I have a question about the asynchronous API of the DFS broker,
> regarding the completion functions - e.g.
>
> create (const String &name, bool overwrite, int32_t bufsz, int32_t
> replication, int64_t blksz, DispatchHandler *handler)
>
> The documentation states that the DispatchHandler is called when the
> operation completes.  Does "completes" mean that modifications are
> persistent, or does it mean that the in-memory update in the file
> system is done and persistence can happen later?
>
> Thanks
>
> Peter
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to